Best way to create a 3D world
Lately I noticed there was controversy over using display lists for just a few polygons. So is the best way to design a 3D indoor world by reading from .txt files ala NeHe lesson 10? Or to use a single array holding all vertices/texture coordinates? Or maybe use many different vertex/texcoord arrays for each sector? And I''m not advanced enough to do culling yet.
----------Invincible intelligence isn't evincible.
i think that something has been misunderstood...
display lists are used to call objects, not single faces...
its'' useless to do a disp list on a face, because you must call it 6 times to make a cube
instead you create a disp list for a cube and call it once...
at least I think that this is the way...
you create a table and a display list associated to the table.
a chair and a disp list
and so on...
but not a disp list for each face!
i loaded objects from file
created a disp list for each object (STATIC OBJECTS!!)
and draw them when necessary
There aren''''t problems that can''''t be solved with a gun...
display lists are used to call objects, not single faces...
its'' useless to do a disp list on a face, because you must call it 6 times to make a cube
instead you create a disp list for a cube and call it once...
at least I think that this is the way...
you create a table and a display list associated to the table.
a chair and a disp list
and so on...
but not a disp list for each face!
i loaded objects from file
created a disp list for each object (STATIC OBJECTS!!)
and draw them when necessary
There aren''''t problems that can''''t be solved with a gun...
There aren''t problems that can''t be solved with a gun...
how do you load objects from a file? with .txt like in lesson 10?
----------Invincible intelligence isn't evincible.
i create my own format, for example i made a flag to tell a path for a texture, a flag to tell that following 3 x N numbers are vertex coords, a flag to indicate which vertex are assigned to wich face... and so on
There aren''''t problems that can''''t be solved with a gun...
There aren''''t problems that can''''t be solved with a gun...
There aren''t problems that can''t be solved with a gun...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement