See what's going on with flipcode!




 


Submitted by , posted on 24 December 2002



Image Description, by


The image speaks for itself, but I will go into a few details about the specifics of what I did.

I created a self-subdividing triangle class that splits into 9 triangles every time it divides. So every succesive LOD has 9^n triangles in it.

That was way to much for my pokey laptop and video card to handle at first, so I did a little hack-job wherein the triangles would not subdivide if they were facing away from the camera.

This resulted in a little bit of popping, but the end effect is mediocre so I left it in.

At any rate I created a sphere of points and then crafted the triangles from them, and assigned one triangle instance per sphere triangle.

Then as the user moves closer, the triangles subdivide and create the landscape.

And there you have it, my prototype space-to-planet landing engine.

Cheers!

Rye Terrell



[prev]
Image of the Day Gallery
www.flipcode.com

[next]


 


Copyright 1999-2008 (C) FLIPCODE.COM and/or the original content author(s). All rights reserved.
Please read our Terms, Conditions, and Privacy information.