[osg-users] Large scale point clouds rendering with PagedLOD

Han Hu huhan8807 at gmail.com
Fri Mar 8 00:02:01 PST 2019


I am now doing point clouds rendering (probably city-scale) using osg.

The point clouds are indexed using entwine (https://entwine.io/) to the ept format.
Basically, we know the bounding box of the entire scene, and the point clouds are saved to disk with the name D-x-y-z.laz, where D is the level of the octree and x,y,z are the coordinates in the octree. 

Each child level, in the octree, is strictly subdivided by 2.

In addition, the levels are drawn additively. For example, 0-0-0-0.laz is the root, when I want to also show it's sub level 1-0-0-0 1-1-0-0 1-1-1-0 1-0-1-0, the four childs and 0-0-0-0 are both draw.

So I have two questions,

(1) I want to convert the EPT format, to the pagedlod format and saved as osgb file, is it possible for pagedlod that both parent and it's child are both drawn?

(2) The laz file also contains other attributes, such as lables (interger), return number (interger), I also want to implement shaders to render color by different attribute, is it possible to save these attribute in osgb and correctly bind the vertext buffer to the same program location?

Thank you!


Read this topic online here:

More information about the osg-users mailing list