Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Texture Coordinate Generation..

This topic is 6197 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 am writing an OpenGL engine, and I want it to use calculated texture coordinates, rather than stored ones, like Quake. Quake doesn''t store the texture coordinates in the map file, it just stores scaling and offset info. I have been trying to figure out how to slap a texture on a triangle without deforming the texture at all. The triangle isn''t always facing along one axis so I can''t use it''s vertices as texture coordinates. Worldcraft (Quake/HL level editor) does it, you make a brush and all sides are texturemapped without deformation, etc.. Can someone please point me in the correct direction or explain it to me? Thx in advance

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!