Skip to content

3DViewer_v2.0 is a C++ application for viewing 3D wireframe models

License

Notifications You must be signed in to change notification settings

Hasuk1/School-21-3DViewer_v2.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3DViewer_v2.0

prev

Information

3DViewer_v2.0 is a C++ application for viewing 3D wireframe models in the object-oriented programming paradigm, implementing the same features as the previously developed application in the 3DViewer v1.0 project.

gif

Project Architecture

The project is implemented within the MVC pattern, where other design patterns are also applied.

diagram

What this app can do

screen

  1. Selecting model file and displaying its name: The user can select the model file through the dialog box and the name of the selected file will be displayed in the corresponding field on the interface.

  2. Visualization of the wireframe model: The visualization area allows you to display the loaded model as a wireframe model representing vertices and edges.

  3. Model translation: The user can specify parameters for model translation along X, Y and Z axes using the corresponding input fields and buttons.

  4. Model rotation: The user can set the rotation angle for the model around the X, Y and Z axes using the input fields and buttons.

  5. Model scaling: The user can change the scale of the model using the input field and buttons.

  6. Information about the loaded model: The information section displays the name of the loaded file, the number of vertices and edges in the model.

  7. User settings:

  • Projection type. User can select the projection type to display the model parallel or center.

  • Rib and vertex display settings. User can configure the type (solid, dashed), color and thickness of the edges, and the vertex display method (none, circle, square), color and size.

  • Background color selection: The user can select the background color for the visualization area.

    User settings are saved, so that they will be restored the next time the application is launched.

  1. Creating a screenshot: The user can click the "screenshot" button to save the current view of the model as a screenshot image.

  2. Creating a gif animation (gif): The user can click the "gif" button to record a screencast of the current user affine transformations of the model into gif animation format. The animation will have a resolution of 640x480, a speed of 10 frames per second and a duration of 5 seconds.

Supported platforms

  • Linux
  • MacOS
  • Windows

Stack

CPLUS  CPLUS  C  docker

Installation

git clone https://github.com/Hasuk1/School-21-3DViewer_v2.0.git
cd School-21-3DViewer_v2.0/src
make install

About

3DViewer_v2.0 is a C++ application for viewing 3D wireframe models

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published