Flint Particle System Forum - flint in papervision scene2010-12-25T18:14:31+00:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
flint in papervision scenehttp://flintparticles.org/forum/comments.php?DiscussionID=290&Focus=1016#Comment_10162009-12-17T08:06:49+00:002010-12-25T18:14:31+00:00digijinhttp://flintparticles.org/forum/account.php?u=290
I'm trying to add particle effects to a 3d papervision game im making and I am trying to figure out how to use particles in a scene with objects. I have seen a lot of examples about flint in pv3d but ...
is there any examples of people using flint to make particles in a scene with papervision objects in it? like a box on fire or something, just so I can see how to use the renderer with the scene, because from the examples i've seen i cant figure out how.
thanks for your time!]]>
flint in papervision scenehttp://flintparticles.org/forum/comments.php?DiscussionID=290&Focus=1029#Comment_10292010-01-05T14:07:43+00:002010-12-25T18:14:31+00:00Richardhttp://flintparticles.org/forum/account.php?u=1
Hi
Flint's Papervision renderers don't actually draw any objects - the name is a bit of a misnomer. However, they are responsible for ensuring that the particles are drawn correctly. The flint ...
Flint's Papervision renderers don't actually draw any objects - the name is a bit of a misnomer. However, they are responsible for ensuring that the particles are drawn correctly. The flint renderer takes a DisplayObjectContainer3D as a parameter in its constructor. Then, whenever flint creates a particle, the renderer adds an object (an instance of the particle's image) to this DisplayObjectContainer3D. And every frame thereafter, the renderer updates the position, rotation etc. of this image to reflect the position, rotation etc. of the particle. So the image object becomes a representation of the particle in the 3D scene. It's still up to papervision to draw the scene, using a viewport etc.
So all Flint is doing is creating some 3D objects, adding them to the scene, and managing their state. Everything else is up to the Papervision3D engine.