Results 1 to 5 of 5

Thread: in a ase file, by what is indicated the coordinates of texture?

  1. #1
    Senior Member Regular Contributor
    Join Date
    Mar 2002
    Location
    France
    Posts
    286

    in a ase file, by what is indicated the coordinates of texture?

    what key word ?
    it's to use in an opengl program then.

  2. #2
    Guest

    Re: in a ase file, by what is indicated the coordinates of texture?

    Originally posted by airseb:
    what key word ?
    it's to use in an opengl program then.
    hi,
    the tokens i use are:
    *MESH_NUMTVERTEX // number of Texture coords

    *MESH_TVERT // the texture coord

    ase files are text files so u can open the with notepad and read them.

  3. #3
    Senior Member Regular Contributor
    Join Date
    Mar 2002
    Location
    France
    Posts
    286

    Re: in a ase file, by what is indicated the coordinates of texture?

    Originally posted by FredFlint:
    hi,
    the tokens i use are:
    *MESH_NUMTVERTEX // number of Texture coords

    *MESH_TVERT // the texture coord

    ase files are text files so u can open the with notepad and read them.
    thanks !
    but i have a problem :
    with *MESH_TVERT, there are 3 coordinates of texture but the last is always at 0.0, have i to ignore this coordinate ?
    and i have another question :
    what is *MESH_TFACE ? what is the difference with *MESH_FACE ?
    thanks.


    [This message has been edited by airseb (edited 04-27-2003).]

  4. #4
    Member Contributor
    Join Date
    Mar 2003
    Posts
    88

    Re: in a ase file, by what is indicated the coordinates of texture?

    MESH face and mesh vertex store the (x,y,x) coordinates of your geometry

    tface and tvertex store the homogeneous coordinates (UV) of your model for texture mapping
    hope this helps

    [This message has been edited by raverbach (edited 04-29-2003).]
    As shadows into darkness, the Ninja fades away

  5. #5
    Senior Member Regular Contributor
    Join Date
    Mar 2002
    Location
    France
    Posts
    286

    Re: in a ase file, by what is indicated the coordinates of texture?

    Originally posted by raverbach:
    MESH face and mesh vertex store the (x,y,x) coordinates of your geometry

    tface and tvertex store the homogeneous coordinates (UV) of your model for texture mapping
    hope this helps

    [This message has been edited by raverbach (edited 04-29-2003).]

    sorry, i haven't understood what was tface ?
    and what is UV exactly ?
    thanks !

Similar Threads

  1. Texture Coordinates and Depth Buffer to obtain world coordinates
    By snkhan42 in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 04-27-2018, 11:52 AM
  2. Load texture coordinates from text file
    By aje1234l in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-02-2015, 01:11 AM
  3. Strange Texture Coordinates in OBJ file
    By uwi2k2 in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 02-17-2013, 01:26 AM
  4. texture coordinates reading from .*obj file
    By alexiis in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 01-18-2010, 07:53 AM
  5. AsE file texture coordinates
    By McZ in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-17-2001, 03:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean