How to find distance between two points in a primitive
31182 15 6- Nittin
- Member
- 29 posts
- Joined: May 2011
- Offline
- eitht
- Member
- 257 posts
- Joined: Nov. 2010
- Offline
- Nittin
- Member
- 29 posts
- Joined: May 2011
- Offline
- rafaels
- Member
- 700 posts
- Joined: March 2009
- Offline
Have you tried with expressions?! Check the example file.
Cheers
Cheers
Toronto - ON
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
- zarti
- Member
- 330 posts
- Joined: July 2007
- Offline
- rafaels
- Member
- 700 posts
- Joined: March 2009
- Offline
here's quick and dirty measuring tool, kinda like Maya's
Toronto - ON
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
- eitht
- Member
- 257 posts
- Joined: Nov. 2010
- Offline
- rafaels
- Member
- 700 posts
- Joined: March 2009
- Offline
Of course, but I suggest you make a move to learn some basic expressions cause it'll make your life really easy. Imagine you want to use the distance between 2 points to drive the scale of another object or the amount particles generated in a POP net… even with the measure SOP you'll still need a bit of expression writing to get that distance value outta there and procedurally into another node or attribute. Unless, of course, you just need to know the distance for your own sake.
I haven't gotten into python as it pertains houdini, so I still use a lot of Hscript expressions and all. If you want to learn more I found this series to be quite helpful:
http://www.sidefx.com/index.php?option=com_content&task=view&id=1500&Itemid=132 [sidefx.com]
cheers
I haven't gotten into python as it pertains houdini, so I still use a lot of Hscript expressions and all. If you want to learn more I found this series to be quite helpful:
http://www.sidefx.com/index.php?option=com_content&task=view&id=1500&Itemid=132 [sidefx.com]
cheers
Toronto - ON
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
- Nittin
- Member
- 29 posts
- Joined: May 2011
- Offline
- Camelino
- Member
- 1 posts
- Joined: Feb. 2012
- Offline
You can find distance between two points using distance calculator [distancebetweencities.us], To calculate distance between two points Google maps are the best option. So, try Google maps.
- Morbo
- Member
- 11 posts
- Joined: March 2008
- Offline
- asnowcappedromance
- Member
- 512 posts
- Joined: July 2009
- Offline
- sl0throp
- Member
- 258 posts
- Joined:
- Offline
- ninthtale
- Member
- 9 posts
- Joined: May 2016
- Offline
- rafaels
- Member
- 700 posts
- Joined: March 2009
- Offline
It should be in whatever the default unit is… so if you altered the default unit to 1Km instead of the default metre, then you get the value in Kms.
Shouldn't be too hard to add controls to convert measurements, I might do that later on tonight
Cheers
Shouldn't be too hard to add controls to convert measurements, I might do that later on tonight
Cheers
Toronto - ON
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
- bobc4d
- Member
- 327 posts
- Joined: May 2016
- Offline
rafaels
Of course, but I suggest you make a move to learn some basic expressions cause it'll make your life really easy. Imagine you want to use the distance between 2 points to drive the scale of another object or the amount particles generated in a POP net… even with the measure SOP you'll still need a bit of expression writing to get that distance value outta there and procedurally into another node or attribute. Unless, of course, you just need to know the distance for your own sake.
I haven't gotten into python as it pertains houdini, so I still use a lot of Hscript expressions and all. If you want to learn more I found this series to be quite helpful:
http://www.sidefx.com/index.php?option=com_content&task=view&id=1500&Itemid=132 [www.sidefx.com]
cheers
that link did not work. I just started learning Houdini, would this link be pertaining to expressions or python?
-
- Quick Links