[Fluxus] quick question about being inside a sphere

Dave Griffiths dave at pawfal.org
Thu Jan 22 05:42:13 PST 2009


On Thu, 2009-01-22 at 13:53 +0100, gabor papp wrote:
> > Quick question - I'm trying to draw a massive sphere (scale of 30 or
> > so) with a texture on it and put the camera inside it, but when I'm
> > inside it all is black.
> try (backfacecull 0), or
> use (scale -30) which reverses the winding order and culling. you have
> to invert the normals also to make lighting work properly.

You can also use (hint-cull-cw) if you don't want to see the nearest
side of the sphere, and also (hint-unlit) can be useful instead of
reversing the normals. There are many ways to skin this cat - some docs
in the manual coming up.

cheers,

dave




More information about the Fluxus mailing list