Horde3D

Next-Generation Graphics Engine
It is currently 29.03.2024, 05:59

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Animated Particle
PostPosted: 03.11.2010, 21:23 
Offline

Joined: 29.10.2010, 14:28
Posts: 46
Location: Hungary
I added a small feature into the engine: (UV) Animated particles.
If someone ask, i can share the code. Here is an animated fire effect:
http://anchor.netexpert.hu/temp/misc/rts_unit_editor%202010-11-10%2018-24-06-14.mp4
And one more thing born: Per node shadow-cast on/off setting. / h3dSetNodeShadowCast(H3DNode,bool) /


Last edited by anchor on 10.11.2010, 18:42, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Animated Particle
PostPosted: 03.11.2010, 22:35 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
Very nice! I assume you use some kind of flipbook texture (tex atlas where you modify uv coordinates to jump to the next tile) for the animation?

Which version of Horde are you using? We recently introduced node flags in the svn trunk with which you can disable shadow casting for a specific node. If you still use Beta4, I would definitely recommend to switch to the latest svn trunk as there are a lot of good improvements.


Top
 Profile  
Reply with quote  
 Post subject: Re: Animated Particle
PostPosted: 04.11.2010, 19:09 
Offline

Joined: 29.10.2010, 14:28
Posts: 46
Location: Hungary
Yes, You can use textures like this:
Image

And the emitter got these new parameters:
uvx,uvy,fps,killAtAnimEnd.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 35 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group