I don’t know how to achive that effect. There is my attempt to do this.
I want this red cylinder to have same orientation as camera.
When camera looks down to the globe surface cylinder should also point in the same direction.
I don’t know how to achive that effect. There is my attempt to do this.
I want this red cylinder to have same orientation as camera.
When camera looks down to the globe surface cylinder should also point in the same direction.
If you’re simply trying to visualize the camera frustum, you might find the 3D Tiles Inspector helpful for this: https://sandcastle.cesium.com/?src=3D%20Tiles%20Inspector.html
Select “+ Update” and then “Freeze frame”. This uses the DebugCameraPrimitive: https://cesium.com/docs/cesiumjs-ref-doc/DebugCameraPrimitive.html?classFilter=debug