Skip to content

genius92606/simple-3D-software

Repository files navigation

Final Project

Operating System

Windows 10, visual studio 15 2017 Win64

Instructions

Requirement

  1. cmake install here
  2. conan - package manager (windows) install here

Open command prompt

set PATH="C:\Program File\CMake\bin\";%PATH%

Clone the repository

git clone https://github.com/genius92606/simple-3D-software.git

Create "build" folder in the repository

cd simple-3D-software
mkdir build && cd build

conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
conan install .. --build glad -sbuild_type=Debug
cd build
cmake .. -G "Visual Studio 15 2017 Win64"

Build

cd build
cmake --build .

Execution

cd build
start bin\app.exe

How do this work?

File dialog

Using ImGui to build a simple file directory system, and let the user to load file easily.

class

Manage loaded Mesh and Texture.

Struct

Store all the information of the subject

Zoom and change perspective

Scroll the wheel to zoom, and change the perspective by pressing and move the wheel at the same time.

Application Instruction

  1. Execute the application
cd build
start bin\app.exe
  1. Click the drop down menu at the left, and click "add" to add a built-in object or click "Load obj" to read objects.
  2. If choosing "Load obj", it will pop up a file directory and the user can choose files from the bottom right.
  3. After adding new objects, the windows will add an extra section like below, the user can change color, translate, rotation, scale of the object. Other than built-in color, we also provide the user to load customize textures by clicking "Load Texture"
  4. Holding scrolling wheel and moving to change perspective.
  5. Scroll the wheel to zoom.
  6. This application includes abmient, diffuse, and specular lighting.

Relative Links

GitHub

PPT

PDF

Youtube

Thirdparty

  1. GLFW3
  2. ImGui

DEMO

About

using opengl with imgui

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages