Skip to content

Animation Nodes script for loading and rendering point clouds in Blender

Notifications You must be signed in to change notification settings

rubenwiersma/blender-pointcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Point Clouds in Blender + Animation Nodes

This blender file helps you load in point clouds with animation nodes and provides a starting point to render your own beautiful point clouds in Blender.

Example render with a plane added as a shadow catcher

What it does

A script in Animation Nodes loads the point cloud from a .ply file and checks if normals, colors, or scalars are available. It then instances spheres at the point locations and lets the user link the attributes from the ply file to attributes of the spheres (such as color used in shading). You can change the sphere into anything you'd like and expand the script to load from numpy files or other data types that store point clouds.

How to use

  1. Download the Animation Nodes plugin and install the plugin in Blender (Edit > Preferences... > Add-ons > Instal...). You can learn more about Animation Nodes in this tutorial series.
  2. Install plyfile in your python installation: pip install plyfile
  3. Open the pointcloud_animationnodes.blend file in Blender and adjust the Read ply script so that it has access to your python site packages folder (see screenshot, the script panel in bottom right of the screen). If you don't know what folder to use, run python -m site in you console.
  4. Input the file path of your ply file in the Input Path frame in Animation Nodes (screenshot: panel in the bottom left). This must be an absolute path.
  5. You can edit colors in the shading tab in Blender.
  6. You should now see something like the following screen: Screenshot of what Blender should look like

Credits

Spot model by Keenan Crane.

About

Animation Nodes script for loading and rendering point clouds in Blender

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published