View Single Post
Old 5th March 2006, 09:38 PM   #3
rogerjames99
Junior Member
Junior member
 
Join Date: Mar 2006
Posts: 2
Default

Andy,

Thanks for the quick response. But I think you misunderstood what I was asking. I probably was not precise enough in my question.

Your sample code for the parsing the ac3d file format and rendering in OpenGL always uses one sided lighting. Therefore when models are directionally lit one side of a two sided surface looks dark, even though in the 3d display in ac3d it is rendered lit.

My question is -

Should 2 sided surfaces imported from ac3d files and rendered in OpenGL have the OpenGL 2 sided lighting attribute set on them.

I know this may appear obvious, but I just want to check before I turn it on because it will cause a big performance hit.
rogerjames99 is offline   Reply With Quote