mapbox-gl-js icon indicating copy to clipboard operation
mapbox-gl-js copied to clipboard

visualizing a geo-referenced 3d model using threejs

Open boraerden opened this issue 3 years ago • 1 comments

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

boraerden avatar Jan 18 '22 22:01 boraerden