USNavalResearchLaboratory / simdissdk

SIMDIS SDK
Other
114 stars 39 forks source link

Updating GOG shape #100

Closed raghulsekar closed 11 months ago

raghulsekar commented 11 months ago

Is there any example to update GOG shapes using callback , i tried using example_customrenderingtest but the output was not as expected. I just need a shape attached to a property which updates for each second.

emminizer commented 11 months ago

Examples/GOGAttachments (example_gogattachments) shows the GOG attached to a platform that cycles through with a callback activated by a hot key. The Custom Rendering Test does not have any GOG, and instead is focused on custom render entities.

raghulsekar commented 11 months ago

will i be able to update x,y of the shape?

emminizer commented 11 months ago

If you change the string that controls the GOG generation sure. If you're looking to move GOG manually using some sort of transform, no; you can attach it to a platform as shown in the example. If you want more detailed control of individual shapes in the scene look at the underlying Features interface in osgEarth on which GOG is built upon.

raghulsekar commented 11 months ago

Sure will work on it