Mail Archives: djgpp/1997/04/02/22:46:13
ellman AT xs4all DOT nl wrote:
> PS. I've just written some code to draw a sphere lit from a single lightsource,
> but it's too slow, and I think there may be a way better than the one I've
> used. I will use this code to experiment with Z buffering before I have a go at
> adding it to Allegro's polygons. Is anyone interested? Also, does anyone have
> any ideas on texture-mapping spheres?
Well,
1) How did you produce the sphere? I was thinking how the **** you can
automatically make one, like give it the center ,radius, number of
"stripes" and then it builds itself. But no luck so far...
2) About textures..that seems a tough one. Thinking you'll have dozens
or hundreds of polys in a sphere you'll gonna have to find a smart algo
to texturing it... Something like Quake's skins? (like you have a single
bitmap for the guy and the engine will know how to wrap it up around
him..)
> --
> Andrei Ellman - URL: http://www.xs4all.nl/~ellman/ae-a - ae1 AT york DOT ac DOT uk
> "All I wanna do is have some fun :-) || ae-a AT minster DOT york DOT ac DOT uk
> I've got the feeling I'm not the only one" || mailto:ellman AT xs4all DOT nl
> -- Sheryl Crow :-) || It's what you make of it.
--
tudor 'at' cam 'dot' org
http://www.cam.org/~tudor
'This is Scott Nudds of the Borg. C is irrelevant.'
- Raw text -