Tuesday, May 25, 2010

Stardust Supports Flare3D



View example



View example

Stardust project homepage
(example source can be found on the project homepage)

You heard it. Stardust Particle Engine now supports Flare3D, a brand new 3D engine just released a couple of days ago. Awesome!

Flare3D includes a 3DS Max exporter that can export much, much more than just mesh data, such as complex materials (environment map, texture map, etc), animations, and bone animations. For the first example, I exported the star model and gold material entirely in 3DS Max, and the data can be correctly rendered in Flare, without writing a single line of code. The Flare3D team really has the love for 3DS Max users :)

The Flare3D extension for Stardust mainly consists of three initializers, Flare3DPivot3DClass, Flare3DPivot3DClone, Flare3DSprite3D, and two renderers, Flare3DPivot3DRenderer, and Flare3DSprite3DRenderer.

The Flare3DPivot3DClass and Flare3DPivot3DClone initializers work pretty much like the original DisplayObjectClass initializer, only that they assign Pivot3D objects from Flare3D to the Particle.target property, and they have to be used along with the Flare3DPivot3DRenderer. The first initializer creates new Pivot3D objects from a reference to a Pivot3D subclass, while the second initializer creates Pivot3D objects by cloning an existing one. The Flare3DSprite3D initializer creates 3D sprites and has to be used with the Flare3DSprite3DRenderer.

I hope you enjoy playing Stardust with Flare3D :)

1 comment:

katopz@sleepydesign.com said...

you're too fast man! i should beat you next time heehee ;)