Any help creating a disco ball?

Started by
1 comment, last by Fruny 19 years, 4 months ago
Found some refernces to create a 3D Texturs lightmap? I'm tying to create a disco ball and found sime references to an example from the SIGGRAPH conferences but can't find the file anywhere. :-( (lightmap3d.c) Thanks for any help guys... -Adam
-Adam===================www.onecircuit.com===================
Advertisement
A bit of a hack:
You could try to spheremap a sphere. The trick is to make the face normals ortho to each of the triangles (an easy way to do this is cross product at load time). The only problem with this approach is that you dont get the rays eminating from the ball (it just looks like a reflection). If you want the rays, you could draw the ball several times at increasing scale with reduced alpha (kinda like fins and shells).

Cheers,
- llvllatrix
Crosspost
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan

This topic is closed to new replies.

Advertisement