View Full Version : sample code wanted
06-09-2001, 10:28 AM
I need a sample code in which there is used glDrawElements and loading 3D objects from 3DSMax . These two must be together in one example.
I'm now solving a problem with texture coordinates.
I don't think you can directly load from 3dsmax files because that's at least in ascii-output many things are just stored with parameters which are then whacked into the 3dsmax engine. try 3ds, would be better. I think there should be enough information on the net about it.
06-11-2001, 09:21 PM
The biggest thing you have to be careful of when parsing for texture coordinates is that shared vertices will not be repeated; so you'll end up with a number of vertices less then you expect.
06-16-2001, 07:22 AM
check out www.openscenegraph.com (http://www.openscenegraph.com) there is source code of how to load 3DS files
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.