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

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. 16Bit framebuffer and entity ID -> Color conversion

    Hi,

    for selecting the visible entities in my program I do a hidden drawing with false colors, where each color corresponds to an entity ID, then I read the pixels back and reconstrut the entity ID...
  2. Hi, Thank you

    Hi,

    Thank you
  3. Hi, thanks for the answer. So it's better to...

    Hi,

    thanks for the answer.
    So it's better to compute it by ourselves, right?
  4. gl_LightSource[i].halfVector not working on Intel HD3000

    Hi,

    it seems the gl_LightSource[i].halfVector data is wrong on the Intel HD 3000 graphics card with the latest driver (9.17.10.2875), running OpenGL 3.1 and GLSL 1.40.

    I tried computing it by...
  5. I do not create the DC explicitly, I get it from...

    I do not create the DC explicitly, I get it from the control:


    wnd = control.Handle;
    hdc = Windows.GetDC(wnd);
    ...
    hrc = wglCreateContext(hdc);


    Then...
  6. Hi, I tried deleting my OpenGL control (which...

    Hi, I tried deleting my OpenGL control (which causes the destruction of the graphics context) in the OnClosing() method of the child form, as suggested by that page, but the problem is still there :(
  7. Does anybody have an idea of the reason or how to...

    Does anybody have an idea of the reason or how to fix it?
  8. OpenGL control persists on screen after closing the WinForm in C++/CLI application

    I have a C++/CLI WinForm MDI application, with a main MDI WinForm container that opens some child Forms that contain my OpenGL .Net control.

    On some NVidia cards (Quadro 600, Quadro 1000M, Geforce...
  9. Using the core functions the crash happens the...

    Using the core functions the crash happens the same.
  10. Replies
    20
    Views
    5,067

    Ok, so I guess we solved the mistery of the...

    Ok,

    so I guess we solved the mistery of the back-light illumination.
    Thanks.
  11. Crash with glCheckFramebufferStatusEXT on ATI Radeon 5450 Catalyst 12.6

    Hi,

    I tried the following (C#) code, that basically allocates an FBO with a 4096x4096 depth texture at each iteration.

    On an ATI Radeon 5450 with Catalyst 12.6, under WinXP 32bit, I get an...
  12. Replies
    20
    Views
    5,067

    But the fixed function is not setting the ambient...

    But the fixed function is not setting the ambient terms to zero (as my pictures without the shader showed)...
  13. Replies
    20
    Views
    5,067

    I found out the following things studying my...

    I found out the following things studying my Shader and playing with it in RenderMonkey:

    1. The illumination on the backface is given by the ambient component of the spotlight:



    ambient ...
  14. Replies
    20
    Views
    5,067

    Yes, the normal is pointing towards the upper...

    Yes,

    the normal is pointing towards the upper (front) side of the Quad.
  15. Replies
    3
    Views
    1,408

    Hi, for control I mean a Windows Form control...

    Hi,

    for control I mean a Windows Form control with an OpenGL viewport.

    Each control has its own opengl graphics context and I don't use the wglShareLists.
  16. Replies
    20
    Views
    5,067

    Hi Dark Photon, In the shader I'm doing this:...

    Hi Dark Photon,

    In the shader I'm doing this:



    void ComputeSpotPointParameters( in int i,
    in vec3 eye,
    in vec3 ecPosition3,
    ...
  17. Replies
    3
    Views
    1,408

    FBO crash in ATI Radeon 5450

    I did a test application that opens a form with 12 instances of my OpenGL control,.
    Each one creates its FBO of 4096x4096 with associated depth texture for shadowmapping.
    On the ATI Radeon 5450,...
  18. Replies
    20
    Views
    5,067

    Hi, I showed both cases, with Shader and No...

    Hi,

    I showed both cases, with Shader and No Shader (fixed fucntion OpenGL) to show that both cases gives the same result: a little lighting on the backface.

    In the case with the Shader the...
  19. Replies
    20
    Views
    5,067

    I see that even with ConstantAttenuation = 1, in...

    I see that even with ConstantAttenuation = 1, in the back face there is a little illumination of the spot (but very very dim), so if constantAttenuation < 1, it would go to increase that dim...
  20. Replies
    20
    Views
    5,067

    So is it wrong to assign the ConstantAttenuation...

    So is it wrong to assign the ConstantAttenuation a value between 0 and 1?

    That would make the attenuation factor > 1...
  21. Replies
    20
    Views
    5,067

    This is the illumination from the top 807 ...

    This is the illumination from the top

    807


    and this is the illumination from the bottom:


    808
  22. Replies
    20
    Views
    5,067

    Ok, but I set it to false just to be sure......

    Ok,

    but I set it to false just to be sure...
    It seems that if I don't set the attenuation factor it works fine...
  23. Replies
    20
    Views
    5,067

    SpotLight, attenuation factors and Backfaces

    Hi,

    I have a SpotLight with angle 40 degrees, SpotExponent 10 and ConstantAttenuation 0.01.

    My scene consists of a simple Quad.

    I see that not onlt the Front Face of the quad is illuminated,...
  24. Anybody could help please?

    Anybody could help please?
  25. Hi, I created a sample that reproduces the...

    Hi,
    I created a sample that reproduces the problem:
    It creates a multisample openGL window and draws some lines (you can move/zoom/rotate with the mouse)

    Pressing the 'C' key I call the
    ...
Results 1 to 25 of 82
Page 1 of 4 1 2 3 4