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...
Type: Posts; User: metalac
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...
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?
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...
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...
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.
...
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...
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
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.
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.
...
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.
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...
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...
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...
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...
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...
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...
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...
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.
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...
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...