SilverLining / Rocky integration ideas #22
Unanswered
fkane
asked this question in
Q&A / Support
Replies: 1 comment 3 replies
-
Frank, the Rocky API is very open, like VSG. Most members are public and it's easy to get into the guts of things. The To get the coordinates of the current focal point of a view's camera, you can call auto manip = app.displayManager->getMapManipulator(view);
auto viewpoint = manip->getViewpoint(); And that viewpoint will contains a I hope that works :) and I am happy to assist with testing. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We've got a customer asking about integrating SilverLining's new VSG support with Rocky for a pretty cool commercial application. Just wanted to check on any high-level guidance you might have for this sort of thing!
We've successfully wrapped SilverLining's sky and clouds in a vsg::Group, so in theory it's a matter of finding the top-level group for Rocky's scene and adding it as a child. Then we'd have to do stuff to sync up SilverLining's latitude, longitude, time of day, and "up" vector with Rocky like you're doing with osgEarth, along with a few changes to our reference VSG integration to put SilverLining into geocentric mode.
I can't build Rocky at the moment and play with it due to this issue, but that's not your fault. But just so I can start wrapping my head around it, is that top level group exposed to the application somehow, as well as the current camera position? Or would we need to go the osgEarth route of integrating at a lower level?
Beta Was this translation helpful? Give feedback.
All reactions