Hello, I have a model loaded and want to get the height of the given position with longtitude and latitude on this model (the position is on the top surface of the model).
This is not the same situation as position picking,since the position I have is a wgs84 position, it is not sutable to use “SceneTransforms.wgs84ToWindowCoordinates” to get the windows position and then get the height through “Scene.pickPosition”.
Hello, I have a model loaded and want to get the height of the given position with longtitude and latitude on this model (the position is on the top surface of the model).
This is not the same situation as position picking,since the position I have is a wgs84 position, it is not sutable to use "SceneTransforms.wgs84ToWindowCoordinates" to get the windows position and then get the height through "Scene.pickPosition".
Is there any method could I get the height?
Hi.
I have the same problem. I want to calculate the top position on the model 3d tiles. with special cartesian3. I tried picking scene with a ray but failed. How to pick model position with a ray instead of a window 2d position?
Unfortunately I don’t think we support what you’re asking for.
Getting the height does require a pick, but since the pick position uses the depth buffer of the camera, it is not possible to do it for an arbitrary longitude/latitude since that might not even be visible from the camera.