Skip to content

A renderer which takes 3D meshes and renders them using vector primitives (triangles)

Notifications You must be signed in to change notification settings

jrabbe/vector-renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vector Renderer

A python based rendering engine for rendering 3D triangle meshes into images using vector primitives. This renderer depends on the PlotDevice 1 package and can render the provided triangle mesh to either an SVG, PNG, or GIF file.

The renderer is single-threaded and completely CPU bound (for now).

The files read in are tightly packged binary representations of the vertices, normals, and optionally textures. Note, textures are not supported for now.

Usage

After installing [PlotDevice] 1 (I recommend using a virtual environment), simply run the base script. The -h flag will show the available options.

Virtual Environmant

To install a virtual environment run the command

python3 -m venv env

The env folder is ignored in the .gitignore, so it's helpful calling the virtual environment by this name.

Then activate the virtual environment by running

source env/bin/activate

Also has support for csh and fish.

About

A renderer which takes 3D meshes and renders them using vector primitives (triangles)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages