just curious...
in VEX, why attribute symbol of quaternion is p??
p for what??(which word)
why quaternion's attribute symbol is p??
738 3 0- hign
- Member
- 24 posts
- Joined: Feb. 2022
- Offline
- jsmack
- Member
- 7837 posts
- Joined: Sept. 2011
- Offline
- tamte
- Member
- 8622 posts
- Joined: July 2007
- Offline
Also p@ (point) is just float4 not quaternion
Same way as v@ is a float3 and not directly color, normal or vector
And u@ float2 and not directly texturecoord, etc
To mark an attribute as quaternion, ... you need to use setattribtypeinfo()
Commonly used attributes like p@orient for example is an exception that Houdini automatically marks as quaternion similarly to v@Cd as color or v@N as normal, v@v as vector ...
Same way as v@ is a float3 and not directly color, normal or vector
And u@ float2 and not directly texturecoord, etc
To mark an attribute as quaternion, ... you need to use setattribtypeinfo()
Commonly used attributes like p@orient for example is an exception that Houdini automatically marks as quaternion similarly to v@Cd as color or v@N as normal, v@v as vector ...
Edited by tamte - Nov. 19, 2023 00:00:04
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- hign
- Member
- 24 posts
- Joined: Feb. 2022
- Offline
-
- Quick Links