by Efthymis B.
-
Hide geometry that is outside of the Frustum (from the viewport)
-
Set Visibility Attribute (for render)
-
Create Attributes based on distance from the camera.
-
Create instanceSkipIndex attribute for PointClouds.
frustumKatanaVideo.mp4
- In order to be able to see Camera Resolution changes, the root should be included in the location paths.
- Then add Geometry (types: polymesh, subdmesh, sphere) and/or Pointcloud (type: pointcloud) locations.
Example:
You can combine locations using expressions as usual.
- Add the Camera's location path in
user.camera.path
and change the camera settings according to your needs.
- Set the preferable calculation method and Viewport/Render visibility.
Refer to Help Text for more details.
- Enabled/Disable viewport color representation for objects inside/outside the Frustum. Enable
Depth Colors
to preview objects based on distance from the camera.
- Enable/Disable attributes.
- Add
instanceSkipIndex
attribute for points outside the Frustum (only for Pointclouds).Then copy the
instanceSkipIndex
attribute to yourinstance array
location.For more information, refer to the Help Text of each option.
Premade collections.
Download the .macro
files from my GumRoad page or GitHub and place them in any of Katana's startup Macros folder.
-
~/.katana/Macros
-
custom_path/Startup/Macros
*
* Custom Paths should be included in KATANA_RESOURCES Environment Variable.
Jonathan W. Rodegher for suggestions and troubleshooting.
Adam Davis for sharing his OpScript "Constraint camera focus distance to a locator" in the Katana Discord Server. Was very helpful for some parts of my script.
Everyone in Katana Discord who helped me.