PDA

View Full Version : Display of huge data



ItsMe
08-30-2011, 01:00 AM
I have an extreme situation where i have to display 3D points (x,y,z) of the order of 90 millions in my viewport in Windowfit commands etc.

Does openGL as such has any limitations in handling data vis-a-vis the number?

Alfonse Reinheart
08-30-2011, 02:08 AM
What are Windowfit commands?

A.Conz
08-30-2011, 02:09 AM
if i am not mistaken 90 millions points are something like 2GB only for double precision position data. that could be a problem!

ItsMe
08-30-2011, 02:19 AM
What are Windowfit commands?

by WindowFit, i mean fitting the entire data (90 million poits) into view port.

V-man
08-30-2011, 03:13 AM
I have an extreme situation where i have to display 3D points (x,y,z) of the order of 90 millions in my viewport in Windowfit commands etc.

Does openGL as such has any limitations in handling data vis-a-vis the number?

Nope. OpenGL is not a piece of hardware. It is an API to sending commands to the GPU.

Store your points into a few VBOs and render away. Make each VBO 4 MB.

Alfonse Reinheart
08-30-2011, 03:20 AM
by WindowFit, i mean fitting the entire data (90 million poits) into view port.

Does your viewport actually have 90 million pixels of resolution? If not, then you may want to consider some kind of culling to not render things that aren't visible.

Also, there's no way you're going to fit 90 million positions onto the GPU. So you're going to have to either use immediate mode or do some work dynamically transferring groups of pixels that you determine are visible.

ItsMe
08-30-2011, 05:38 AM
Does your viewport actually have 90 million pixels of resolution?
How could one determine this?



If not, then you may want to consider some kind of culling to not render things that aren't visible.

Some explanation will be helpful for me to understand further.



Also, there's no way you're going to fit 90 million positions onto the GPU. So you're going to have to either use immediate mode or do some work dynamically transferring groups of pixels that you determine are visible.

Some explanation will be helpful for me to understand further.

A.Conz
08-30-2011, 06:13 AM
1) putting it in a simple way if your resolution is 1024*768 you have 1024*768 pixels
2) if some of your pixels are behind other pixels you are not forced to draw them (or even store them)
3)as i told you, maybe your graphics card can't handle 2GB of points data stored in one or multiple VBOs

A.Conz
08-30-2011, 06:16 AM
and using immediate mode will take eons ;)

Alfonse Reinheart
08-30-2011, 11:28 AM
How could one determine this?

I was being facetious. Unless you're running at a resolution of 11250x8000, you don't have 90 million pixels of display resolution. So, unless some of the pixels are translucent, you don't need to draw that many pixels.

BionicBytes
08-31-2011, 03:05 AM
Ah but he did originally ask:

3D points (x,y,z) of the order of 90 millions
So even on a 1000 * 1000 (1 million pixel) display he could easily fit 90 million points given the fact that there is depth to consider.
So assuming he's drawing these points with perspective projection he will definately need to attempt some type of optimisation where possible.
If these points need alpha/blending then depth sorting will be an expensive task.