Normal Direction for copy to points or copy stamp
15945 6 4-
- ALMINA
- Member
- 154 posts
- Joined: 3月 2016
- オフライン
-
- Simon van de Lagemaat2
- Member
- 116 posts
- Joined: 4月 2016
- オフライン
-
- ALMINA
- Member
- 154 posts
- Joined: 3月 2016
- オフライン
-
- ALMINA
- Member
- 154 posts
- Joined: 3月 2016
- オフライン
-
- AkashModi
- Member
- 1 posts
- Joined: 12月 2022
- オフライン
-
- toadstorm
- Member
- 410 posts
- Joined: 4月 2017
- オフライン
Copy to Points uses a number of different possible attributes to determine the orientation of copies. Those attributes include:
3@transform
p@orient
p@rot
v@N
v@up
v@v
At a minimum you need to provide an N attribute as the "forward" direction for each copy. That said, if you don't also provide an up attribute, Houdini is going to guess at the up direction, and it will often guess wrong. Create an up attribute in a Point Wrangle on the template points like this:
If you want a detailed breakdown of how these attributes are meant to work, look here [www.toadstorm.com].
3@transform
p@orient
p@rot
v@N
v@up
v@v
At a minimum you need to provide an N attribute as the "forward" direction for each copy. That said, if you don't also provide an up attribute, Houdini is going to guess at the up direction, and it will often guess wrong. Create an up attribute in a Point Wrangle on the template points like this:
v@up = {0,1,0};
If you want a detailed breakdown of how these attributes are meant to work, look here [www.toadstorm.com].
MOPs (Motion Operators for Houdini): http://www.motionoperators.com [www.motionoperators.com]
-
- Len
- Member
- 135 posts
- Joined: 7月 2007
- オフライン
Another issue to watch out for is that @orient (and likely some other attributes that @toadstorm listed above) will override the use of @N and @up in Copy To Points.
I've unknowingly had garbage values for @orient being passed from previous nodes and they break the @N and @up behavior and leave me scratching my head until I notice. The lesson: Clean out old attributes and groups when you can!
I've unknowingly had garbage values for @orient being passed from previous nodes and they break the @N and @up behavior and leave me scratching my head until I notice. The lesson: Clean out old attributes and groups when you can!
-
- Quick Links



