-
How to get camera-target and camera-orbit values for annotationsI was trying to re-create this zoom-in effect, once the annotation is clicked. From the documentation, on my custom model But how to get those perfect data-target and data-orbit attributes, set for my own annotations. I have added the annotations, as required using the editor. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
|
Indeed, this is great feature of our editor! Simply go to the Hotspots section of the second tab and you can add them by clicking. When you download the scene, the HTML is all built for you, ready for further customization. |
Beta Was this translation helpful? Give feedback.
-
|
hey could you help me out with same above issue? |
Beta Was this translation helpful? Give feedback.
-
|
If you want to recreate this page (https://rava-cycle-neotix.glitch.me/), you can take the camera target from the camera position data. Additionally, you can obtain the camera orbit from the editor, as discussed here:
For those who feel that the angle or position is not right, the issue may be related to the model. Since the Rava cycle uses a bicycle model, it allows us to view it from every angle and create smoother transitions. However, if you're using a 3D model with distinct "back" and "front" sides, you may not be able to adjust the position to the "front side" of your model (or it might be possible, but I'm not certain). Alternatively, if there is a way to reset the model's rotation to match the current camera position, it might provide a solution. |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I see that the dataPosition values collected from the editor can be used to set the dataTarget of hot spots. Is there a way to easily get the dataOrbit from the editor? Can the user rotate the model and retrieve some orbit values? |
Beta Was this translation helpful? Give feedback.
Indeed, this is great feature of our editor! Simply go to the Hotspots section of the second tab and you can add them by clicking. When you download the scene, the HTML is all built for you, ready for further customization.