Open saedrna opened 8 years ago
This isn't currently supported, and I have no plans to add it. Implementing it yourself is obviously possible, but it's not straightforward, as you would need to handle projection.
I think if I would like to add dynamic geometry inside Pannellum, this may be a little difficult, as I need to create 3D geometry.
However, I think I have come up with a simple work around with static geometry, as the same as below. The static geometry means that in drawing polygons, the Pannellum viewer is grayed and fixed. So only 2D drawing on a transparent canvas overlaid on Pannellum is needed.
Is this still not available in pannellum? If so, do you know of other 360 panorama viewer which allows drawing simple geometries?
Is there any chance that pannellum can support drawing simple geometries?
I have some experiences with leaflet and can do the drawing on the map (also general image map is supported). see http://leaflet.github.io/Leaflet.Editable/example/index.html
But it seems leaflet does not support pano, and pannellum now supports getting mouse coordinates, is it possible for drawing functions? Or is this feature on the roadmap? Or some hints how to implement on top of pannellum?
I think this page will also describe the same things. Use the select region button on the top right.
http://3dwarehouse.sketchup.com/webtextures.html
Thanks!
Han