First off, this is not an editing question, which is why I'm posting in the discussion forum.. so...
I have an XNA programming class at school and for one of my projects I thought it would be cool to load a JKL. Well, I got the geometry loaded (just using the vertex and surface lists), but I'm having a problem with the texture coordinates and whatnot. The jkspecs say that I need to convert the scale by doing (U / texWidth) and (V / texHeight), but that doesnt seem to be working. Any ideas? .. I know some have wrote JKL Loaders in the past in other 3D API's.
Might I also point out that XNA requires everything to be drawn as a triangle, so all JK Surfaces have to be triangulated.. so I'm not sure if that messes up the coords or not.
I have an XNA programming class at school and for one of my projects I thought it would be cool to load a JKL. Well, I got the geometry loaded (just using the vertex and surface lists), but I'm having a problem with the texture coordinates and whatnot. The jkspecs say that I need to convert the scale by doing (U / texWidth) and (V / texHeight), but that doesnt seem to be working. Any ideas? .. I know some have wrote JKL Loaders in the past in other 3D API's.
Might I also point out that XNA requires everything to be drawn as a triangle, so all JK Surfaces have to be triangulated.. so I'm not sure if that messes up the coords or not.