Wednesday, December 8, 2010

Day 58: VEX Introduction

VEX is stands for Vector Expression (VEX) and Vector Operator (VOP)in this exercise we learn the basic capabilities of VEX.

First start with VEX, so in network view, we start with a geometry node and in geopetry node add a line node
Then go to the VEX dropdown list and press tab to add the "SOP type" rename to sinWave builder.
In the VEX builder add "Vector float node" and "float to vector node and connect it as shown in the image.

later add new three parameter nodes like "frequency", "offset", and "amplitude" and connect it to "trignometic function and multiply function so we able to create the "sine" wave.
finally outout the wave with the controls as shown in the image below.

For the VOP we use the same line as base and add the "VOPsop" then dig in to the VOP sop and create new parameters like height and radius of the circle as shown below.

lastly add the circle node and connect it with the swep node to merge the connection. in line we use the distance value to put in the poits so to incrise the distance of the points.

No comments: