playing around

posted in Adventures in 3D
Published July 25, 2005
Advertisement
shields with particles


and because you can never have enough screenshots, 'heres one I made earlier', a snap of my CCloudSceneNode class in action

I'm proud of them, they're awesome. I even got featured on Niko's blog. Now thats fame for ya!
There's a demo here
Previous Entry Just signed up
0 likes 3 comments

Comments

TraderJack
Pretty sweet, man.

-IV
July 25, 2005 08:49 AM
choffstein
Looks good mate. How is it done? Do the clouds animate? Are they billboarded sprites or something?
July 25, 2005 09:44 AM
bitplane
Okay, you asked for it!
waffle {
I start off with an array of 'cloud' structures, the numer of parent clouds is supposed to be quite a small so they can be blown around or whatever. Each parent node can have child clouds set by their childcount, childscale and firstchild. Children can also have children, so to avoid infinite recursion there's a variable for maximum depth and another for level of detail.

At render time I create a list of visible clouds (I need to add culling here), calculate the distance from the camera, sort them, fill a vertex buffer with the billboards and draw as a single texture. All pretty CPU intensive stuff.

Each cloud has its own colour, but Irrlicht doesn't have a material that supports transparrent texture alpha and vertex alpha together, so there's LOD popping instead of fading in nicely.
You can rotate and move the entire scene node, and manipulate all the nodes in the list individually (which isn't practical for children).

The source code was built on Irrlicht's particle system, and works with Irrlicht 0.10 and Dev-C++ under Windows or Linux.
};

Here's a video
July 25, 2005 02:28 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

grass

863 views

Growing plants

823 views

turrets demo

807 views

not much to report

799 views

just a screenshot

715 views

playing around

799 views

Just signed up

821 views
Advertisement