Point cloud queries
Arnold 7.4.5.0 nearest_points shaderThe new nearest_points shader samples point clouds from OpenVDB points files, or alternatively, the vertices from points, curves, and polymesh nodes. The shader can output the number of points found, average distance, or an average of a custom, user-data attribute from the points. (ARNOLD-15550) OSL support for point cloud search and getArnold now supports the built-in OSL pointcloud_search and pointcloud_get functions. To specify a points, curves, or polymesh node, use the node name for the point cloud name. To specify an OpenVDB file, use the format filename:grid for the point cloud name. Currently these functions are supported for CPU rendering only in this release. (ARNOLD-15550)