Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: Darkpower

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,268

    I know how tessellation with displacement mapping...

    I know how tessellation with displacement mapping works. That link doesn't provide anything to my problem.

    I don't want to create all the 24 vertices on the cpu, only 12. 2 vertices/face. When...
  2. Replies
    3
    Views
    1,268

    Tessellate(displacement map) a cube.

    Hey!

    I have used the Geometry shader to create all the faces on a cube. This has been done by first creating two vertices on the cpu for each face which has then been expanded into two triangles...
  3. Access exactly in the same order in the RAM and VRAM, height data!

    Solved! =D
  4. Replies
    3
    Views
    1,460

    Wow, it worked, i'm so happy now!! Thanks man,...

    Wow, it worked, i'm so happy now!! Thanks man, you are my hero Nowhere-01!!

    GClements: I'm using OpenGL 4.0 :)
  5. Replies
    3
    Views
    1,460

    Flickering textures....

    Hi!

    I have a problem with my terrain and that is; the textures is flickering(Like tv noise*) when the "camera" is further away from the terrain and when viewing it in close-up the flickering...
  6. Replies
    0
    Views
    528

    Stretch texture...

    Hey!

    How can I stretch a texture over the whole terrain? (Using Triangle strips)

    Code:



    for (int z = 0; z < Z_DEPTH-1; z++)
    {
  7. Replies
    0
    Views
    831

    Collision heightmap.

    Hey!

    I have trouble with collision detection. My heightmap have quads and each quad have two triangles. A diagonal line connects two corners in each quad. How can I determine which quad and which...
  8. Replies
    20
    Views
    4,286

    WOHO, solved everything now!=D=D=D

    WOHO, solved everything now!=D=D=D
  9. Replies
    20
    Views
    4,286

    No, i'm using primitive restart.

    No, i'm using primitive restart.
  10. Replies
    20
    Views
    4,286

    Nobody knows?

    Nobody knows?
  11. Replies
    20
    Views
    4,286

    Look at this picture:...

    Look at this picture: http://oi50.tinypic.com/2me4a3k.jpg

    GL_TRIANGLES, so you can see the lines more clearly.

    All lines goes from one side to the other. Why?
  12. Replies
    20
    Views
    4,286

    Ok, tried it. The result:...

    Ok, tried it. The result: http://oi47.tinypic.com/5k5280.jpg

    Something is terribly Wrong Here. Lines + holes, yes....

    Before: glDrawArrays(GL_TRIANGLE_STRIP, 0, numberVertices) = lines....
  13. Replies
    20
    Views
    4,286

    I need a little bit help. I have to use...

    I need a little bit help.
    I have to use glDrawElements(GL_TRIANGLE_STRIP, indices), glEnable(GL_PRIMITIVE_RESTART) and glPrimitiveRestartIndex(restartIndex).

    But how can I get all the indices?...
  14. Replies
    20
    Views
    4,286

    Ok, so I should try degenerate triangles? Does...

    Ok, so I should try degenerate triangles? Does anyone know any good tutorials?
  15. Replies
    20
    Views
    4,286

    GL_TRIANGLE_STRIP and VBO fail.

    Hey!

    I have a big problem that I can't solve right now... I have searched all over the internet for hours... :-/

    Look at this picture:

    http://oi50.tinypic.com/v67rl4.jpg

    If I draw the...
Results 1 to 15 of 15