pip3 install -r requirements.txt
python3 main.py
Go to Menu > Open file and select the appropriate file from the directory. Example models can be found in assets/models/
3D Model Viewer is a program that enables viewing 3D models and their properties. Implementations of the project:
- support for various types of input files with the 3D model: obj, alembic
- Phong shading
- interpretation of material properties: diffuse, specular
- support for diffuse, specular textures
- support for point lights - ability to add new ones, edit light properties
- possibility of displaying data about the model: (a) number of vertices, faces, edges, uv coordinates (b) visualization of normal vectors (c) visualization of the model in the form of a wireframe All properties should be displayed in the same OK no.
- ability to see individual parts of the object, i.e. if the object consists of several models, we can see its hierarchy and show/hide part of this hierarchy.
- perspective camera - ability to move around the stage and rotate
- model validation - the lack of specific properties, e.g. UV coordinates, should result in an error