Experimental integration of THREE.PointCloud into Autodesk Forge Viewer.
Experimental integration of THREE.PointCloud into Autodesk Forge Viewer.
npm install
FORGE_CLIENT_ID
, FORGE_CLIENT_SECRET
, and MODEL_URN
env. variables
export FORGE_CLIENT_ID=<your client id>
export FORGE_CLIENT_SECRET=<your client secret>
export MODEL_URN=<your model urn>
node server.js
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Server",
"program": "${workspaceFolder}/server.js",
"env": {
"FORGE_CLIENT_ID": "<your client id>",
"FORGE_CLIENT_SECRET": "<your client secret>",
"MODEL_URN": "<your model urn>"
}
}
]
}