Hi,
I'm using a point cloud with proper rotation (r) and scale (s) vector3s (euler). See green in the attached screenshot.
To push those into an Instance geometry node, it seems I have to use an attribute wrangle node, to process these attributes into specific ‘scale’ and ‘orient’ attributes.
One can also see the evaluated values in the screenshot: But only the first point is processed. And an other issue: the scale is uniform at 1.132 instead of 3 different values.
Any input on this?
Thanks a lot in advance!
Instance geometry + attr wrangle nodes: orient & scale
3602 3 0- deadalvs
- Member
- 196 posts
- Joined: 8月 2011
- Offline
- sl0throp
- Member
- 258 posts
- Joined:
- Offline
- jsmack
- Member
- 8038 posts
- Joined: 9月 2011
- Offline
You typed orient wrong, it's vector4 type.
Edit: I didn't see you left out the @, which makes those variable declarations meaningless. @orient should work in this case because it is known.
Edit2: You also left out the type for ‘r’ and ‘s’. If you bind unknowns, they default to float. That's why they aren't working when you try to use them.
do:
or leave out the scale line and use attribute rename to rename ‘s’ to ‘scale’ instead.
Edit: I didn't see you left out the @, which makes those variable declarations meaningless. @orient should work in this case because it is known.
Edit2: You also left out the type for ‘r’ and ‘s’. If you bind unknowns, they default to float. That's why they aren't working when you try to use them.
do:
v@scale = v@s; p@orient = eulertoquaternion(v@r,0);
or leave out the scale line and use attribute rename to rename ‘s’ to ‘scale’ instead.
Edited by jsmack - 2018年1月27日 21:15:36
- deadalvs
- Member
- 196 posts
- Joined: 8月 2011
- Offline
-
- Quick Links