Multiple objects
How can I use more than one textured object which has been converted from 3DSMax to OpenGL with 3D Exploration?
I can manage to load the different vertices and settings, but I can''t manage to apply the rights textures to the different objects.
Please help me.
create a struct for all your obj then make a func that init_obj()
and use a for loop to create multiple of the same objects. then specify the dif x,y,z coors of each individual obj.
and use a for loop to create multiple of the same objects. then specify the dif x,y,z coors of each individual obj.
bad!
March 15, 2001 03:34 PM
glBindTexture(..) //texture 1
object_data..
bind() // texture 2...
data...
and so on...
object_data..
bind() // texture 2...
data...
and so on...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement