Hello guys.
I can't find a way for creating point position attribute with 64 bit size.
I saw some samples in HDK and all of those use 32 bit size for point position.
I even try to cast a P attribute to 64 bit inside Houdini but after printing positions with python everything are still the same!
Is this true that Houdini can only accept point position attribute as float?
Thanks in advance.
64 Bit Attribute for Point Positions?
2185 7 0- N-G
- Member
- 209 posts
- Joined: March 2018
- Offline
- Enivob
- Member
- 2519 posts
- Joined: June 2008
- Offline
- N-G
- Member
- 209 posts
- Joined: March 2018
- Offline
Thank you dear Enivob.
I find out that GA_Detail class takes an argument to set size of position:
GA_Detail Constructor [www.sidefx.com]
But the problem is how can I access that via GU_Detail class because constructors of this class don't take any GA_Storage to construct GA_Detail as we wish.
Another bad news is all setters in GA_Detail class are getting UT_Vector3 as their argument for set position attribute which is 32 bit in size!
I find out that GA_Detail class takes an argument to set size of position:
GA_Detail Constructor [www.sidefx.com]
But the problem is how can I access that via GU_Detail class because constructors of this class don't take any GA_Storage to construct GA_Detail as we wish.
Another bad news is all setters in GA_Detail class are getting UT_Vector3 as their argument for set position attribute which is 32 bit in size!
- tamte
- Member
- 8449 posts
- Joined: July 2007
- Offline
not sure about Python, but since you can use Attrib Cast SOP to cast attributes to 64bit and some SOPs like Transform SOP allegedly use 64bit precision if P is 64bit I suppose there is a way to do it in HDK
VEX however is currently just 32bit
VEX however is currently just 32bit
Edited by tamte - Aug. 19, 2018 21:06:35
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- N-G
- Member
- 209 posts
- Joined: March 2018
- Offline
- tamte
- Member
- 8449 posts
- Joined: July 2007
- Offline
There is some info from Neil in this thread
https://www.sidefx.com/forum/topic/43740/ [www.sidefx.com]
https://www.sidefx.com/forum/topic/43740/ [www.sidefx.com]
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- tamte
- Member
- 8449 posts
- Joined: July 2007
- Offline
- N-G
- Member
- 209 posts
- Joined: March 2018
- Offline
-
- Quick Links