I have a little problem with altitude and 3D models.
I just need to be sure that the 3D model will be rendered at the right place in terms of altitude. I know for sure where are located the trigger point (in terms of latitude, longitude and of course altitude) but seems that when I put my 3D object, is floating in the view.
Is there any strategy to anchor the model to the ground?
Thanks, P.
W
Wolfgang Damm
said
over 9 years ago
The altitude is only obeyed if a good enough GPS signal is available so the altitude information can be trusted. Without that information the GeoObject will be drawn at the same altitude as the user.
If you can retrieve altitude information using a different technique you can inject a custom location with altitude information and an accuracy set to high. This will always render objects using the altitude information you provided.
P
Piervincenzo Russo
said
over 9 years ago
The altitude is only obeyed if a good enough GPS signal is available so the altitude information can be trusted. Without that information the GeoObject will be drawn at the same altitude as the user.
I see the point, good one!
If you can retrieve altitude information using a different technique you can inject a custom location with altitude information and an accuracy set to high. This will always render objects using the altitude information you provided.
Great, but:
1. How can I inject the custom location? Do I need to modify the sdk? What if I'm using an hybrid approach?
2. What happen if the user start to walk in 3D Model object? All will work fine in terms of scale / rotation (just in case the user start to move laterally)?
Thanks,
P.
W
Wolfgang Damm
said
over 9 years ago
1. For injecting custom location please see following documentation parts (depending on the platform/plugin you are using)
2. If the user walks into the 3D model there is no change in scale/rotation, except for what you would expect when change the view. Same is for any lateral movement, the height is based on the altitude of the GeoObject and the current location's altitude.
A
Alexi Carey
said
about 7 years ago
I am not seeing the links. They redirect to sorry page not found.
Piervincenzo Russo