Hello,
I can't import attribute I created in VOPSOP node.
When i check in the detail view I can see the value of my attribute but when I use importAttribute node in the VOPSOP nothing happen. When I check the value with the console there only “adata: {0.000000,0.000000,0.000000}”I import a vector
Here is my scene. I don't know what I miss
Thanks for your help
Import attribute problem
3379 4 0- vbk!!!
- Member
- 383 posts
- Joined:
- Offline
- vbk!!!
- Member
- 383 posts
- Joined:
- Offline
- tamte
- Member
- 8449 posts
- Joined: July 2007
- Offline
you should feed constant 0 to ptnum of importattrib1
to always import the attribute from the first point of the second input
since the second input has only one point and therefore importing from other index than 0 will give you (0,0,0)
EDIT: for your particular case you do not need to create centerpos attribute, you can directly import P in the VOP SOP
to always import the attribute from the first point of the second input
since the second input has only one point and therefore importing from other index than 0 will give you (0,0,0)
EDIT: for your particular case you do not need to create centerpos attribute, you can directly import P in the VOP SOP
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- vbk!!!
- Member
- 383 posts
- Joined:
- Offline
- tamte
- Member
- 8449 posts
- Joined: July 2007
- Offline
vbk!!!
…
i am not sure to understand your edit
In the vopsop P is the points of my grid but I need the coord of the pivot of my sphere … how can I imort that in my VOPSOP ?
…
in importattrib1 you can type P directly instead of centerpos which is containing the same values as P in your case
it will then import position of the specified point(s) from the specified input on importattrib1
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
-
- Quick Links