Hi Justin

> > lightning on/off? I've searched through all the Appearance
> > nodes and couldn't find anything which sounded like it would do
> > the trick?
>
> There is no direct way of doing 2 faced lighting in J3D. To do this (we
> needed it for the VRML spec) you have to play with the rendering
> attributes. Firstly tell it to not do back-face culling and then also
You mean PolygonAttributes :). But thanks for your answering I really
first thought there would be a simple flag to enable this. (Maybe a
possible future enhancement (?)).

> set the normal flip to true. The effect is that you now have a polygon
> that is always visible and is correctly lit.
I added these lines to my code seems to work fine! Though with the test
model I can't really tell a big difference have to check some other models
I guess.

Thanks!


EOF,
 J.D.

--
Jmark2k+1 (http://www.antiflash.net/jmark)
Test the performance of your PC online!

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to