I would really appreciate some help on this area, as my 3D engine has been on hold for over a month because I can''t find a solution to this problem! My 3D engine is using Quake style .map files, as the level data. Unfortunately these maps contain no useful texture data, and I need to find a way to generate texture coordinates for objects dynamically, without knowing anything about them except for their vertice coordinates. Is this even possible? I''ve tried several algorithms, but alas with no luck. To recap: Is there an algorithm, to generate texture coordinates for any set of vertices on the fly, without knowing what they are going to form, ie a sphere, cone, cylinder, rectangle etc. If not, how on earth does Quake or QBSP figure out logical tex coordinates.
Dynamic Texture Coordinates
No replies to this topic