Horde3D
http://horde3d.org/forums/

Fire simulation
http://horde3d.org/forums/viewtopic.php?f=2&t=431
Page 1 of 1

Author:  newbie3D [ 18.07.2008, 09:18 ]
Post subject:  Fire simulation

hi guys,

I want to simulate a little fire, says, a candle light.
I'm going to use a Particle system to simulate the light (at the moment I don't care the shadow it casts and actually it's not a light source). But the problem is the particle system emits its particles almost everywhere (I don't want such an effect).

could anyone share the experience with this?

another point, I don't know why I can't see my cursor when I switch to full-screen mode. anyone could help?

Author:  swiftcoder [ 18.07.2008, 14:12 ]
Post subject:  Re: Fire simulation

newbie3D wrote:
I don't know why I can't see my cursor when I switch to full-screen mode. anyone could help?
Hardware cursors in fullscreen can be a very sticky business on some platforms, and most games render their own cursor anyway. Just grab the mouse location every frame, and render a sprite there.

Author:  lachlanmcdowall [ 19.07.2008, 23:45 ]
Post subject:  Re: Fire simulation

in the scene file set the spreadAngle property to something fairly low ie 20-30 probably
give a little bit of force up in the y as well, but keep it all fairly slow except if you want sparks or an exploshion effect

you probably want to have a few emitters as well, one with smaller faster particles which have a large spread value for sparks and then one with bigger slower moving and lower spread value for the actual flame.

With particles you really need to play with them there isn't really any other way to get them how you want them. The more you work with them the faster you will get what you want but just keep altering the scene and effects files

hope this helps

Author:  newbie3D [ 21.07.2008, 03:38 ]
Post subject:  Re: Fire simulation

Does anyone know the accepted range of lifeMin and lifeMax in ParticleConfig (in the effect xml file)?
Actually, when I change these values to something small (for e.g 0.1 and 0.2), the program encounters a exception.
(no exception met if I escape the program without doing some WASD key-strokes)

Author:  Volker [ 21.07.2008, 06:44 ]
Post subject:  Re: Fire simulation

Can't reproduce that! In which line did the exception occure?

Author:  newbie3D [ 21.07.2008, 09:27 ]
Post subject:  Re: Fire simulation

That's my fault :oops:
It's not because of the parameters in effect files.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/