Skip to content

commandcontrolQ/pyrender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pyrender - 3D Model renderer in Python

Warning

This program can be very resource-intensive depending on the model used.

There are no definitive hardware requirements, however the following are recommended:

  • Windows users should use at least Windows 10 (Extensions such as VxKex and the OneCore API have not been tested, use at your own discretion)
  • Linux (Debian) users should use at least Debian 11 (in theory backporting might work however it has not been tested)
  • AMD Ryzen 3 3000 series / Intel Core i3 5th Gen
  • Integrated Graphics minimum
  • At least 4GB of RAM

Note

The 32-bit Windows compile of PyRender has not been released yet.

This is because Panda3D applications must be compiled using their own tool, instead of using something like PyInstaller. Unfortunately, even with this information, I have not been able to successfuly compile PyRender.

If you have been able to successfuly compile the Panda3D-based PyRender for 32-bit systems, please contact me.

Requirements:

  • Python (recommended 3.10 or newer)
  • 'vtk' module for 64 bit installations
  • 'panda3d' module for 32-bit installations
  • A .ply polygon model (this repo comes with lots of sample .ply files for you to use, credits are located at the bottom)

This website can be used to convert .stl models into .ply models.

Controls

Important

The controls below are hardcoded by the renderer and cannot be changed.

Controls (vtk renderer):

  • "e": Exit application

  • "f": Fly to cursor (if cursor is pointing to the model)

  • "r": Reset camera

  • "s": View actors as surfaces

  • "w": View actors as wireframes

  • Left click: Rotate camera

  • Scroll wheel: Zoom in/out

Controls (panda3d renderer):

The Panda3D renderer only makes use of the mouse for controls.

  • Left click: Pan left and right

  • Right click: Move forwards and backwards

  • Middle click: Rotate around the application origin

  • Right click + Middle click: Roll the point of view around the view axis

Credits

Courtesy to:

*This container is the largest polygon model (in file size) in the entire repository.

About

3D Model renderer in Python using vtk

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages