Questions tagged [threebox]

22 questions
0
votes
1 answer

Threebox with tile suorce

I'm new to threeBox and I'm developing a mapbox-gl-js map that has a 3D buildings (fill-extrusion) layer from tiles source. I want to add a symbol/icon layer with elevation from tile source useing threeBox (like icon over special buildings etc.).…
Yoad
  • 35
  • 6
0
votes
0 answers

Three.js GIS Map (connect layers/attributive information)

Q: How to connect Three.js with any GIS map and place/process .JS (important .js) object there? Description: I have an app with .js model and 3D mesh model (tiles), now I need to retrieve the attributive information of the map (3D mesh) objects…
0
votes
1 answer

threebox "projectToWorld" returns values exceeding canvas, how do I fix this? (with sample code)

I recently found out there is a very handy method in three-box for placing three.js objects on the map which is "projectToworld". While trying to place my three.js objects using the method, I realized that the Vector3 the method returns are really…
BS100
  • 823
  • 6
  • 22
-1
votes
2 answers

How to find the diagonal length of a Box3 in Three.js and Threebox

I'm using Threebox (a Three.js plugin for Mapbox) to load 3D models of buildings to a map. There is support for a certain level of interactivity with the buildings (rotating and moving). The rotation functionality is accessed via a floating ring…
Axekan
  • 641
  • 5
  • 11
-1
votes
1 answer

Object Rotation in Three.js / Threemap

I am trying to create a 3D Visualization of an RC airplane in Threebox. The RC plane sends live telemetry, including: GPS Coordinates Gyro sensor data, showing the pitch, roll and heading of the plane. I have now loaded a Model of an airplane in…
Verion
  • 1
-1
votes
2 answers

Threebox how do I get all 3d objects on the map?

I need to get an array or object with all 3D models that have been added to the Mapbox map, as it is on the screenshot below. How can I get these objects? I was trying to do something like this code but it didn't work. const buildings3DModels =…
bohdan baida
  • 389
  • 1
  • 5
  • 20
-1
votes
1 answer

How to change the camera position in threebox?

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…
Marinheiro
  • 27
  • 4
1
2