fit & $NPT

   3383   1   1
User Avatar
Member
58 posts
Joined: July 2005
Offline
i have this case:
the output of A is connected to the input of B (A->B)
i want A to follow the size of B, so B will act as a ‘fit’ function that will resize A to match the size of B bounding box. currently i create an expression that check the size of A and then scale up/down as needed but i'm wondering if there's any built in OP can do that?

how to access total number of point of any geo.
do i have to use point OP to get the local $NPT?
if i want to create a loop function that will access every point and then print out its x y z position using point().
so how my loop use this $NPT?
for i =1 to $NPT <— this doesn't work…

can i make HUD display integer value? it's always float …

clay~
User Avatar
Member
7863 posts
Joined: July 2005
Offline
1. Try making a sphere sop and then appending a box sop to it. Change the radius of the sphere. Notice how the box changes to the bounding box of the sphere. Maybe this gives you some ideas.

2. “exhelp npoints”. Did you know that you can use “help -k <keyword>” or “exhelp -k <keyword>” to search the help?

3. I don't think there are integer hud sliders. There's nothing stopping you from binding a hud slider to an integer parameter though.
  • Quick Links