Re: [osg-users] Adding billboards with different names under the same geometry?

2020-05-21 Thread OpenSceneGraph Users
Ah, right, now I see it! Thank you both! It's working now. On Thursday, May 21, 2020 at 5:48:32 AM UTC-3, OpenSceneGraph Users wrote: > > Hi Rodrigo, > > from my understanding the number of Billboards, each an individual > instance, is not > the problem in OSG. The cull traversal has to handle

Re: [osg-users] Adding billboards with different names under the same geometry?

2020-05-21 Thread OpenSceneGraph Users
Hi Rodrigo, from my understanding the number of Billboards, each an individual instance, is not the problem in OSG. The cull traversal has to handle it independant of being an individual instance or being a single instance, reused after a transform. So you can create them and give names to

Re: [osg-users] Adding billboards with different names under the same geometry?

2020-05-21 Thread OpenSceneGraph Users
Thank you for your reply, Robert, but one of us is not understanding the other. "if you are reuse the same subgraph the node above the reused part like the osg::Billboard is what is unique so put your unique name on that" Actually, I have only one osg::Billboard (geodeHidreletrica) for

Re: [osg-users] Adding billboards with different names under the same geometry?

2020-05-21 Thread OpenSceneGraph Users
If the approach is producing good enough performance then I'd stick with it. It's a long way from the most optimal way you could do this type of task, but all the alternatives are more complicated and require deeper understanding of OSG/OpenGL/shaders. I'll not attempt to make suggestions as you

[osg-users] Adding billboards with different names under the same geometry?

2020-05-20 Thread OpenSceneGraph Users
Hi, I'm displaying icons over the terrain as billboards (always facing the user). These icons represent structures and landmarks (hydroelectric dams, national parks, mountain peaks, mining projects...), so I'll load some tens of thousands of them, and show some hundred or a few thousand at a