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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. I don't agree. It's more elegant and future proof...

    I don't agree. It's more elegant and future proof to create these premake scripts and get ready for dozens of DEV tools. If you add VS solutions and projects, then for what version of VS? What if the...
  2. Multiple context for one window in single thread

    Hi!

    I want to render to one window in a single thread with two different contexts, because state management in this case is much simpler for me. It works on Windows and Linux, but there's some...
  3. Replies
    4
    Views
    1,491

    Re: Problems with TBO on ATI

    Yes, I keep in mind that. Thanks for the answer.
  4. Replies
    4
    Views
    1,491

    Re: Problems with TBO on ATI

    Ok, I'm sorry, it was my fault. I intercepted the uniforms using the glGetProgram and glGetActiveUniform functions. What I missed is that the location of the uniform and the index used for...
  5. Replies
    4
    Views
    1,491

    Problems with TBO on ATI

    Hi!

    I have problems with Texture Buffer Objects on ATI. After a lot of searcing for the cause I finally made a simple shader like this:

    vertex shader:


    #version 330

    precision highp float;
  6. Replies
    1
    Views
    2,047

    NVIDIA glTexImage3D problems

    Hi!

    glTexImage3D crashes for certain sizes, for example the following code will crash:



    int width = 65;
    int height = 64;
    int depth = 64;
    int size = width * height * depth;
  7. Replies
    0
    Views
    1,267

    glBlitFramebuffer with multisampling problem

    Hi!

    My problem is the following:

    I use two windows, there are only 1 GL context. The windows have single-sampled default framebuffers.
    window1 has dimensions 1280x1024
    window2 has dimensions...
  8. Replies
    4
    Views
    1,461

    Re: FBO with different size attachments

    Hi,

    the specification says (OpenGL 3.3 Core Profile Specification (updated March 11, 2010) page 230) that:



    However, that's only half of your problem. I don't know why it produces only 1...
  9. Replies
    6
    Views
    4,203

    Re: Floating point accuracy in GLSL

    For GLSL ES there are no integer samplers AFAIK. Is it possible to use them via any extensions for GL3 capable hadrware?
  10. Thread: error with CG

    by thekend
    Replies
    11
    Views
    4,057

    Re: error with CG

    I replied on the CG forums: http://developer.nvidia.com/forums/index.php?showtopic=5260&pid=16154&st=0&#entry16154
  11. Thread: error with CG

    by thekend
    Replies
    11
    Views
    4,057

    Re: error with CG

    Normally arbvp1 and arbfp1 should be supported. You can check this directly with

    CGbool arbvp1_supported = cgIsProfileSupported(CG_PROFILE_ARBVP1);

    On ATI cards, only these profiles and the...
  12. Replies
    5
    Views
    2,584

    Re: Read depth from FBO and renderbuffer

    For glReadPixels, the format should be GL_DEPTH_COMPONENT instead of GL_DEPTH_COMPONENT_24. It's a bit confusing at first time, but the symbolic constants for formats in client memory (so the...
  13. Re: Problem with precision of frag shader calculation

    Maybe this is because your render target is 8 bit per component. Then the float value is converted to a byte (mapping [0,1] to [0,255]) then written into the RT, so this explains the precision loss.
  14. Replies
    4
    Views
    1,097

    Re: Colors and light

    For the fixed function pipeline, vertex color attributes and lighting are not combined.

    When GL_LIGHTING is enabled, the color of the vertex is calculated by the lights and material properties....
  15. Querying size of stencil buffer in Core 3.x

    In GL 3.x, glGetIntegerv with GL_STENCIL_BITS is deprecated.
    For querying frame buffer parameters there is glGetFramebufferAttachmentParameteriv.
    According to the spec this should work for the...
  16. Replies
    10
    Views
    5,689

    Re: OpenGL 1.0 to OpenGL 3.2 Core migration

    On my machine nopper.tv tutorials also don't work. I have only black screen.

    glGetError() returns GL_INVALID_ENUM immediately after glewInit().
  17. Replies
    2
    Views
    2,846

    Re: Image-Space Horizon-Based Ambient Occlusion

    I think they mean the following:

    You have P and its normal N. These two define a plane. The view vector intersects this plane at a point P'. I think they mean the tangent vector is the vector from...
  18. Replies
    10
    Views
    7,044

    Re: about page flipping

    Hi,

    I use this with the following scenario:



    at initialization:
    wglSwapIntervalEXT(1);
  19. Replies
    10
    Views
    7,044

    Re: about page flipping

    Hi!

    As far as I know, PFD_STEREO will only work for quad-buffered cards (maybe you can experiment with emulation using RivaTuner, I read some threads about it, however never tried).

    For...
  20. Replies
    3
    Views
    3,993

    Re: question over sine wave

    Hi,

    The problem is with integer division:

    x1=i/SIZE;x2=(i+1)/SIZE
    will always give you 0 or 1 for x0 and x2. You have to cast to float (either i or SIZE or both).
  21. Replies
    19
    Views
    7,225

    Re: OpenGL + CG + ATI = ??

    Hi

    Unfortunately on ATI cards the only supported assembly profiles are CG_PROFILE_ARBVP1 and CG_PROFILE_ARBFP1. However CG can compile to glsl with CG_PROFILE_GLSLV and CG_PROFILE_GLSLF. But there...
  22. Replies
    9
    Views
    2,620

    Re: Recommend me some good graphics books please

    All of the GPUGems and the CG Tutorial books are available on http://developer.nvidia.com
  23. Replies
    14
    Views
    4,227

    Re: how to make a non smooth zoom

    Sorry, in the last sentence I mistyped, meant GL_NEAREST instead of GL_LINEAR.
    On my NV control panel there's a Force mipmaps setting, which could be set to none, bilinear and trilinear. Of course...
  24. Replies
    14
    Views
    4,227

    Re: how to make a non smooth zoom

    When you sampling a texture with GL_NEAREST, it will search the nearest texel in the texture for the given texture coordinates. So, this won't be smooth. The center of the sampled pixel is...
  25. Replies
    14
    Views
    10,389

    Re: GPGPU, SwapBuffers and multithreaded rendering

    Ok, now I start thinking of how could I redesing the system.
    Thank you all the help.

    Have you got any idea what happens when multiple OpenGL and Direct3D applications run at the same time? How...
Results 1 to 25 of 28
Page 1 of 2 1 2