Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

MatthewRoush/Mesh-Renderer

Repository files navigation

Mesh-Renderer

Render meshes and hope for the best.

Dependencies

pygame for graphics.

numpy for data structures.

How To Use

  1. (For Blender) Export a mesh as an .obj file with the "Normals" option checked.

  2. Provide the path to that mesh as the argument to render_mesh.py

Controls

Hold left click and drag to tilt the mesh.

Hold right click and drag to move the light.

The Escape key closes the program.

Note: Faces will draw even if they are obscured, this isn't meant to be a full proper rendering engine.

About

Render meshes and hope for the best.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages