Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Downloads

  • camera_occlusion_01_2.hiplc

Missing 1 full-res photo, 1 file, as this post has not yet been imported.

Content

Although you can create this tool using a simple attribute vop and a ray sop but out of practice I used a wrangle to achieve the same result, also it looks more neat only one node.

This code has two parts:

Occlusion (Hidden Point Removal):

Every point shoots a ray at the camera and checks if it collided with any object using the intersect() command, if there was a hit the point will be deleted.

Culling:

For this we need first to apply a uv coordinates for the points in camera space, then check if it fall in the range of 0-1 and delete everything else.

Files

Previews only

Comments

No comments found for this post.