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: Interleaved arrays and multy textures

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2003
    Posts
    3

    Interleaved arrays and multy textures

    as far as I could see in the OpenGl1.2 Spec, the formats for InterleavedArrays command allows only a single texture coordinates.
    Is there a way to specify a vertex buffer for which each vertex has 2 texture coordinates, for example?
    Your help will be most appreciated.
    Thanks,
    Yigal

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    3,115

    Re: Interleaved arrays and multy textures

    You can design your own interleaved format using the regular gl*Pointer and the stride parameter.

Posting Permissions

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