How to adjust the height and camera to look at when the scene loads for the 1st time
-
-
- Offizieller Beitrag
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 -
-
- Offizieller Beitrag
Add groundcollision="true"
-
-
- Offizieller Beitrag
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
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!