Skip to content

Latest commit

 

History

History
40 lines (21 loc) · 1.56 KB

README.md

File metadata and controls

40 lines (21 loc) · 1.56 KB

Pyramid.OpenGL

Pure C++ Visual Studio project with a 3D Pyramid. This use OpenGL version 2 for study and learn.

The code entities is inspired in Winged-Edge data structure

PS: The last implementation allow render a 3D object from .off file

Classes structure

This is a Class Diagram generated by Visual Studio Community 2019

Documentation

See the wiki of this repository to extra docs, with the Winged Edge explanation, for example:

Getting Started

  1. Using Visual Studio, VSCode or any other IDE/Editor that opens a Solution

  2. Install dependencies using Nuget, from the file Pyramid.OpenGL/packages.config and FileOff.OpenGL/packages.config

  3. Run the project and see something like this screen below:

For cube from .off file

For rendering a cube from a .off file, follow these additional steps below:

  1. Click with right mouse button in the project FileOff.OpenGL from the solution panel
  2. Click on Set as startup project option
  3. Run the project and see something like this screen below: