Skip to content

adamecki/Hello3DWorld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello, 3D World!

This is my C++ project aimed at learning OpenGL. I use LearnOpenGL as my resource.

About libraries used

This project is made on a x86-64 linux machine, thus the provided GLFW library is compiled for this platform. You can download GLFW's source code to compile for your own platform here. Glad and stb (precisely stb_image.h) are also being used.

Dependencies

  • libglfw3 (included in the lib directory, compiled for x86-64 linux)
  • libGL
  • libX11
  • libpthread
  • libXrandr
  • libXi
  • libdl

Compiling

G++:

g++ -I include -L lib -g main.cpp glad.c -o main.out -l glfw3 -l GL -l X11 -l pthread -l Xrandr -l Xi -l dl

Other information

At the moment the program renders a textured rectangle. Switching between texture zoom modes is done by clicking '1' or '2' keys. Increasing or reducing the texture mix value is done by holding the up arrow or the down arrow key. Hitting the '0' key exits the program.

About

My progress at learning OpenGL from learnopengl.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors