I'm working on a 3d viewer, minimal support for .obj and .mtl files. I'm not using opengl or directx but writing my own routines. I'm now at the point I need to add textures to the model.
As I understand texture coords are mapped [0,1] and really just ratios. I assume I need to:
mapped_u=textcoords.u*bitmap.width
mapped_v=textcoords.v*bitmap.height
to get the offsets into the file. At this point I'm not sure how to use GDI+ to process the texture to the n-point polygon I need to draw it to.