mapbox / mapbox-gl-js

Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
https://docs.mapbox.com/mapbox-gl-js/
Other
10.87k stars 2.19k forks source link

visualizing a geo-referenced 3d model using threejs #11417

Open boraerden opened 2 years ago

boraerden commented 2 years ago

I am having issues visualizing a geo-referenced 3d model using a threejs custom layer. Hoping someone can lend a helping hand :)

I created a dummy .obj file that contains 6 vertices (outlining an island in Paris and creating an extruded shape) in EPSG:32631 WGS 84 / UTM zone 31N.

Here is a similar dummy .obj file closer to world origin for debugging purposes.

The desired outcome is something like this: desired outcome

But in effect, nothing is showing up at that location.

I created a codepen for ease of debugging.

Any help would be appreciated!

Originally posted by @boraerden in https://github.com/mapbox/mapbox-gl-js/issues/10392#issuecomment-1011504940

renjithraj2005 commented 4 days ago

does this issue resolved?