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: Mikkel Gjoel

Page 1 of 6 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,032

    Have a look at this presentation about Screen...

    Have a look at this presentation about Screen Space decals, essentially rendering "on the depthbuffer"....
  2. Replies
    7
    Views
    2,514

    While this is somewhat unconventional, and will...

    While this is somewhat unconventional, and will not result in the simplest possible code, I regularly argue for creating code that require no prior knowledge to read. In the case of a matrix-library,...
  3. I just want to add that, like...

    I just want to add that, like shadowmap-rendering, your fragment program can be a complete passthrough (here glsl330):


    vertex program:

    layout(location = 0) in...
  4. Replies
    5
    Views
    1,550

    Have a look at the work done here:...

    Have a look at the work done here: http://www2.compute.dtu.dk/~janba/Wireframe/ - nvidia implementation (though in opengl) here:...
  5. Replies
    21
    Views
    4,217

    Yes, exactly :)

    Yes, exactly :)
  6. Replies
    21
    Views
    4,217

    As far as I am aware, both are right, they are...

    As far as I am aware, both are right, they are talking about two different scenarios.

    If you switch between fewer rendertextures (of same size) than the maximum number of FBO-attachments, you can...
  7. Replies
    5
    Views
    987

    Re: amd: no callstack with debug context

    Alfonse - I am, not just the infolog.
  8. Replies
    5
    Views
    987

    amd: no callstack with debug context

    I have had this issue for a while: When running on an AMD card with an OpenGL debug context, the callstack is severed at the driver-level, when receiving debug-callbacks. Same code gives a full...
  9. Replies
    5
    Views
    3,886

    Re: PerfHUD for opengl

    Your best bet for performance profiling currently is either gDebugger ( http://www.gremedy.com/download.php ), or rolling your own using timer-queries.

    Nvidia's NSIGHT does show you the time each...
  10. Replies
    4
    Views
    3,058

    Re: From Z-up to Y-up

    If you don't multiply an axis by -1, you'll end up with mirrored models with all the joys that come with that - inside-out, inverted triangle-winding and normals.

    Rotating should be fine, and...
  11. Replies
    2
    Views
    1,601

    Re: FBO stencil test

    Completely dodging your question, you should be able to render your skybox by simply checking against the depthbuffer.

    So for example:
    - clear depth+color
    - render g-buffers
    - calculate...
  12. Replies
    2
    Views
    1,300

    Re: HDR in older cards, how?

    Also have a look for logLUV and RGBM (particularly useful for lightmaps). And "light indexed deferred rendering".

    - for available texture-formats, see...
  13. Replies
    5
    Views
    1,809

    Re: Storing Lines in Obj File

    http://local.wasp.uwa.edu.au/~pbourke/dataformats/obj/


    You store lines in an obj-format like you say


    And display it in your program like carsten says
  14. Replies
    4
    Views
    7,136

    Re: Loop Subdivision

    The Real-time rendering-book is your friend. Go get it! Depending on how fast you need the subdivision to be, versus how much time you want to spend implementing it, this is the fastest way to do...
  15. Re: Need some advice about cascaded shadowmap

    The most common way to layout cascades is in a texture-atlas. Have a look at this presentation:

    http://www.slideshare.net/repii/02-g-d-c09-shadow-and-decals-frostbite-final3flat

    Also, just for...
  16. Replies
    1
    Views
    1,130

    Re: Creating a Bezier's path

    The magic search-words are "ark length parameterization". See e.g. http://www.saccade.com/writing/graphics/RE-PARAM.PDF
  17. Replies
    3
    Views
    1,127

    Re: Automatic Rendering function or library

    Generating faces from a set of points is not trivial, and is well outside the domain of OpenGL. There are a number of libraries and programs that will do this for you - have a search around for...
  18. Replies
    1
    Views
    1,328

    Re: Question regarding cascaded shadow map

    1. Yes, layout your cascades in a texture-atlas (often 2x2).

    2. A directional light is an orthographic projection, you can't sensibly use a perspective projection instead. I don't know what you've...
  19. Replies
    60
    Views
    23,763

    Re: Too far from origin (again)

    You don't need to subtract the viewpoint from the model-vertices.

    You need to create a single origin for your model-vertices (e.g. the average), and make your vertices relative to this origin.
    ...
  20. Replies
    8
    Views
    1,721

    Re: JoinSwapGroupNV

    Do you have gen-locked nvidia quadro-cards synced up between the two machines? Otherwise this won't work... just asking to make sure :) Also, this won't actually get you the same frame on both...
  21. Replies
    60
    Views
    23,763

    Re: Too far from origin (again)

    This is not going to work - you need to change the coordinates to something that will fit reasonably into floats.

    If I understand you correctly, you have a chunk of land "far away". One way to...
  22. Replies
    60
    Views
    23,763

    Re: Too far from origin (again)

    As you say: If you put a matrix inside a display list, it will be of low precision - it makes no difference. So you still need to only put the "final" transformation-matrices into lists.

    What I...
  23. Replies
    60
    Views
    23,763

    Re: Too far from origin (again)

    Yes. You can create a display-list containing only the matrix-multiplication, and call it from your "drawObject" displaylist. That way you only have to recompile a very small list.

    Side note: If...
  24. Replies
    60
    Views
    23,763

    Re: Too far from origin (again)

    True, but the point of doing it in double-precision is that your end result (viewspace coordinates) will suffer less from the conversion to single-precision (as they are now "2m from the eye" rather...
  25. Replies
    60
    Views
    23,763

    Re: Too far from origin (again)

    Going over the old thread, I think the basic thing you're missing is:

    Never use glTranslate.

    You need to use a matrix library in your own code, and only send the final matrices to the gpu...
Results 1 to 25 of 129
Page 1 of 6 1 2 3 4