Sign in to follow this  
  • entries
    59
  • comments
    114
  • views
    22411

UV Mapping

Sign in to follow this  
MustEatYemen

12 views

Ok, I've spent more time w/ wings3d and the DX SDK example.
Even made this nifty test pattern. (Clicky for full size 1024x1024 jpg goodness ;)


Anyways, the center tile is supposed to be on top.

This is what it should look like as in Wings3D


This is what it looks like in the DX SDK sample loader.


Properlly aligning the tops in both images, and referencing the texture up top, it would appear that one of the progarmas is putting in UV cords on the vertical axis inverse.

A quick modify to the DX loader, and I get this.


Still not perfect, but I'm not sure how to fix this issue. Any suggestions?
From what I can tell, now the issue is left hand cords from right hand cords, but someone who's played w/ OpenGL <->DirectX before could shed some light. Wings3D uses OpenGL for it's rendering of the editor, but it stores the actual object in some crazy format. This may be a bug of the OBJ exporter, but I'm not sure which app to blame.
Sign in to follow this  


1 Comment


Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now