Houdini Frustum Cull SOP v2.0 HDA

$7
1 rating

This HDA removes or masks prims or points that fall outside a camera frustum.

It also builds a geometric frustum representation from a perspective matrix (the proper way) which is available on Output 2.


Controls

The operator allows you to override (override switches in v2.0 only) the following Camera SOP parameter values:

  1. Near Clipping
  2. Far Clipping
  3. Screen Window X/Y (Window Offset)
  4. Left Crop
  5. Right Crop
  6. Bottom Crop
  7. Top Crop


In addition, you can:

  1. Overscan
  2. Write Z depth values to the geometry on Output 1.


Output 2

A frustum geometry is available on output 2. Each side is named.

Known Issues and Limitations:
On output 2, near and far clipping planes are UVed, however, you may get unexpected stretching if you use cropping and overscan at the same time. The left, right, top, and bottom faces of the frustum geometry are not UVed. To be addressed in a future update.

I want this!

You get a .hda file and I get a beer!

Version
2.0
Language
VEX
Size
46.7 KB
Copy product URL

Ratings

5.0
(1 rating)
5 stars
100%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%
$7

Houdini Frustum Cull SOP v2.0 HDA

1 rating
I want this!