hello,
i'm new in houdini universe.
i was trying to understand basic operation in vex sop but i'm stuck on a simple thing.
basicly, i want move a cube, if he under (0 , 0 ,0) i translate its position to (10,10,10)
first i don't find a way to manipulate the cube, i find only a way to manipulate each vertex.
and by using “compare” and a “if” it's looks like work on ly if x<0 but not y<0 or z<0
how i can do this simple operation ?
Thanks
compare
2883 6 2- izo
- Member
- 6 posts
- Joined: 6月 2011
- Offline
- Erik_JE
- Member
- 299 posts
- Joined: 1月 2010
- Offline
- izo
- Member
- 6 posts
- Joined: 6月 2011
- Offline
- izo
- Member
- 6 posts
- Joined: 6月 2011
- Offline
- fsimerey
- Member
- 279 posts
- Joined: 12月 2009
- Offline
First, VOP/SOP only proceed on points (and their attributes of course).
You CAN'T create or delete points.
If your cube is a primitive, Houdini take it like a only one point.
Don't forget that VOP proceed for each points.
So if you want move your cube, you will translate points by taking their positions and add values with an ADD vop operator.
There are two tutorials on cmiVFX on VOP/SOP (not free).
Et pour finir, bienvenue dans ce merveilleux monde d'Houdini
You CAN'T create or delete points.
If your cube is a primitive, Houdini take it like a only one point.
Don't forget that VOP proceed for each points.
So if you want move your cube, you will translate points by taking their positions and add values with an ADD vop operator.
There are two tutorials on cmiVFX on VOP/SOP (not free).
Et pour finir, bienvenue dans ce merveilleux monde d'Houdini
- fsimerey
- Member
- 279 posts
- Joined: 12月 2009
- Offline
- izo
- Member
- 6 posts
- Joined: 6月 2011
- Offline
-
- Quick Links