After a brief look into VOPs i've got a question - instead of stacking a lot of primitive nodes is it possible to write something like expression in VOPs? I mean are there any node with simple syntax analyzer that does some simple math operations?
The reason i'm asking it, is that i was needed to reflect a vector, and instead of simple 1-string expression i had to create like 10 or so nodes. I understand that VOPs is very fast, but i think it's also possible to make “Expression VOP” that is gonna be as fast as other VOP nodes?
Expression VOP?
3286 3 3-
- Mudvin
- Member
- 66 posts
- Joined: 7月 2005
- オフライン
-
- Erik_JE
- Member
- 300 posts
- Joined: 1月 2010
- オフライン
-
- Mudvin
- Member
- 66 posts
- Joined: 7月 2005
- オフライン
-
- old_school
- スタッフ
- 2540 posts
- Joined: 7月 2005
- オンライン
A mentoined by Erik, use the Inline VOP to inject custom vex code.
If you want to reflect a vector along another, use the Reflect VOP.
The attached file uses an Inline VOP to randomize v and then a second VOP SOP to reflect these random v vectors by the surface N normals.
If you want to reflect a vector along another, use the Reflect VOP.
The attached file uses an Inline VOP to randomize v and then a second VOP SOP to reflect these random v vectors by the surface N normals.
There's at least one school like the old school!
-
- Quick Links


