Jump to content

Vex SOP


Recommended Posts

(I am new to Houdini.Please bear with my lack of technical knowledge of Houdini)

How does the velocity attribute work in vex?

I mean for testing it, i created a new SOP type in vex.

In the vex code i wrote the following

sop

sop1()

{

v={1,1,1};

}

After compiling it succesfully,i saved the otl file.

Then i dropped this sop in the network view and connected a line to its input and activated the sop.

The line is still at rest.

Nothing happens.What did i assign the velocity to? Where is the action?

Link to comment
Share on other sites

Well you've given it a velocity attribute, but that doesn't mean it's going to move along the velocity path.

You need to stick it in a solver to do that...

You could test it with a sop solver (think it's just called "solver" in SOPs now) and add the velocity to the position every frame...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...