[Fluxus] lighting the inside of a sphere

Dave Griffiths dave at pawfal.org
Mon Nov 12 01:10:14 PST 2007


>
> i'm trying to light the inside of a sphere, but can't figure out how to
> disable the default light. is this possible? with the default light on i
> get a big white circle in the centre that i would like to avoid.

the camera light is 0, so you can do something like:
(light-diffuse 0 (vector 0 0 0))

> i also had to invert the normals of the sphere to see the inside. is it
> possible to make the polygons double sided somehow?

I've done this in the past by negative scaling a sphere inside a normal
one and grouping them under a locator - should work for most things.

good to see use of with-primitive and pdata-map! :)

cheers,

dave




More information about the Fluxus mailing list