martin-pr /
lightfieldpi
A simple C++ UI for Raspberry Pi, intended for capturing 3D or 4D lightfields using a RPi camera mounted on a linear rail or a 2D carthesian platform.
Loading repository data…
prathamhole14 / repository
A simple light weight 2D and 3D render in C++
A lightweight, modern 3D graphics rendering engine built with OpenGL. This project serves as both a learning tool and a functional 3D renderer.
Modern OpenGL Rendering Pipeline
Mathematics Library
Window Management
Graphics Features
Spraky.sln in Visual Studiomkdir build && cd build
cmake ..
make -j$(nproc)
Initialize the Window: Use the Windows module to create a window with a specified size and title.
Set Up Rendering Context: Load shaders, initialize buffers, and set up the rendering pipeline.
Implement Math Utilities: Use the math module to handle transformations, projections, and other mathematical operations required for 3D rendering.
Render Loop: Create a render loop to handle rendering, input, and window updates.
Here is a basic example to render a triangle:
#include "x64/src/graphics/window.h"
#include "x64/src/graphics/shader.h"
#include "x64/src/graphics/renderer2d.h"
#include "x64/src/maths/maths.h"
//Keep relative imports in mind
int main() {
Window window(800, 600, "Rabbit Renderer");
Renderer renderer;
while (!window.shouldClose()) {
renderer.clear();
renderer.drawTriangle(); // Replace with your own draw call
window.update();
}
return 0;
}
Contributions are welcome! Feel free to open issues, suggest features, or submit pull requests to improve this project.
This project is licensed under the MIT License. See the LICENSE file for details.
Selected from shared topics, language and repository description—not editorial ratings.
martin-pr /
A simple C++ UI for Raspberry Pi, intended for capturing 3D or 4D lightfields using a RPi camera mounted on a linear rail or a 2D carthesian platform.
Acceletor /
miniRT is a basic ray tracing program written in C that renders 3D scenes using simple geometric objects and lighting models. It parses a scene description file, computes light–object interactions, and generates a 2D image by simulating rays cast from a virtual camera.