normalized bounding box into cvex context

   1739   2   2
User Avatar
Member
319 posts
Joined:
Offline
Hi,

How do you get 0..1 bounding box into the cvex context? I'm doing render time volumes with a cvex procedural.

Currently I'm manually fitting the bounds by looking at the size of the bounding box containing my volume, taking P and then fitting it between 0 and 1 based on the size of the bounds.

Is there anyway to grab this automatically like in the volume vop?

Thanks.
User Avatar
Staff
4170 posts
Joined: Sept. 2007
Offline
relbbox() has a VOP equivalent

http://www.sidefx.com/docs/houdini15.0/nodes/vop/relbbox [sidefx.com]
I'm o.d.d.
User Avatar
Member
319 posts
Joined:
Offline
Yep this was one of the things I tried to use. Didn't seem to give me what I expected. I'll try again.

Thanks.
  • Quick Links