Skip to content

🦀 A minimal Rust + OpenGL project that renders textured 3D cubes with camera controls and shader support.

Notifications You must be signed in to change notification settings

bash-mobarmeg/rust-opengl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧊 Basic OpenGL Renderer in Rust

A simple OpenGL project written in Rust that renders 3D models, cubes with textures. This project demonstrates the fundamentals of setting up an OpenGL context, compiling shaders, loading textures, and rendering textured cubes in 3D space.


✨ Features

  • OpenGL 3.3+ core profile
  • 3D textured cube rendering
  • Basic camera movement and rotation
  • Perspective projection and transformation matrices
  • Texture loading using image crate
  • GLFW window management and input handling

🦀 Tech Stack

  • Language: Rust
  • Windowing & Input: glfw
  • OpenGL Bindings: gl
  • Image Loading: image
  • Math Library: cgmath

🧰 Prerequisites

Before building, make sure you have:

  • Rust toolchain (latest stable)
  • OpenGL 3.3+ drivers installed
  • CMake and a C++ compiler (required by glfw bindings)
  • On Linux:
    sudo apt install libglfw3-dev libgl1-mesa-dev libxinerama-dev libxcursor-dev libxi-dev
    

About

🦀 A minimal Rust + OpenGL project that renders textured 3D cubes with camera controls and shader support.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published