Hi Toni,

On Wed, 2005-10-26 at 16:11 +0200, Antonio Bleile wrote:
> Hi,
> 
> I'm using a SimpleSceneManager for my
> OpenSG setup. I was wondering how the
> default lighting is set in OpenSG. How
> can I change it to two sided (apparently the
> default is "front lighting")? 
> Second question, how about culling? Is
> backface culling enabled by default? Seems
> to be disabled. How can I enable it for the
> whole scene?

The SSM doesn't really do much about these parts.

You can change them by changing the prototypes for the Materials that
you use to include the appropriate chunks (culling is in the
PolygonChunk). The global two-sided lighting is not currently covered in
OpenSG, but given that we leave it alone Andreas' OpenGL code will work
just fine.

        Dirk




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to