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

Page 1 of 14 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    645

    proper cube map texture mapping

    I've always found it annoying that the cube map texture coordinate arrangement works different than everything else in GL. This was done to match DirectX and RenderMan when it was first introduced....
  2. Bump. Anyone at nVidia read this? Remember,...

    Bump.

    Anyone at nVidia read this? Remember, this bug also affects Windows, not just the Linux driver...

    It would also be trivial to exploit this bug in WebGL, simply add a few iframes with...
  3. Found the thread on Gamedev.net where this bug...

    Found the thread on Gamedev.net where this bug was first reported:

    http://www.gamedev.net/topic/372744-glpolygonoffset-issue-with-forceware-7080xxx/
  4. NV freeze bug GL_MULTISAMPLE + glPolygonOffset still not fixed

    I just bumped into the following bug:

    Hardware: GeForce 8800 GT
    Driver version: 319.32
    OS: Linux-x86 (Linux Mint 13/Ubuntu 13)

    Behavior:
    1) have GL_MULTISAMPLE enabled
    2) render geometry...
  5. Replies
    5
    Views
    2,327

    Also remember that glReadPixels is not guaranteed...

    Also remember that glReadPixels is not guaranteed to return valid data if the frame buffer itself is (partially) off-screen or obscured by other windows. Only if you can see the region on your...
  6. Replies
    2
    Views
    1,466

    If you simply want to draw the skeleton of an...

    If you simply want to draw the skeleton of an animated character (e.g. for debugging purposes), calling glDisable(GL_DEPTH_TEST) before drawing the lines should be sufficient.

    If you desire proper...
  7. From your description it seems the frame buffer...

    From your description it seems the frame buffer contents is left in the client area (aka 'garbage')? Did you try refreshing/redrawing the window client area after GL destruction?

    If none of that...
  8. Replies
    2
    Views
    1,859

    Strictly speaking, "OpenGL" cannot crash a...

    Strictly speaking, "OpenGL" cannot crash a computer, but your graphics drivers can. Graphics drivers are an implementation of OpenGL created by NVidia, AMD/ATI, Intel etc. Depending on the quality of...
  9. Replies
    3
    Views
    3,062

    If I remember correctly, it is as simple as...

    If I remember correctly, it is as simple as computing the distance between the object and camera position, and scaling the object by that. You may need to tweak the default scale, and if the field of...
  10. Replies
    14
    Views
    8,629

    Re: Opengl - Loading .png images

    Avoid BMP, it is a pretty messy format. I would suggest TGA instead. It has a much cleaner structure, no problems with pixel padding/byte alignment, supports the same formats and more (paletted...
  11. Replies
    7
    Views
    1,245

    Re: Is there such thing as a GL view "database"?

    Wildfire Games has some statistics presented in an interesting way here: http://feedback.wildfiregames.com/report/opengl/

    IMO, it would be very helpful to have something similar hosted at...
  12. Re: Shadow Mapping work on Nvidia but not on Intel?

    Also remember to reset the texture depth compare parameter when rendering the depth texture for debugging purposes ("sampler2D"):

    glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_COMPARE_MODE, GL_NONE);
  13. Replies
    13
    Views
    4,883

    Re: Getting list of frag data output names

    There's a freely available GLSL parsing library by 3DLabs, google for "GLSLValidate". However it is no longer updated (IIRC only supports up to GLSL1.x) but might be useful. I have used it before,...
  14. Replies
    13
    Views
    2,665

    Re: Performance improvement

    What thokra said, first determine what the bottleneck is (fill rate? data transfer? etc). The steep drop to ~2fps seems more like it falls to software rendering however.

    You may also see a...
  15. Replies
    7
    Views
    1,230

    Re: depth texture modification

    There's a paper and some slides (PDF) by the guys from Crytek, where they explain this in detail how this was done in Crysis 1 (IIRC it includes some shader sample code). I also seem to recall DICE...
  16. Replies
    5
    Views
    1,865

    Re: How to render without flickering?

    Assuming the flicker you see is actually 'shimmer' (or 'jitter') of the tree leaf textures, the proper way to solve this is to enable mipmapping. At any rate, it has little to do with z-buffer (and...
  17. Re: Size of the model: render time and light intensity

    zeoverlord isn't wrong, but to be pedantic... :p

    If you are using Fixed Function functionality (aka FFP) of OpenGL (pre GL2.0, no GLSL shaders), then scaling with glScalef will actually affect...
  18. Thread: Large bitmaps

    by remdul
    Replies
    5
    Views
    1,175

    Re: Large bitmaps

    I'm not sure if 3d textures or texture arrays are what you really want (it depends on what data you have and what you want to render).

    Many modern games store textures in atlasses. They pack...
  19. Re: GL_LINE_SMOOTH produces "bold" lines (big width)

    As pointed out above, use alpha blending for GL_LINE_SMOOTH. Call glLineWidth to tweak the thickness when wider than 1px (with alpha=1.0). To draw lines that appear thinner than 1px, scale the alpha,...
  20. Replies
    1
    Views
    1,052

    Re: Animated camera transition

    I can only suggest to check out transformation matrices, specifically 4x4 matrices used in OpenGL. Essentially it stores the same stuff you have in your structure, and more.

    A 4x4 OpenGL-style...
  21. Replies
    12
    Views
    3,412

    Re: Shadow Mapping - merging textures

    What Alfonse means is that you should loop through the light sources in your GLSL shader when drawing the shadow receiver. Compute the lighting (N dot L etc) and sample the per-light source shadow...
  22. Replies
    2
    Views
    1,019

    Re: hang when running two programs side by side

    I've had some luck now by disabling multi-sampling and downsizing FBOs.
  23. Replies
    2
    Views
    1,921

    Re: Rendering UI Elements

    There is no clear distinction in OpenGL between 2D and 3D rendering, and as such, 2D rendering is similar to 3D. There are some direct frame buffer operations you can do (particularly glDrawPixels),...
  24. Replies
    4
    Views
    2,912

    Re: GLSL equivalent of glPolygonOffset

    Aah, thanks Eric, I now get it, and thanks for the links.


    Because I was under the erroneous impression that ftransform() was required for polygon offset to work. I must have had a bug in my...
  25. Replies
    4
    Views
    2,912

    GLSL equivalent of glPolygonOffset

    I've seen many variants of GLSL shader samples that simulate FFP rendering, but none that covered polygon offset.

    According to the spec/manual, polygon offset is a fragment operation, not...
Results 1 to 25 of 335
Page 1 of 14 1 2 3 4