How to adjust the height and camera to look at when the scene loads for the 1st time
-
-
- Official Post
Hi,
by default the vertical viewer/camera position is controlled by the view.ty setting and is independent from the content (like a loaded 3d-model).
But when using the depthmap_navigation.xml and the 'collision' and 'groundcollision' settings are enabled, then the height from the detected ground at the current position is defined by the 'eyelevel' setting.
See the documentation from the depthmap_navigation.xml for details:
krpano.com - Plugins - XML Extensions
or see its code:
Best regards,
Klaus -
-
- Official Post
Add groundcollision="true"
-
-
- Official Post
What view angles?
The view.tx and view.ty settings are wrong in your code.
See here for information about the <view> element:
https://krpano.com/docu/xml/#viewBtw - eyelevel=360 means a height of 360cm (in VR that might look wrong)
-
Thanks it worked
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!