Texture Coordinates

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  02 February 2013
Texture Coordinates

Hi! I have the following problem: I have vertex positions and I want to find the corresponding texture coordinats for the vertices. The documentation says the following:
In order to find out which texture vertex corresponds to a mesh vertex, you have to do the following:
  1. Take the index of the mesh vertex.
  2. Find out which faces reference the index of the face.
  3. Note the number of the vertex (1 st , 2 nd or 3 rd - .x, .y or .z) inside each face.
  4. For each face referencing the vertex, get the texture face with the same index.
  5. Get the index of the respective texture vertex from the face - 1 st , 2 nd or 3 rd / .x, .y or .z
  6. The vertex you got corresonds to the mesh vertex we started with.
  7. Repeat steps 3 to 6 for all faces found.

    Same applies to color vertices.
but I don't understand that. Can someone explain it to me a bit more understandable? Thanks a lot.
 
  share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 11:48 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.