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: -NiCo-

Page 1 of 20 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    622
    Views
    3,661,529

    Re: The ARB announced OpenGL 3.0 and GLSL 1.30 tod

    Oh my god, is this all we get after constantly refreshing our browser windows on this site for the past 9 months, hoping for some news about OpenGL 3?!

    Oh well, guess it's time for me to move to...
  2. Replies
    1,723
    Views
    16,815,287

    Re: OpenGL 3 Updates

    Nvidia has fine grain context switching within a kernel. A kernel execution corresponds to multiple block executions. If the processing of one block is stalled, it can immediately switch to...
  3. Replies
    6
    Views
    8,061

    Re: glClearColor and glClear

    You should also look into the parameters of your glfrustum call. It's very different from a glOrtho call. Your image plane is of size 2000.0f in both directions and it's placed at only 0.3f away from...
  4. Replies
    6
    Views
    8,061

    Re: glClearColor and glClear

    I doubt that clearing the buffer is the problem. You should probably insert glLoadIdentity() after your glMatrixMode(GL_PROJECTION) call to make sure the projection transformations are not being...
  5. Re: Fake ortho projection with transformation matrix

    I agree with dletozeun. You can still do raycasting in orthographic projection, the only difference is that all your rays will be parallel.
  6. Replies
    1
    Views
    5,388

    Re: how to pick objects with ray cast ?

    Sure you can use gluUnproject.



    static void __gluMakeIdentityd(GLdouble m[16])
    {
    m[0+4*0] = 1; m[0+4*1] = 0; m[0+4*2] = 0; m[0+4*3] = 0;
    m[1+4*0] = 0; m[1+4*1] = 1; m[1+4*2] = 0;...
  7. Re: Projection of a 3D Vector and Parallel Vectors

    A1

    1.(V(x),V(y),0)
    2.(0,V(y),V(z))
    3.(V(x),0,V(z))

    A2

    Yes
  8. Replies
    3
    Views
    1,306

    Re: Computing rendering in hidden window

    You can render your scene to a framebuffer object which is hidden. This is probably what you're looking for since all pixels of (a renderbuffer or texture attached to) a framebuffer object pass the...
  9. Replies
    4
    Views
    1,537

    Re: Help with eyeZ calculation?

    In light of your application, I doubt there's a way to handle this correctly. IMHO, the best you can do is test the difference between eyeZ coordinates like you're doing already. This way, at least...
  10. Replies
    5
    Views
    2,673

    Re: How to create a swept surface ?

    According to the sourceforge project page it should work on windows.
  11. Replies
    5
    Views
    2,673

    Re: How to create a swept surface ?

    You can try out the GLE tubing and extrusion library.
  12. Thread: Screen coords

    by -NiCo-
    Replies
    3
    Views
    1,418

    Re: Screen coords

    Integer coordinates correspond to pixel corners.
  13. Replies
    4
    Views
    1,556

    Re: Difference between Raster and texturing

    gluTex2DImage()? Never heard of that one...
  14. Replies
    10
    Views
    11,182

    Re: gluUnProject question

    gluPerspective(fovy, aspect, near, far);

    should generate the exact same matrix as
    ...
  15. Replies
    4
    Views
    1,537

    Re: Help with eyeZ calculation?

    You should take the perspective foreshortening into account. I drew you a small picture illustrating the effect.
    As you can see, the difference in eye space depth value of neighboring pixels...
  16. Replies
    17
    Views
    10,641

    Re: Map triangle texture to a right triangle

    Like ZbuffeR said

    "Unless texels are sampled _exactly_ in the same way, you _will_ have some blurring."

    This is also the case with linear filtering. For example, if you apply linear filtering...
  17. Replies
    5
    Views
    8,655

    Re: Need Help on how to resize texture image...

    Just load your texture into a GL_TEXTURE_2D target, followed by

    glGenerateMipmapEXT(GL_TEXTURE_2D);

    This will create a mipmapped texture which contains subsampled versions of the original...
  18. Replies
    42
    Views
    43,947

    Re: Jumping lines during rotation

    Looks like a precision issue to me. Here's some test code:



    float tmpf = 10000.029588568046;
    double tmpd = 10000.029588568046;
    fprintf(stderr,"%5.12f\n%5.12f\n",tmpf,tmpd);


    The output is
  19. Replies
    6
    Views
    2,630

    Re: Weird OpenGL behavior

    Have a look at this thread. Could be related.
  20. Re: GL_PROJECTION matrix mode: using translations,

    I'm not sure what your goal is. If you have access to the rotation matrix and translation vector then you can create your modelview matrix and set a symmetric view frustum by setting ( -left = right...
  21. Re: GL_PROJECTION matrix mode: using translations,

    No, the glFrustum call assumes the eye is located at (0,0,0). So it's symmetric if left and bottom are the negated values of right and top respectively, otherwise it's non-symmetric.

    PS. If you...
  22. Replies
    12
    Views
    8,395

    Re: Supported FBO Texture Internal Formats

    You're using

    glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT, GL_TEXTURE_2D, textureHandles[i], 0);

    instead of

    glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT,...
  23. Thread: Texture subload

    by -NiCo-
    Replies
    17
    Views
    7,227

    Re: Texture subload

    Like Zengar said, there's no way to be sure. I also came across this problem some time ago and at that moment I was able to force it by inserting some dummy code:

    - send texture data
    - attach...
  24. Replies
    11
    Views
    11,892

    Re: eye and clip coordinates

    Aha. That's worth checking out.
    Thanks :)
  25. Replies
    11
    Views
    11,892

    Re: eye and clip coordinates

    You're right. I forgot about (wc < 0). My assumption that homogeneous could not be represented by p1+t(p2-p1) was wrong. They can. In that case, the only difference is that t is non-linear in...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4