Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Correct Texture Generation

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2001
    Posts
    29

    Correct Texture Generation

    I've posted this message in the Advanced section and I got no reply so far, so I think that perhaps this is a better place to post the Question :

    Let's say that I have a really complex mesh (complex in terms of poly count & geometry ). The ideea is to generate Correct Texture Coords ( if possible have OpenGL
    generate them for me ). I want to be able to have planar mapping, cylindrical & spherical ( I've managed to generate textures that look like metal reflections but this
    time i want to spheremap a WOOD texture, so GL_OBJECT_LINEAR )

    Regards,
    Clau
    ( I might be foolish but I'm eager to learn )
    Claudius

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,595

    Re: Correct Texture Generation

    Hi !

    OpenGL can only generate texture coordinates for simple objects, sphere, cube cylinder and so on, for complex object you have to do it yourself, if you have nurb surfaces you can also get the texture coordinate spretty easy.

    But in most other cases you are on your own, I don't know of any good tutorials on this at the moment though.

    Mikael

Posting Permissions

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