Skip to content

Scripts for rendering meshes, pointclouds, structurenet-type box hierarchies w/ annotations ...etc.

Notifications You must be signed in to change notification settings

ianhuang0630/blender_render

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blender Rendering

Scripts for rendering meshes, pointclouds, structurenet-type box hierarchies w/ annotations ...etc.

Code was adapted from the visualization code in the structurenet repo.

Install latest version blender. The code here was used with blender-2.93.4-linux-x64. Make sure that at the end of installing blender, you can run blender by typing "blender" in your terminal

Pointcloud rendering

Takes in a path to a folder with two files: pts.txt and colors.txt. Both txt's should have the same number of lines (the number of points in your pointcloud). Each line in pts.txt is an xyz coordinate, space-separated. Each line in colors.txt is an rgb value, space-separated.

bash scripts/render_one_pointcloud.sh alt text

Mesh rendering

Takes in a .obj, and a colors.txt that gives the space-separated rgb values for every vertex (as they appear in the .obj), space separated.

bash scripts/render_one_mesh.sh alt text

Bounding box rendering with colors corresponding to semantic colors

This graphs out a (structurenet)[https://github.com/daerduoCarey/structurenet] json representation of object part hierarchies.

bash scripts/render_one_boxshape_adddel.sh alt text

Bounding box rendering with annotations

This graphs out a (structurenet)[https://github.com/daerduoCarey/structurenet] json representation of object part hierarchies, with nodes with .annot fields, containing lists of strings for the annotations.

bash scripts/render_one_boxshape.sh alt text

About

Scripts for rendering meshes, pointclouds, structurenet-type box hierarchies w/ annotations ...etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published