-1

I'm using ThreeBox to build and design a map with 3D Objects. Is there any way to change the camera position in ThreeBox?

I am supposed to put the camera behind an object and make it navigate in the third person, but my first problem is how to position the camera behind the object.

Marinheiro
  • 27
  • 4
  • please try to be more specific or at least put minimum effort in explaining the problem. – Epimetheus Jan 21 '21 at 13:34
  • @Epimetheus I edited the question to specify the problem. – Marinheiro Jan 21 '21 at 15:18
  • sorry,jscastro.I have a problem here that I need to trouble you 这是[链接](https://stackoverflow.com/questions/70300674/can-threebox-use-post-progress-like-threejs-webglrendertarget-shaderpass-and-eff)! – GISer Dec 10 '21 at 06:45

1 Answers1

0

Threebox uses Mapbox camera to sync the perspective, so you only have to change the map camera view through map.flyTo where you can specify coords, zoom, pitch and bearing to find your desired position. You have an example of mapbox flyTo.

Indeed I personally use this feature in all my projects adding these attributes to the feature.properties that I use to generate every 3D object

jscastro
  • 3,422
  • 1
  • 9
  • 27