Note:
- Make sure you have Python3 installed on your machine.
- The following instructions are for MacOS and Linux users. I'm not sure how it works on Windows.
-
Make sure that you have all necessary requirements for Python3. To install any missing requirements, open a terminal and run
pip3 install -r requirements.txt -
Run
python3 application.py -
Go to
http://127.0.0.1:3000/index.html -
When you are finished, press
Ctrl+Con the terminal to stop the server.
05/10/2022 - Merged with 'load-geometry' branch.
W2 21/09/2022: The WebGL frame
Scrum Sprints
Build the framework:
- Joey – HTML/CSS styling of webpage
- Building frame for ThreeJS app.
ThreeJS:
- Russell – Scene setup - framework for basic structure of scene
- Camera setup
- Owen – Existing geometry conversion to GLTF (existing urban geometry)
- Simple building envelopes.
- Extends to API in later stages for selecting map areas - Convert JSON to GLTF
- Chris – Load geometry option - load for different geometry as an option (GLTF)
- Backend storage solutions.
- Nila – Sun/lighting configuration options
- Moving the sun based on number slider
Notes:
⁃ Camera should focus on centred origin of geometry
⁃ Camera should be able to rotate and pan
⁃ For this sprint no materials or textures are required
⁃ GLTF overview - https://www.khronos.org/files/gltf20-reference-guide.pdf
⁃ THREEJS scene overview - https://threejs.org/docs/index.html#manual/en/introduction/Creating-a-scene