Jump to content

distance bounding box values


MadMax50

Recommended Posts

hi i am trying to get a proper gradient when I calculate the distance from one point of a sphere to the grid. I plugged in the bounding box min and max values to the fit range which helped ,however I lost the nice gradient and get a hard edge. I am trying to get that nice gradient back.

 I will attach a file to show what I mean. Thanks

distance_fit_range.hip

Link to comment
Share on other sites

You can map the range of any distance/value with attribpromotes min and max functions.

dist_range.hiplc

The bounding box will give you the position coordinates of its bottom-left-front and the top-right-back corner, so I doubt it will be too useful right away. But maybe I got you wrong.

Edited by konstantin magnus
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...