[osg-users] Rendering huge point clouds

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Tue Oct 6 00:47:13 PDT 2020


Hello,

You will need to subsample that, 4GB is way too much to display at once
unless you have crazy hardware. One way of doing that is by building an
octree and rendering only a fixed amount of points closest to the camera
position.

For the rendering itself the fastest method is to use instancing and a
custom shader that will generate whatever needs to be displayed for each
point e.g. using a geometry shader. In that way you can render a few
millions of points every frame without too much craziness if you have
decent hardware.

Jan


On Tue, 6 Oct 2020 at 01:18, OpenSceneGraph Users <
osg-users at lists.openscenegraph.org> wrote:

> Hi Community,
>
> This might be an easy issue but I am struggling just with it. I have an
> array of  4GB of vertex data (position, normal, color) and I am trying to
> render the most optimal way. I am considering creating batches but it is
> not working well. Any hints, snippets are highly welcome!
>
> Thanks a bunch as always!
>
> Cheers,
> Nick
>
> --
> trajce nikolov nick
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenSceneGraph Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to osg-users+unsubscribe at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/osg-users/CAO-%2Bzi%3D-1N%3DjS1oQ%2BHcoyEuZWCwGa%3Dszxctt_BJAni3PTyczRQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/osg-users/CAO-%2Bzi%3D-1N%3DjS1oQ%2BHcoyEuZWCwGa%3Dszxctt_BJAni3PTyczRQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20201006/7f306322/attachment.html>


More information about the osg-users mailing list