Hello lib3ds developers!

I want to make lib3ds work with OpenGL and VBOs. But, I have a doubt. In OpenGL 
the nomber of vertex in an rray buffer must be equal to the nomber of 
texcoordinates, and equal to the nomber of ormals. So:

anymesh.points==anymesh.texels==(number of normals)   right?

But... the function "lib3ds_mesh_calculate_normals" give me 
3*sizeof(Lib3dsVector)*mesh->faces normals!, not 
3*sizeof(Lib3dsVector)*mesh->points. Do you have any other function more 
appropiated for OpenGL VBOs and normals?.

_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
lib3ds-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lib3ds-devel

Reply via email to