Skip to content

chr-wei/tinyrenderer_python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python port of ssloy/tinyrenderer in Python3

To install just download the code. Make sure to have python3 running and the following libs are installed:

pip install pillow

Blender generate .obj-file steps:

  1. object mode -> Object -> Convert to -> Mesh from Curve/Meta/Surf/Text

  2. remove all keyframes

  3. delete rigs, cam, particles ...

  4. move objects

  5. add Decimate modifier to one object

  6. select all in viewpane

  7. ctrl + l -> Modifier to add last selected modifier in 1. sidepane to all objects

  8. set origin to 3d cursor

  9. select all

  10. export obj (triangulate, no obj groups, selected only, write normals)

About

A fork of ssloy/tinyrenderer in python

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages