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: Vertex Arrays with just Texture coordinates changed

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2000
    Location
    Woodland Hills, CA, USA
    Posts
    10

    Vertex Arrays with just Texture coordinates changed

    Hi, i'm doing height field raycaster 128x128 rays, and at the end i've got
    128x128x2 equal sized triangles

    I want to change just texture coordinates, inside them, also geometry can be 2D coded, perspective correction is not so important.

    What is the best way to do this

    I'm DirectX7 coder, but OpenGL is more wide opened - linux, BE and so on, and I'm searching solutions for both of this
    malkia/eastern.analog
    malkia@mindless.com
    http://EasternAnalog.hypermart.net (vox4 & glvox8)

  2. #2
    Junior Member Newbie
    Join Date
    Feb 2000
    Location
    greensburg, pa, usa
    Posts
    5

    Re: Vertex Arrays with just Texture coordinates changed

    using a compiled vertex array should be the
    way to go. If you don't push the vertex
    array a second time it allows for the driver
    to optimize by not re-transforming the
    array.

    just push the new tex coord array.

    Also, you should be able to acheive certain
    effects by using the texture matrix.

    Keith
    Keith Z. Leonard
    DreamForge Intertainment

Posting Permissions

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