I want to implement label with custom behavior (like attached to a specific geometry, custom rotation behavior, custom position along the geometry and follow the camera, etc.).
We currently use internally our own fork of osgearth with already some custom functions. So I'm thinking of 2 possible approaches:
- creating a new type derived from GeoPositionNode (or LabelNode) and directly expose it from osgearth annotation library.
- creating a full driver with my new type.
I have difficulties to evaluate the amount of work for each and the needed amount of code to make it work.
So what would be the best approach?
Or maybe is there a better/easier/faster approach?