Page 4 of 6
Posted: Fri May 01, 2009 4:58 pm
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.
Posted: Fri May 01, 2009 7:16 pm
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.
Posted: Fri May 01, 2009 7:35 pm
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?
Posted: Fri May 01, 2009 8:49 pm
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.
Posted: Sat May 02, 2009 12:30 pm
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.
Posted: Sat May 02, 2009 3:36 pm
by y offs et
The problem appears to be solved.
Posted: Mon May 04, 2009 2:20 pm
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
Posted: Mon May 04, 2009 3:51 pm
by kattle87
first bug report aobut the new preview

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!!!
Posted: Mon May 04, 2009 4:00 pm
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!
Posted: Tue May 05, 2009 12:58 pm
by VilleK
Oops, missed that thing about the S-key
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.
Posted: Tue May 05, 2009 3:23 pm
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 ^^.
Posted: Tue May 05, 2009 4:01 pm
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.
Posted: Tue May 05, 2009 4:13 pm
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?
Posted: Wed May 06, 2009 5:06 pm
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

Posted: Wed May 06, 2009 6:32 pm
by VilleK
Fixed that problem now. The mainform was not in sync with the latest updates to the bitmap-editor.