As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [three-js]

JavaScript library to display 3D computer graphics in a Web browser.

Filter by
Sorted by
Tagged with
2 votes
1 answer
38 views

Qgis2threejs layer disappear when tilting low

I was able to create an interactive 3d model with the help of the splendid QGIS, Qgis2threejs-plugin and open Geodata (DEM, DSM, Orthophoto and Buildings all come from public sources but are ...
Beni's user avatar
  • 103
0 votes
0 answers
199 views

Rotating multiple GLTFs in THREEJS seem to rotate all GLTFs with the last rotated GLTF

I am trying to rotate a lot of GLTFs and position them. Hence I have written a function to load, rotate and transform them. Usually to ensure rotation around the center I would use .center() on the ...
Zack Younger's user avatar
1 vote
0 answers
544 views

Three.js compass implementation

i implemented a compass for my three.js scene based on https://jsfiddle.net/prisoner849/gpbyw3co/ , but when i rotate object in my scene,the compass is is not showing the north correctly. Now i search ...
george's user avatar
  • 105
1 vote
0 answers
43 views

OBJ file not loading in GIScene.js

I am trying to load a OBJ file in GIScene.js. Unfortunately, the OBJ file is not getting visualized inside scene of GIScene.js, even though the scene of GIScene.js is getting visualized. There are no ...
Sreeraj's user avatar
  • 729
1 vote
1 answer
1k views

Unable to load .glb (GLTF) in a scene of GIScene.js

I would like to load a .glb file, which is the binary format of GLTF in a scene of GIScene.js (https://giscience.github.io/GIScene.js/). <html> <head> <meta charset="UTF-8&...
Sreeraj's user avatar
  • 729
1 vote
0 answers
83 views

3D map in ThreeJS remove perforation

I did this 3D map with ThreeJS in QGIS:3D population density map I almost done, but I need help to remove or fill perforations/hole. Can anyone help me to do this?
endy's user avatar
  • 73
1 vote
0 answers
261 views

Import raster layer to Potree viewer

I need to import a raster layer into Potree viewer. I don't need to extrude raster by pointcloud. I only need a raster base layer. There is examples with Cesium, but it is too heavy for my task. Maybe ...
Sergey N's user avatar
  • 309
0 votes
1 answer
2k views

Volume calculation using potree/three.js?

I am using Potree/three.js web viewer for visualisation of 3D cloud points. I would like to compute the volume inside the user defined polygon. Potree supports only drawing a cube in measure tool. ...
Senthil S's user avatar
  • 125
0 votes
0 answers
682 views

Loading collada into 3D view of QGIS using Qgis2ThreeJs Plugin?

I have been looking at documentation and other posts but cannot find a way to load a 3D model into QGIS. I Installed the qgis2ThreeJs Plugin. I have tried to load a collada file in a temporary ...
paulg568's user avatar
1 vote
2 answers
440 views

Potree Converter - adding to output folder later - duplicate names issue

I use the Potree Converter (Windows application) to bulk convert .LAZ files and generate them into a (shared) output folder. This works great, as each output file/folder generated is uniquely named. ...
Jimmyfishbean's user avatar
1 vote
1 answer
848 views

Project UTM Coordinates to three.js Coordinates With D3

I've been working on an application where I am building a 3d terrain, using three.js. The part I have working so far is building the 3d terrain mesh from standard 30m elevation data, and then draping ...
user890's user avatar
  • 5,681
2 votes
0 answers
622 views

Generate 3D terrain Model at Runtime dynamically

I need to subset terrain in Cesium and make the output exportable in any of the common formats like WRL, OBJ etc. I have found one such example here. I have been searching the web for days but ...
Badar Munir's user avatar
1 vote
1 answer
2k views

Remove point cloud from Potree/Threejs-scene

I'm updating the cloud.js document while Potree is running on the client. When finished updating, I'd like to update the point cloud for the client. I tried to really update the client to re-read the ...
Willem van Opstal's user avatar
2 votes
1 answer
346 views

Visualization of tin-created DEMs in QGIS via threejs results in tall 'church-spiral-like' column?

I keep having this problem while doing a simple 3D visualization of my newly created DEM in QGIS via the threejs plugin. I work in Balkan Zone 7 metric system and, when I try to visualise the DEM ...
escplat12's user avatar
  • 793
2 votes
1 answer
4k views

Viewing 3D XYZ vector file in QGIS with QGIS2threejs plugin

Anyone know how to view points (vector file) in 3D using QGIS2threeJS plugin? It seems to work for terrain models but is not simple to figure out 3d point cloud plotting. See attached fig. I am ...
BenjiDa's user avatar
  • 73
2 votes
1 answer
646 views

dynamic display of 3d DEM using QGIS [closed]

When I used QGistoThreejs plugin in QGIS and run after adding a tif file... the output generated with the files created in the specified location.... Let's say if I name it as sample.html when I run ...
anuritha's user avatar
3 votes
1 answer
705 views

Drawing GeoJson polygon in arbitrary coordinate system

I have a GeoJson polygon I am trying to draw in a 3d scene using d3 and three.js I have done this before when the polygon was represented in lat, lng coordinates, but in my case the coordinate system ...
roob's user avatar
  • 141
2 votes
2 answers
1k views

Visualising DEM with threejs plugin?

I have DEM file for a small mountain created from TIN interpolation of points. The DEM looks correct on the flat QGIS working area. The moment I try to visualize a 3D of the DEM using threejs, I get ...
escplat12's user avatar
  • 793
1 vote
1 answer
775 views

Visualizing interpolation result with three js in QGis

I used topographic map to trace the contours in QGIS. For each line, I added an attribute value (ex. 565, 564, 563 etc). After that, I used the IDW and TIN interpolation methods to create a couple of ...
escplat12's user avatar
  • 793
1 vote
0 answers
1k views

using openlayers 3 and three.js to use openlayers 3 map as texture

I am trying to use Openlayers 3 along with three.js to use openlayers output map as texture. I found that openlayers 3 is webgl based and so is three.js. So they must be compatible. What I have done ...
Ritesh Jung Thapa's user avatar
1 vote
0 answers
180 views

Why does my threejs map render outside of the visible extent of the browser?

I created a 3d visualization using qgis2threejs but the map renders outside the visible extent of the browser window so I have to pull it down into the window each time. Is there a way to change the ...
frogmapr's user avatar
3 votes
3 answers
1k views

How to host QGIS threejs outputs?

Is there a free simple way to serve / host the .html files the awesome Qgis2threejs plug-in produces? I have tried using Google Drive as shown here and here without success. Also had same results ...
sirgeo's user avatar
  • 1,999
2 votes
1 answer
1k views

How to update Trackball controls at three js

I have a project at three.js created from qgis to threejs export where i need to update the trackball controls on window resize.. I need to do that updating the whole controls calling the function ...
prieston's user avatar
  • 219
5 votes
6 answers
2k views

Qgis2Threejs returns empty page

When I try to make 3D scene from DEM with Qgis2threejs it creates an empty HTML page. I also try to make 3D thematic map from shapefile with the same result. I have also check my browser and it ...
Dejan Jungić's user avatar
2 votes
2 answers
407 views

How to get the z(elevation) value from a rendered map at webgl(Qgis2threejs plug-in)? [closed]

I am interested at getting the z value at any lat and long i want. For example i have made a 3D map using Qgis2threejs plug-in and it showed the map rendered using three.js library. The elevation ...
prieston's user avatar
  • 219
1 vote
2 answers
4k views

OpenLayers 3 and Three.js

I have asked this question in StackOverflow, but got no useful answer - So perhaps I could get some help here. I would like to generate a 3d Terrain using THREE.js, and I would like to overlay ...
Sean's user avatar
  • 205