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 5 1 2 3 4

Search: Search took 0.39 seconds.

  1. Replies
    21
    Views
    1,348

    Yes, exactly :)

    Yes, exactly :)
  2. Replies
    21
    Views
    1,348

    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...
  3. Replies
    5
    Views
    684

    Re: amd: no callstack with debug context

    Alfonse - I am, not just the infolog.
  4. Replies
    5
    Views
    684

    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...
  5. Replies
    5
    Views
    3,002

    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...
  6. Replies
    4
    Views
    2,152

    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...
  7. Replies
    2
    Views
    1,277

    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...
  8. Replies
    2
    Views
    1,111

    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...
  9. Replies
    5
    Views
    1,372

    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
  10. Replies
    4
    Views
    4,764

    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...
  11. 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...
  12. Replies
    1
    Views
    922

    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
  13. 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...
  14. Replies
    1
    Views
    1,069

    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...
  15. Replies
    60
    Views
    21,796

    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.
    ...
  16. Replies
    8
    Views
    1,353

    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...
  17. Replies
    60
    Views
    21,796

    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...
  18. Replies
    60
    Views
    21,796

    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...
  19. Replies
    60
    Views
    21,796

    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...
  20. Replies
    60
    Views
    21,796

    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...
  21. Replies
    60
    Views
    21,796

    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...
  22. Re: FBO for screenshoting in high resolution

    And in case you were wondering at this point :) - the way to do screenshots larger than the maximum FBO-size, is to divide your view-frustum into several slices, setting it up with glFrustum for...
  23. Replies
    7
    Views
    1,717

    Re: Render to texture and multi texturing

    Unless you are doing this for a device that doesn't support shaders, I would highly recommend taking a look at them. These sort of things tend to be a lot easier to get a grasp on using shaders.
    ...
  24. Replies
    3
    Views
    2,073

    Re: Wireframe (line draw) and Z-Fighting

    I will just very quickly refer you to this page

    http://www2.imm.dtu.dk/~jab/Wireframe/

    - and add a couple of additional links to more info on the subject
    ...
  25. Replies
    11
    Views
    4,565

    Re: Desperate to load PNG files. (MSVC 2008)

    +1 for freeimage - simple, easy and works.

    -1 for OpenIL (DevIL) - it's simply been out of development for too long, the OpenGL-like interface is overthought (and overly complicated), and it is...
Results 1 to 25 of 125
Page 1 of 5 1 2 3 4