[osg-users] ProgramBinary and shader composition - does it work?

2020-02-19 Thread OpenSceneGraph Users
Hello Robert, I was looking in the glProgramBinary support in osg::Program. I don't *think* it is integrated with your "pragmatic" define-based shader composition system. Specifically there doesn't seem to be a way to associate a ProgramBinary with a particular defineString at the

Re: [osg-users] AutoTransform cannot be picked up correctly

2020-02-19 Thread OpenSceneGraph Users
Thanks tor the test program. I've got it compile on my Linux system with just removing the Windows headers you added, why were these added? I can confirm the problem, I can pick the cessna without the AutoTransform by zooming in but not the one under the AutoTransform. I haven't yet had a

Re: [osg-users] [Performance] Update dynamic vertices in drawable by external incoming data

2020-02-19 Thread OpenSceneGraph Users
Hi Robert, thank you for your advice about initial setup of a big array. That is a big help. As you said:*"There a number of ways to go about this type of task, which route to take will depend on your needs/hardware available."* My hardware is a window10 PC with intel i7 8550U CPU and

Re: [osg-users] [Performance] Update dynamic vertices in drawable by external incoming data

2020-02-19 Thread OpenSceneGraph Users
HI Yuan, There a number of ways to go about this type of task, which route to take will depend on your needs/hardware available. In principle pass 400-800 points each frame is not a large and should work easily at 60fps without any issues. One most efficient way to do this is to create an

[osg-users] [Performance] Update dynamic vertices in drawable by external incoming data

2020-02-19 Thread OpenSceneGraph Users
Hello everyone, I am not experienced at osg and want to post my question here (please bear me if my question is stupid). Here is the backround of my question: I get 400 ~ 800 incoming points of simulated road marks by one programm every 20 ~ 30 ms. My Programm is fed by these points