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
This is a Class Diagram generated by Visual Studio Community 2019
See the wiki of this repository to extra docs, with the Winged Edge
explanation, for example:
-
Using Visual Studio, VSCode or any other IDE/Editor that opens a
Solution
-
Install dependencies using Nuget, from the file
Pyramid.OpenGL/packages.config
andFileOff.OpenGL/packages.config
-
Run the project and see something like this screen below:
For rendering a cube from a .off
file, follow these additional steps below:
- Click with right mouse button in the project
FileOff.OpenGL
from the solution panel - Click on Set as startup project option
- Run the project and see something like this screen below: