Beta release 1.9.7b

All topics about ZGameEditor goes here.

Moderator: Moderators

User avatar
y offs et
Posts: 418
Joined: Wed Apr 22, 2009 4:26 pm
Location: BC, Canada

Post by y offs et »

This may be unrelated. When I toggle from mipmap - nearest -linear, the background bitmapFromFile shifts slightly to the right(1 pixel?), and then back again.
User avatar
y offs et
Posts: 418
Joined: Wed Apr 22, 2009 4:26 pm
Location: BC, Canada

Post by y offs et »

Happened to notice a 5/1 update editor. Tried it. Don't think you are going in the right direction. Seems less functional. I'm staying with the 4/30 for now.
User avatar
VilleK
Site Admin
Posts: 2382
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

The May 1st beta should behave the same as April 31 with the ATI-problem because I've only added things regarding the BitmapCells-component.

Did some more googling. The latest drivers seems to be 9.4. Is that what you are using?

http://game.amd.com/us-en/drivers_catalyst.aspx

I will examine the images you PMd me, hopefully they will help me identify the error.

Anyone else here have an ATI-card?
User avatar
y offs et
Posts: 418
Joined: Wed Apr 22, 2009 4:26 pm
Location: BC, Canada

Post by y offs et »

downloading now
.
interesting...through AMD front door and following path for my card ends at 9.3...it irks me when they call x1650 "legacy"...1 1/2 years ago it was slightly discounted because they were hyping x3000 or something like...it's got 1/4 meg on card memory
.
I'm not powering a super size lcd monitor, nor am I playing the latest on-line games, nor am I downloading movies or music. So I am stoutly resisting offers from my ISP to get high-speed internet- I have no use for it. My download speed is usually 27.3kb/sec. This current download is coming at 28-31kb/sec. It's obviously being pushed by a high speed network, and being throttled (but not completely successfully) by my ISP.

edit- As I expected, there was no change to my configuration after installation. Obviously for higher end cards...I'll leave it, doesn't seem to be hurting anything.
User avatar
VilleK
Site Admin
Posts: 2382
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

New May 2 beta. Now I render the bitmap preview using OpenGL just like in 1.9.6 version. This also makes the different filter settings visible in the preview again.
User avatar
y offs et
Posts: 418
Joined: Wed Apr 22, 2009 4:26 pm
Location: BC, Canada

Post by y offs et »

The problem appears to be solved.
User avatar
VilleK
Site Admin
Posts: 2382
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

I'm glad we seem to have solved the ATI-problem.

Beta updated today.

- preview a single node in the bitmap graph by right-click and select "Preview" or press "S" when a node i selected. Click on the area outside a node to go back to previewing the whole bitmap.
- middle mouse button can be detected in keypress using "|" character
kattle87
Posts: 402
Joined: Wed Sep 26, 2007 9:06 am
Location: Italy

Post by kattle87 »

first bug report aobut the new preview :D
It's AWESOME, but I suggest you rework the "S" key binding since now it's not possible to write that character into the BitmapExpression editor ^^
For me it will be fine even if we unbind it and keep it only the right-click option. ;) See what you can came up with!

Really, really nice work!!!
In the fall of 1972 President Nixon announced that the rate of increase of inflation was decreasing. This was the first time a sitting president used the third derivative to advance his case for reelection.
-=Hugo Rossi=-
User avatar
jph_wacheski
Posts: 1005
Joined: Sat Feb 16, 2008 8:10 pm
Location: Canada
Contact:

Post by jph_wacheski »

yes this really does make working with the graph much easy! cheers.
my preferance for Preview Select Focus would still be, just whatever node is double clicked on,. no keyboard or right menu, pure and simple. i did notice a sorta bug with that, if you load a bitmap that is set to Mipmap the clicking in non-node space just don't seem to work,. however, clicking on no node is sorta not needed just 'preview' the last node,. thus my preferance for the dubla' click ;)

mmb is also ++goodly!
iterationGAMES.com
User avatar
VilleK
Site Admin
Posts: 2382
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Oops, missed that thing about the S-key :lol:

Ok new version today. Click twice to preview as JPH suggestion. Also clicking outside nodes should work better because previously the clickable area could be smaller than the parent box.
Also made minor speed-improvement to multi-pass blur. Hope it doesn't break anything.
kattle87
Posts: 402
Joined: Wed Sep 26, 2007 9:06 am
Location: Italy

Post by kattle87 »

Nice Ville! for what concerns the blur speed improvement.... it seems to me it being really marginal :( I tested it and it was like... uhm... 0.5% improvement. If code is clearer for you it's fine, otherwise I don't know if I would personally keep the changes.
I think that the time wasted by store&loading variables is almost nothing compared to computational time. I promise I will try to optimize it a little by following the black pawn tutorial at the beginning of the next week.
I had not made it yet since I have an exam tomorrow and another one friday ^^.
In the fall of 1972 President Nixon announced that the rate of increase of inflation was decreasing. This was the first time a sitting president used the third derivative to advance his case for reelection.
-=Hugo Rossi=-
User avatar
VilleK
Site Admin
Posts: 2382
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

I noticed a 5-10% speedup on large bitmaps but it is also dependent on the graphics driver because previously it took a turnaround to the GPU between each pass, in the updated version that is no longer necessary.

In theory there shouldn't be any per-pixel operations in CPU these days, it should all be implemented on the GPU. But that would make shaders required. Even the new Pixel Bender functionality in Flash is software based at the moment because they do not want to rely on GPU shader-support since the Flash player should work on any hardware.

So we can try to improve performance with better algorithms. Fewer calculations if that is possible. One more approach is to rearrange the algorithm so that it processes no more data that fits inside the CPU data-cache. So assuming 256kb cache the loop would fully process 16k (256kb / 16 bytes per pixel) pixels at a time. That complicates the code but it could be worth a try to see what kind of speedup it makes.
kattle87
Posts: 402
Joined: Wed Sep 26, 2007 9:06 am
Location: Italy

Post by kattle87 »

This could be a good way to speed-up the Cells components since that would be pretty easy to do. I see it really harder for "global" components like the blur component. What I was wondering is: can we use some OpenGL features to get some work done? EG: the light component ^^ we got a working shader, what can we do with that?
In the fall of 1972 President Nixon announced that the rate of increase of inflation was decreasing. This was the first time a sitting president used the third derivative to advance his case for reelection.
-=Hugo Rossi=-
kattle87
Posts: 402
Joined: Wed Sep 26, 2007 9:06 am
Location: Italy

Post by kattle87 »

At SVN revision 88 I get a not-so-loveable "Class TPaintBox not found" exception and the whole crashes... Is this something temporary?

Edit: I just discovered that the same problem was from rev 85 onwards... The one with the preview :(

What can be done to solve the problem easily? Apart from getting the 2007 RAD studio ;)
In the fall of 1972 President Nixon announced that the rate of increase of inflation was decreasing. This was the first time a sitting president used the third derivative to advance his case for reelection.
-=Hugo Rossi=-
User avatar
VilleK
Site Admin
Posts: 2382
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Fixed that problem now. The mainform was not in sync with the latest updates to the bitmap-editor.
Post Reply