Skip to content

mnerv/lumagl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

luma

This project is for learning purpose only.

Screenshot of the application running on macOS. It is showing an image on a 2D grid on a 3D plane.

requirements

development

Download the required dependencies above. The glfw and glad library needs to be build first. When selecting glad make sure to select gl Version 4.1 and profile in Compatibility. The build output needs to be in lib library.

Define theses environment variables GLFW_SDK, GLAD_SDK, IMGUI_SDK, STB_SDK and GLM_SDK that points to the correct path.

Use meson to generate ninja build system.

meson setup build -Dglfw=$GLFW_SDK -Dglad=$GLAD_SDK -Dstb=$STB_SDK -Dglm=$GLM_SDK -Dimgui=$IMGUI_SDK

resources

camera

create infinite grid ground plane

mouse pickup

shader programming

algorithms

About

Rendering grid in OpenGL with shaders.

Topics

Resources

Stars

Watchers

Forks