tabor25
05-02-2002, 09:30 AM
Hello,
i got some questions to texture coordinates :
1.) i read in the red-book how i could approximate a geosphere based on an icosahedron by subdividing. Does somebody know how i can calculate texture coordinates for the geosphere ?
2.) also i read that it is possible to generate texture coordinates automatically by opengl. But my books don't cover this topic in detail. Maybe someone can tell me how it works or where to find informations about this.
3.) i am writing a cad-engine. Now i have to implement texture-support. For now every object can have at the most one texture. But at a later time, multi-texture-support has to be added. When an object has a list of textures, would it be better to store the texture-coordinates in the object, so that every texture in the list has the same texture-coordinates or would it be better to store the texture-coordinates in the texture-objects, so that every texture for the object has its own texture-coordinates?
Best regards
tabor25
i got some questions to texture coordinates :
1.) i read in the red-book how i could approximate a geosphere based on an icosahedron by subdividing. Does somebody know how i can calculate texture coordinates for the geosphere ?
2.) also i read that it is possible to generate texture coordinates automatically by opengl. But my books don't cover this topic in detail. Maybe someone can tell me how it works or where to find informations about this.
3.) i am writing a cad-engine. Now i have to implement texture-support. For now every object can have at the most one texture. But at a later time, multi-texture-support has to be added. When an object has a list of textures, would it be better to store the texture-coordinates in the object, so that every texture in the list has the same texture-coordinates or would it be better to store the texture-coordinates in the texture-objects, so that every texture for the object has its own texture-coordinates?
Best regards
tabor25