Re: [osg-users] rendering the large point data

2010-10-29 Thread Chris 'Xenon' Hanson
On 10/29/2010 1:04 AM, J.P. Delport wrote: > Hi, > I've stumbled across this at a conference, it might be useful. > http://www.hpi.uni-potsdam.de/doellner/publications/year/2010/1086/RD10.html I couldn't find an electronic copy anywhere to read. Anyone have it? I'd love to read up on this. --

Re: [osg-users] rendering the large point data

2010-10-29 Thread J.P. Delport
Hi, I've stumbled across this at a conference, it might be useful. http://www.hpi.uni-potsdam.de/doellner/publications/year/2010/1086/RD10.html jp On 28/10/10 19:35, Vipin Panwar wrote: Hi, Xenon and Jordi, thanx for replying. I am also going for spatial blocking using quad trees and display

Re: [osg-users] rendering the large point data

2010-10-28 Thread Chris 'Xenon' Hanson
On 10/28/2010 11:35 AM, Vipin Panwar wrote: > Hi, > Xenon and Jordi, thanx for replying. > I am also going for spatial blocking using quad trees and display the block > and its neighbors when zoom in the data. But I want to know whether there is > more convenient method in OSG for these type of

Re: [osg-users] rendering the large point data

2010-10-28 Thread Vipin Panwar
Hi, Xenon and Jordi, thanx for replying. I am also going for spatial blocking using quad trees and display the block and its neighbors when zoom in the data. But I want to know whether there is more convenient method in OSG for these type of problems. Thank you! Cheers, Vipin --

Re: [osg-users] rendering the large point data

2010-10-28 Thread Jordi Torres
Hi Vipin, You can take a look to the .3dc plugin sources. Here the geometry is batched into chunks of 10.000 points, which is a well-working size for batching geometry as Chris said. If you spatialize your data correctly may be you don't have to use LOD techniques, it depends of the amount of data

Re: [osg-users] rendering the large point data

2010-10-28 Thread Vipin Panwar
Hi Javier, thanx for reply... initially, I was also making one primitive for whole data, but it was not rendering the huge data. It was working fine only for thousands of points. Thank you! Cheers, Vipin -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.p

Re: [osg-users] rendering the large point data

2010-10-28 Thread Chris 'Xenon' Hanson
On 10/28/2010 10:57 AM, Javier Taibo wrote: > I suggest you to use just one primitive for all the point cloud, not a > primitive for > each point. And depending on how many points you have, it may be necessary to break the full set up into blocks so that some can be culled and not drawn if y

Re: [osg-users] rendering the large point data

2010-10-28 Thread Javier Taibo
I suggest you to use just one primitive for all the point cloud, not a primitive for each point. You can use primitive type DrawArrays, try this code: lasGeometry->addPrimitiveSet( new osg::DrawArrays(osg::PrimitiveSet::POINTS, 0, no_points) ); instead of the for loop you are using. I

Re: [osg-users] rendering the large point data

2010-10-28 Thread Vipin Panwar
Hi, I am reading the points from LAS file and rendering the data. The data is not dynamically updated. I am pasting the subset fo code. So that you can find out how I am rendering the points... for(unsigned long k = 1; k < no_points; k ++) { lasVertices->push

Re: [osg-users] rendering the large point data

2010-10-28 Thread Vipin Panwar
Hi, I am reading the points from LAS file and rendering the data. The data is not dynamically updated. I am pasting the subset fo code. So that you can find out how I am rendering the points. for(unsigned long k = 1; k < no_points; k ++) { lasVertices->push_back( osg:

Re: [osg-users] rendering the large point data

2010-10-28 Thread Chris 'Xenon' Hanson
On 10/28/2010 10:25 AM, Vipin Panwar wrote: > I am working with 3-D point data. When I want to render millions of points, > either the rendering, zoom-in, zoom-out and panning goes very slow or the > program crashes. > Is there any method in OSG for rendering huge point data easily? You don'

[osg-users] rendering the large point data

2010-10-28 Thread Vipin Panwar
Hi, I am working with 3-D point data. When I want to render millions of points, either the rendering, zoom-in, zoom-out and panning goes very slow or the program crashes. Is there any method in OSG for rendering huge point data easily? Thank you! Cheers, Vipin -- Read this t