View Single Post
Old 5th March 2006, 01:18 PM   #1
rogerjames99
Junior Member
Junior member
 
Join Date: Mar 2006
Posts: 2
Default OpenGL two sided lighting model

I am hacking the AC3D loader for OpenSceneGraph again. One thing I am thinking of doing is enabling two sided lighting for two sided surfaces.

I recommend AC3D as my modeller of choice to all our users. But I get grief from them about black surfaces. I am getting tired of telling them to make all surfaces one sided and then flip them the right way round! (By the way - a preference setting for one sided surfaces as default would be nice!)

So, is two sided lighting for two sided surfaces the correct behaviour for AC3D loaders in the OpenGL world?

It looks like the 3d display in AC3D itself does this. However all of the examples for parsing the AC3D file format only use the two sided flag to control back face culling.

Any guidance gratefully received!

Roger
rogerjames99 is offline   Reply With Quote