Page 1 of 6

CCloudSceneNode - clouds with levels of detail

Posted: Sun Jul 10, 2005 12:24 pm
by bitplane
My second custom scene node attempt- a cloud node that supports recursive levels of detail 8)

more info here

if you want more detail, cloudnode->setLOD(10)
keep setMaxDepth pretty low, or risk stack overflows (adding children is recursive)
particle affectors are not supported yet, and its cpu and gpu intensive up close!

if someone wants to make nice cloud generating functions, post them here and I'll add them in. a cloud editor would be ideal, but until then you've got one ugly cloud to play with!

Thanks to mm765 for helping me on irc :)

Enjoy!

Posted: Sun Jul 10, 2005 1:14 pm
by niko
Looks nice. With another skybox (without painted clouds on it) and white clouds instead of black ones, the demo would look a lot more impressive.

Posted: Sun Jul 10, 2005 2:06 pm
by dawasw
Very Nice !

Posted: Mon Jul 11, 2005 1:17 am
by brc-not-logged
I saw this on IRC and really liked it, but I feel your not doing it justice. For the demo you should have a blue sky box with a few clouds and no mountains, then make a small terrain scene node and then put white clouds so we can see what it looks like from the players point of view :D

Posted: Mon Jul 11, 2005 5:28 am
by bitplane
glad to see you all like it :)
looks like everyone won't be happy til they see white fluffy ones eh? :)

A new random cloud is now generated after the last one has rotated 180 degrees.

Image

I can't get it working in irrlicht 0.11 though, the same thing happens as when a mesh isn't on the screen in 0.10. anyone have any idea what that might be?

I'm debugging again, so I didn't bother putting a terrain in there yet. I'll post an update when I've got them rolling over a landscape :)

Posted: Fri Jul 15, 2005 4:10 am
by bitplane
okay, here it is... faster than before but still a cpu hog.

Image

much nicer eh? I updated the demo :)

oh yeah, irr 0.10 only because of the alpha bug.. roll on 0.12 :D

Posted: Fri Jul 15, 2005 4:13 am
by omaremad
that last shot looks real photo :wink:

would be better if u didnt make it such a cold rainy day

just joking

Posted: Fri Jul 15, 2005 6:16 pm
by puh
Very promising! Is it possible linear movement of the [infinite] clouds not rotation?

Posted: Fri Jul 15, 2005 10:00 pm
by Robomaniac
very Very nice :)

Posted: Sat Jul 16, 2005 8:31 am
by etcaptor
I like it and will waiting for a new updates.
@bitplane, by me your class can be used not only for clouds, but and for some another effects :D

Posted: Sat Jul 16, 2005 8:43 am
by niko
Wow, the new demo really is impressive. Time for a flight simulator using irrlicht :)

Posted: Sat Jul 16, 2005 7:47 pm
by Cleves
I can't download the source from some reason. I think the download is dead.

Posted: Sat Jul 16, 2005 7:58 pm
by bal
I'd love to see this in action but the archive is corrupt here.

Posted: Sat Jul 16, 2005 8:50 pm
by MikeR
Since people are having problems with the download,
I have mirrored it.
download rar format
download zip format

Posted: Sun Jul 17, 2005 1:48 pm
by Cleves
Thanks for mirroring it:)