Search found 25 matches

by alphanimal
Sun Jan 22, 2012 8:31 pm
Forum: ZGameEditor Visualizer
Topic: JPH, Ville - help with user bitmaps Import help for a script
Replies: 44
Views: 79929

Thanks for wrapping that up! :)
by alphanimal
Fri Jan 20, 2012 6:17 pm
Forum: ZGameEditor Visualizer
Topic: JPH, Ville - help with user bitmaps Import help for a script
Replies: 44
Views: 79929

impressive :) though I have no idea what's going on here. Can you explain what steps are carried out in the OnRender node? Why did you switch to a Mesh instead of the DisplayList (whatever that is) What's this about: glMatrixMode(0x1700); glPushMatrix(); glLoadIdentity(); What's going on in the Buff...
by alphanimal
Thu Jan 19, 2012 6:25 pm
Forum: ZGameEditor Visualizer
Topic: JPH, Ville - help with user bitmaps Import help for a script
Replies: 44
Views: 79929

indeed I'm lost :) In the example above... How do the variables tex1 get to the shader? It's declared but never assigned anything (unlike the coord var). I can imagine how it works though. texture() reads color information from the texture tex1, but where is it defined that my Bitmap that's assigned...
by alphanimal
Wed Jan 18, 2012 8:33 pm
Forum: ZGameEditor Visualizer
Topic: JPH, Ville - help with user bitmaps Import help for a script
Replies: 44
Views: 79929

Haven't looked at your effect closely, but you're probably going to end up with at least two FBO's ( RenderTarget ) between which you "ping-pong" double buffer style. One containing the results for the current frame, the other for the previous frame. OK thanks! Can you give me some exampl...
by alphanimal
Wed Jan 18, 2012 5:22 pm
Forum: ZGameEditor Visualizer
Topic: JPH, Ville - help with user bitmaps Import help for a script
Replies: 44
Views: 79929

OK thanks that's useful!

How can I store float (or fixed if necessary) variables for each vertex?
by alphanimal
Wed Jan 18, 2012 5:05 pm
Forum: ZGameEditor Visualizer
Topic: JPH, Ville - help with user bitmaps Import help for a script
Replies: 44
Views: 79929

Also I'd need to access FL's data from the shader (Parameters, BandSpecArray and AudioArray)

I guess that's done through the UniformVariables node?

Also I need some functions to calculate stuff: atan2, sqrt, floor, clamp
Are these available in shader code?
by alphanimal
Wed Jan 18, 2012 5:01 pm
Forum: ZGameEditor Visualizer
Topic: JPH, Ville - help with user bitmaps Import help for a script
Replies: 44
Views: 79929

Hi guys, Kjell did an excellent job on the basic shader for this. You should be able to figure it out from there. That's probably a little optimistic :roll: Since ZGE doesn't support floating-point buffers ( it actually does internally for the GPU Array, but it's not exposed anywhere in the Editor ...
by alphanimal
Wed Jan 18, 2012 7:53 am
Forum: ZGameEditor Visualizer
Topic: JPH, Ville - help with user bitmaps Import help for a script
Replies: 44
Views: 79929

That is awesome guys

Can't look into it now (I'm kinda busy during the week) but will asap.

You think it's possible to implement my physics code into that and it's gona run a quadrillion times faster?
by alphanimal
Mon Jan 16, 2012 11:42 pm
Forum: ZGameEditor Visualizer
Topic: JPH, Ville - help with user bitmaps Import help for a script
Replies: 44
Views: 79929

Can you explain in short terms how to implement a shader?
by alphanimal
Sun Jan 15, 2012 5:38 pm
Forum: ZGameEditor Visualizer
Topic: JPH, Ville - help with user bitmaps Import help for a script
Replies: 44
Views: 79929

This from the IL thread: I did some performance tweaks, but it doesn't help much. accessing arrays seems to be quite CPU intensive in ZGE. From Ville : Parameters can bring performance down slightly but it sounds a bit extreme to bring fps to half. Quick tip is to use local vars. For instance if you...
by alphanimal
Sun Jan 15, 2012 4:13 pm
Forum: ZGameEditor Visualizer
Topic: JPH, Ville - help with user bitmaps Import help for a script
Replies: 44
Views: 79929

Hey guys! I added parameters to the pixel particles and created another preset meanwhile... (for those of you that aren't following the thread at IL) http://www.youtube.com/watch?v=kosmsJ1GxLM http://www.youtube.com/watch?v=VCe7RtEz3BA I have some issues with the pixel particles: 1. would it be poss...
by alphanimal
Mon Jan 09, 2012 3:14 pm
Forum: ZGameEditor Visualizer
Topic: Improvements for ZgeViz
Replies: 3
Views: 14965

Indeed it keeps things simple to add and change things, but then ZgeViz should be still alpha or beta version. I think if it is a full version it should be "finished". But the UI is the least of my problems :) Fixing the focus issues or threaded processing would be much more useful... cheers
by alphanimal
Sun Jan 08, 2012 7:44 pm
Forum: ZGameEditor Visualizer
Topic: JPH, Ville - help with user bitmaps Import help for a script
Replies: 44
Views: 79929

Yeah thanks I got it sorted out. 1. I didn't remember where I stored the old version. 2. Windows doesn't let you change the program in control panel if the name of the exe file is the same apparently. I fixed it with regedit (HKEY_CLASSES_ROOT\zgeproj_auto_file\shell\open\command) Still an installer...
by alphanimal
Sun Jan 08, 2012 6:47 pm
Forum: ZGameEditor Visualizer
Topic: Improvements for ZgeViz
Replies: 3
Views: 14965

Improvements for ZgeViz

Hi! Working with ZgeViz recently I discovered some things that could be improved: - the "Stay on top" checkbox in the viewport window is not working like I expect it to. When enabled, as soon as you focus another non-FL window it jumps in the background. The best solution, if possible, wou...
by alphanimal
Sun Jan 08, 2012 6:17 pm
Forum: ZGameEditor Visualizer
Topic: JPH, Ville - help with user bitmaps Import help for a script
Replies: 44
Views: 79929

Thanks guys! I think I'll use this thread/forum here from now on :) I will check out the user bitmap loading and adding parameters. Right now I have a bit of a Windows problem I think. When I double click a zgeproj file in Explorer, it opens it with an old version. It seems impossible to change the ...