Skip to content

scientificRat/off_render

Repository files navigation

off_render

render .off file to images or display

requirements

  • >= python3.5
  • ModernGL
  • PyQt5

install requirements instructions

pip3 install moderngl
pip3 install pyqt5  

render to display

usage: display_window.py [-h] OFF_FILE

positional arguments:
  OFF_FILE    the off_file you want to render

optional arguments:
  -h, --help  show this help message and exit

example

python3 display_window.py demo_assets/airplane_0636.off 

render_window

render to images

usage: render.py [-h] [--views N] [--dodecahedron] OFF_FILE

positional arguments:
  OFF_FILE        the off_file you want to render

optional arguments:
  -h, --help      show this help message and exit
  --views N       count of views to render, default is 12
  --dodecahedron  use dodecahedron camera settings

example

python3 render.py demo_assets/car_0267.off  
python3 render.py --dodecahedron demo_assets/car_0267.off

render Modelnet

no doc:-)

About

render .off file to 2d images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages