CS50 final project
This is a utility suitable for artists to make reference images from 3d models.
- Adjust the camera on the 3d scene.
- Make a snapshot of the 3d scene.
- Crop and resize the snapshot.
- Draw the grid over the image.
- Save the image by right-mouse-button click on the image editor screen.
Run the utility on a local http server, e.g. Python server.
//for python 3.x
python -m http.server
- Supported file format of 3d object is .obj.
- Use mouse to control rotation/zoom/pan. Screen is adjusted when the window is resized.
Make a snapshot of the scene by the "Snapshot" button. The image will be displayed in the Image editor screen right below the 3dviewer screen. Scroll down to see it.
- Use the snapshot or open an image file from local filesystem.
- Does nothing. Suitable when saving the image.
- Measures a distance in pixels on the image editor screen.
- Crops the image to the selection.
- Displays the grid over the image editor screen.
- Restores the image to the state when it was loaded.
- Resizes the image.
WebGL 3D Model Viewer Using three.js (https://github.com/Lorti/webgl-3d-model-viewer-using-three.js) Copyright (c) 2016 Manuel Wieser Licensed under MIT (https://github.com/Lorti/webgl-3d-model-viewer-using-three.js/blob/master/LICENSE)
JavaScript 3D library (https://github.com/mrdoob/three.js) Copyright © 2010-2016 three.js authors Licensed under MIT (https://github.com/mrdoob/three.js/blob/master/LICENSE)
Start Bootstrap - Simple Sidebar (https://startbootstrap.com/template-overviews/simple-sidebar) Copyright 2013-2017 Start Bootstrap Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-simple-sidebar/blob/master/LICENSE)