attribvop: basic questions
2045
4
0
Renji_kan
Member
23 posts
Joined: June 2021
Offline
June 11, 2021 2:54 p.m.
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 - June 11, 2021 14:55:20
Attachments:
atribvop.jpg (407.9 KB)
gt3d2019
Member
40 posts
Joined: Nov. 2019
Offline
June 12, 2021 4:05 a.m.
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
Aizatulin
Member
496 posts
Joined: July 2005
Online
June 12, 2021 7:50 a.m.
You can also change const type to vector ("add" is not casting float to vector automatically).
Renji_kan
Member
23 posts
Joined: June 2021
Offline
June 12, 2021 10:44 a.m.
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
Renji_kan
Member
23 posts
Joined: June 2021
Offline
June 12, 2021 12:08 p.m.
I understood what the mistake was. There were no connected nodes in the wop attribute node and they caused an error.