Hi Antonio,
I added a getHeadlight() method. Calling glLightfv has no effect
because OpenSG overwrites this values.
Andreas
Hi Antonio,
no way right now, I could add a getHeadlight() method or you derive from
SimpleSceneManager.
If it makes sense I'd appreciate such a method...
Cheers,
Toni
P.S.: Using something like this:
float specLight[] = { 1, 1, 1, 1 };
float diffLight[] = { 0, 0, 0, 0 };
for( int i = 0; i < n; ++i ){
glLightfv( GL_LIGHT0+i, GL_SPECULAR, specLight );
glLightfv( GL_LIGHT0+i, GL_DIFFUSE, diffLight );
}
has no effect, why?
-------------------------------------------------------
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
-------------------------------------------------------
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