OpenGL and cylindrical texture mapping - Printable Version
+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: OpenGL and cylindrical texture mapping (/thread-3314.html)
OpenGL and cylindrical texture mapping - spsweet - May 1, 2007 02:55 PM
Unfortunately cylindrical texture mapping isn't built into OpenGL. I would like to discuss algorithms on how to do it. I've been reading quite a bit of things about converting a point on the object into a point on my cylinder, and then converting that point on the cylinder into a point in texture space. I think I'm am not understanding some of the math. Would anyone care to talk about it? I understand that the cylinder essentially IS the texture map...but I don't see how to associate a point on it with a point on a 2D texture map.