Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Vertex data-Texture data in .obj file

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2017
    SE Pennsylvania on 6 acre wooded hillside

    Vertex data-Texture data in .obj file

    Just looking at a .obj file produced by Lightwave in a text editor, and was really weirded out by the way the indexed texture data was presented. Instead of a single list of the texture data, each quad's indexes was immediately preceeded by four sets of texture data for it's four vertices, and referencing was to these.

    Is there some advantage I don't see to this? It is obvious that it increases file size since all texture coordinates are listed at least four times, (I checked and yes they are) and I can't imagine that any saving in comp time is realized. Just seems strange to me.

  2. #2
    Junior Member Regular Contributor
    Join Date
    Dec 2016
    Ocean Shores, WA USA
    I don't always use a text editor to look at raw binary data....

    ... but when I do, I always use Word Pad.


    P.S. Sorry, I had to....

    Also, have you tried loading the file with a Binary Editor, or perhaps even with C++ fopen or similar loading command?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts