Vizualisation of 3DTiles produces by pySunlight containing light pre-calculation results.
In this demo, we show two vizualisation of Sunlight :
- Sunlight and Shadow vizualisation
- Impact
It's based on UD-Viz-Template.
UD-Demo-VCity-Sunlight is one repository of the Sunlight project, including :
Install npm, refer to here.
-
Download the git repository :
git clone https://github.com/VCityTeam/UD-Demo-VCity-Sunlight.git && cd UD-Demo-VCity-Sunlight
-
Install npm dependencies :
npm i --legacy-peer-deps && npm i
-
Builds and runs the app in the development mode.
npm run debug
-
Open https://localhost:8000/ to view it in your browser.
When changes are made to the files, the app is automatically rebuilt (no need to execute the run debug command again).
Use UD-Viz developers documention to see the full list of npm supported commands.
Refer to this documentation to create and display 3D Tiles Sunlight.
-
Build docker image :
docker build -t demo-sunlight . --no-cache
-
Run the container :
docker run -p 0.0.0.0:8080:8000/tcp --rm -t demo-sunlight
-
Go to https://localhost:8080/ to see Demo-Sunlight.
Follow the guidelines of UD-Viz developpers.
Distributed under the LGPL-2.1 License. See LICENSE
and Libraries Licenses
for more information.
- Wesley Petit - Website - [email protected]