Hello guys,

I have been trying to import animated charater meshes to OSG via osgCal. I can 
add example cal3D animated meshes and call their animations in my application. 
However there is a possible problem regarding (probably) lighting. The surfaces 
that are exposed to my (directional) light are pure white as you can see on the 
screenshot. I already tried to use GL_NORMALIZE or 
GL_RESCALE_NORMAL that i saw on this topic : 
viewtopic.php?t=3402 
, but it didnt work. I also used Cal3D converter to convert binary mesh files 
to xml, and checked their normals. they all seem ok and their magnitude seems 
to be 1, as expected for a Normal vector.

I will appreciate any hints to solve my issue.

Thanks in advance.

Arif

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33720#33720




Attachments: 
http://forum.openscenegraph.org//files/cal3d_3dsmax_exported_animated_mesh_possible_overlit_problem_867.png


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to