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: -0x80

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,473

    Fatal bug in GLM getting started code example

    I used the bit of code from the getting started page just to see if it compiled ok, and it actually triggered an assertion. It looks like the code on the getting started page has a bug:...
  2. Thread: Scaling a vec3

    by -0x80
    Replies
    4
    Views
    3,238

    Re: Scaling a vec3

    Thanks! After working mainly with Lua for a while I'll have to get used again to this type of stuff.

    I don't mind using floats explicitly, so no need to mess with the templates.

    Cheers
  3. Thread: Scaling a vec3

    by -0x80
    Replies
    4
    Views
    3,238

    Scaling a vec3

    How embarrassing. I should probably just to to sleep...

    I would like to write:
    vec3 a = vec3(2,2,2) * 0.5
    .. or something similar, and end up with a vector (1,1,1)

    GLM doesn't let me do this,...
  4. Replies
    4
    Views
    2,028

    Re: restrict tesselation to single drawing mode

    BRILLIANT!! That's what I was hoping for=) Thanks a lot!
  5. Replies
    4
    Views
    2,028

    Re: restrict tesselation to single drawing mode

    Thanks for the tip Nico. Somehow I assumed that would be a tricky thing to do. Now that I think about it I guess you're right. I'll try to manually generate an index array for the vertices that I get...
  6. Replies
    4
    Views
    2,028

    restrict tesselation to single drawing mode

    Hi,

    I'm using the GLUT to tesselate the contour of a human body and draw it as a solid shape. Everything is fine if I draw directly from the tesselation algorithm, like the picture below.

    I...
Results 1 to 6 of 6