• Advertisement
Sign in to follow this  

About Coordinate Transform?

This topic is 4889 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to convert bsp file(quake3) coordinate to Direct3d(left hand) coordinate. what should I do? vertex coordinate, face's normal? vertex normal?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
If what you're saying is that you want to convert from left hand to right hand coordinate systems then you'll need to negate the x component of the positions and normals in the model for it to come out the same. If you don't then you'll get the model mirrored in the z axis.

Share this post


Link to post
Share on other sites
What coordinate system does QuakeIII use? Here is a diagram of 2 popular coordinate systems (DirectX uses left-handed):



If Q3 uses a right-handed system, you simply need to invert the Z values (multiply them by -1).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement