Skip to content

render depth image of 3D model (.obj) with python opengl using glumpy

Notifications You must be signed in to change notification settings

willer94/glumpy_obj_render

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

glumpy_obj_render

We need to render 3D model in python at running-time. For example in instance-level 3D pose tracking and result demonstration in 3D pose detection.

SIXD toolkit has implemented render scripts using glumpy. In the toolkit the model used is ply and both depth ang rgb image are rendered.

However, I only want to get the mask of the object or the depth image. So I only render depth image. Only vertex and faces information are need from 3D model files to render depth img. So I write a simple script to load vertex and faces from .obj files, The depth render part is modified from SIXD toolkit.

And the test code used RBot dataset.

About

render depth image of 3D model (.obj) with python opengl using glumpy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages