Skip to content

Proto-Engine is a beginner C++ project using OpenGL to learn computer graphics. The project focuses on basic geometry, transformations, simple rendering concepts, and user interaction, serving as a practical way to understand how graphical systems work.

Notifications You must be signed in to change notification settings

pedroop32/Proto-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Proto-Engine

To run the project

About Docker

Docker is used only as a development environment.

  • The image contains only tools and libraries (compiler, OpenGL, GLFW, GLEW, GLM).
  • The source code is not copied into the image.
  • The project directory on your machine is mounted into the container as a volume.
  • You may install the libraries directly on your system instead of using Docker. Check the Dockerfile for required dependencies.

Build the Docker Image

From the project root:

docker build -t proto-engine .

Allow Access to Graphics (X11)

Run this on the host to allow Docker containers to open windows:

sudo xhost +local:docker

Run the Development Container

Obs: Replace <PROJECT_PATH> with the absolute path to the project on your machine:

docker run -it
--name proto-engine-dev
--user $(id -u):$(id -g)
--env DISPLAY=$DISPLAY
-v /tmp/.X11-unix:/tmp/.X11-unix:rw
-v <PROJECT_PATH>:/workspace
proto-engine

Build and Run the Project

Inside the container:

cd /workspace/Proto-Engine/src

./build.sh

Reopen an Existing Container

docker start -ai proto-engine-dev

References

LearnOpenGL

https://learnopengl.com/Getting-started/Hello-Triangle

About

Proto-Engine is a beginner C++ project using OpenGL to learn computer graphics. The project focuses on basic geometry, transformations, simple rendering concepts, and user interaction, serving as a practical way to understand how graphical systems work.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •