attribvop: basic questions

   1997   4   0
User Avatar
Member
23 posts
Joined: 6月 2021
Offline
Hello,

Explain to me please, I'm completely confused: ((

1)I create objet grid.
2)I create attribvop
3)In attribvop I do this: geometryvopglobal: P ---> constant:vector(0, 0,1, 0) ---> add ----> geometryvopoutput: P




I expect to see a 0.1 change in the position of the object on the Y-axis, but the object just disappears. ((
Edited by Renji_kan - 2021年6月11日 14:55:20

Attachments:
atribvop.jpg (407.9 KB)

User Avatar
Member
40 posts
Joined: 11月 2019
Offline
no expert myself, but usually I'd split out @P into floats using vector to float node, then apply a single constant add to the mid slot(Y) then recombine into a float to vector and then goes into yer @P in geometryvopoutput
User Avatar
Member
495 posts
Joined: 7月 2005
Offline
You can also change const type to vector ("add" is not casting float to vector automatically).
User Avatar
Member
23 posts
Joined: 6月 2021
Offline
Aizatulin
You can also change const type to vector ("add" is not casting float to vector automatically).

But, in the first message I wrote that I chose the vector type for the const variable:

In attribvop I do this: geometryvopglobal: P ---> constant:vector(0, 0,1, 0) ---> add ----> geometryvopoutput: P
User Avatar
Member
23 posts
Joined: 6月 2021
Offline
I understood what the mistake was. There were no connected nodes in the wop attribute node and they caused an error.
  • Quick Links