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

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,078

    Vertex precision?

    So i'm plotting a bunch of points on the screen. The problem is that if I read them from a file and center them around (0,0,0) everything works fine. If I instead use their values (very large...
  2. Re: glulookat or glrotate/gltransform for point sprite

    I think I'll have to look through my drawing portion and see what can be improved. I'm using VBO's to draw the points, would you consider that the most efficient way of drawing points?
  3. glulookat or glrotate/gltransform for point sprite

    Hey guys,

    I have a very large point sprite >10 million points and I'd like to figure out what would be the fastest way to rotate and transform this sprite. Right now i'm using glrotate and...
  4. Replies
    6
    Views
    1,951

    Re: Shaders or VBOs for point clouds?

    So I just tried drawing 50k at a time and it didn't seem all that impressive. I'd say slightly better, but nothing spectacular. Might go from 1.5fps to maybe 2fps.

    M//Hax: I got a Quadro NVS...
  5. Replies
    6
    Views
    1,951

    Re: Shaders or VBOs for point clouds?

    So I assume I'm doing a STATIC_DRAW. The points are always stationary and don't move in space all that moves is the camera around them. Here is the code on how I draw the points.



    ...
  6. Replies
    6
    Views
    1,951

    Shaders or VBOs for point clouds?

    Hey guys,

    So I have a code that plots a bunch of points on the screen. They all have position and color associated with them. Currently I'm using VBOs to display them and it works fine. Points...
  7. Replies
    3
    Views
    614

    Re: Objects drawn in odd order

    Got it fixed. My near plane was set too close. Basically having it close to 0 is not good. Changed it using gluPerspective() and now everything works like a charm.

    Thanks ZbuffeR
  8. Replies
    3
    Views
    614

    Re: Objects drawn in odd order

    well did enable the depth test, but I'm not sure how to set the near and far clip plane. Off to google I guess :)

    Thanks.
  9. Replies
    3
    Views
    614

    [SOLVED] Objects drawn in odd order

    Hi guys,

    So I'm doing a lot of complicated things in my code, but what I have is a very simple problem that should be very basic, but I can't figure out how to fix it for the life of me.
    ...
  10. Replies
    6
    Views
    4,568

    Re: Drawing many cubes

    Well I found this page: http://sol.gfxile.net/cubes.html, but there isn't much in the way of source code. I'd like to see how he does arb_draw_instanced.
  11. Replies
    6
    Views
    4,568

    Re: Drawing many cubes

    They are organized on a grid and they'll never overlap. Even though it is for debugging we use the viewer to demo some capabilities and having a slow viewer seems to give people wrong impression of...
  12. Replies
    6
    Views
    4,568

    Drawing many cubes

    Hi guys,

    So I've been struggling trying to figure out what is the best way to plot many cubes. I basically have a scene that needs to draw anywhere between 10,000 and 500,000 cubes. These cubes...
  13. Replies
    5
    Views
    17,130

    Draw XYZ-axis in corner

    Hey guys,

    I'm having a hardest time drawing the XYZ-axis in the corner of my screen. I'd like it to stay in the corner as I rotate the scene and zoom in/out. I tried getting the OpenGL space...
  14. Replies
    2
    Views
    1,229

    Re: Objects disappear when rotating

    Numbers are already like that. It's a pretty large model, so z is more like -1000.0. I can't really narrow down as to where the problem is, since it's completely random. I could see if it was...
  15. Replies
    2
    Views
    1,229

    Objects disappear when rotating

    Hey guys,

    I'm having an issue where the 3 lines that I draw disapear as I rotate the scene. It's a pretty simple model of 3 lines(think x-y-z axis), but sometimes I have all 3 show up and...
  16. Replies
    16
    Views
    6,855

    Re: Drawing milions of points?

    But wouldn't it send the stuff to VRAM eventually? and this would cause an out of memory error? I would have to cull the points before putting them in VBO or at least before sending the VBO data to...
  17. Replies
    16
    Views
    6,855

    Re: Drawing milions of points?

    So I just tried VBOs and I still get "out of memory" error. It makes sense since all VBO does is copies the data into vram instead of working from main memory.

    I figured for 12 milion points I'm...
  18. Replies
    16
    Views
    6,855

    Re: Drawing milions of points?

    points are static and all we do with them is simple viewing. We want to be able to view them (rotate, zoom-in/out, ...) and then overlay some data at later time, but that's minimal.
  19. Replies
    16
    Views
    6,855

    Re: Drawing milions of points?

    I have a Quadro NVS 135M with 128mb of on-board vram. Basically I draw the points using the vertex array. Here is some pseudo code:


    float vertices[]
    forloop
    populate vertices[] with x,y,z...
  20. Replies
    16
    Views
    6,855

    Drawing milions of points?

    Hey guys,

    I have a large amounts of points that need to be drawn on screen. We're talking on the order of 6+ milion. Now the issue I have is that I'm pushing the limits of the card an I'm...
Results 1 to 20 of 20