A 3D viewer for Egyptian artifacts with annotation and measurement tools. Built with C++ and OpenGL.
Default view - King1 with stone texture
|
King1 with gold texture | King2 with stone texture
|
Annotation markers | Distance measurement*
|
Viewing annotations | Artifact information
- View 3D Egyptian statues (pharaoh models)
- Rotate and zoom to see from any angle
- Click to place annotations on the model
- Measure distances between points
- Save your annotations and measurements to JSON files
- Run the program
- Right-drag to rotate the statue
- Mouse wheel to zoom
- Press
Nand left-click to add annotations - Press
Mand click twice to measure distance - Press
Oto save your data
- Right-click + drag - Rotate
- Left-click - Place point (in annotation/measurement mode)
- Mouse wheel - Zoom
1/2- Switch models (King1/King2)S/G- Stone/Gold textureN- Annotation mode (click to place markers)M- Measurement mode (2 clicks for distance)P- Print annotationsL- List measurementsO- Save to JSON filesR- Reset viewV- Wireframe modeSPACE- Auto-rotationESC- Exit
- Windows 10/11
- Visual Studio 2019+
- OpenGL 3.2+
- GLEW, FreeGLUT, GLM
- Open
Lab6.vcxprojin Visual Studio - Build (Ctrl+Shift+B)
- Run (F5)
Place your files here:
assets/
??? models/
? ??? king1.obj
? ??? king2.obj
??? textures/
??? stone.jpg
??? gold.jpg
- 3D Viewing - Phong lighting, textures, smooth rotation
- Annotations - Click to mark points of interest
- Measurements - Precise distance calculation
- Auto-normalization - Models automatically centered and scaled
- JSON Export - Save data for research/analysis
When you save (press O):
annotations.json- All your marked pointsmeasurements.json- All distance measurements
- Language: C++11
- Graphics: OpenGL 3.2 Core
- Libraries: GLEW, FreeGLUT, GLM, STB Image
- Lighting: Phong shading
- Ray-casting: M?ller-Trumbore algorithm
See the docs/ folder for:
USER_GUIDE_V2.5.md- Complete manualPROJECT_COMPLETE_GUIDE.md- Technical detailsQUICK_START_V2.md- Quick reference
- Annotations/measurements are stored but not visually rendered yet (data is saved correctly)
- Check console for annotation/measurement data
MIT License - See LICENSE file
v2.5 - Academic Edition