Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

MarioD

I control the direction of the wind field with the direction of an object

Hi, 

I'm pretty new to houdini so probably this is very basic.

How can I control the direction of the wind field with the direction of an object?

I hope someone can help

Tks!

Share this post


Link to post
Share on other sites

Get the Object Centroid. Get the velocity of that point.

Now in the Wind Field DOP, under the direction parameters, read the velocity using a point expression for each of the respective axis. You can multiply that value by -1, if you want the Wind blowing in the opposite direction.

Edited by bloodhawk

Share this post


Link to post
Share on other sites

Tks, but I'm not sure I can do all that. I'm missing some basics.

Can you upload a simple scene?

 

Tks!

Share this post


Link to post
Share on other sites

Ok I did it. Tks!

But now I'm trying something a bit different. 

Now I would like to find the velocity of the faces of a rotating object. Then This object will be a volume that will control the amount of wind on a grass field, this part is working, I just need to be able to transfer the velocity vector of the poly faces to the wind direction.

I think I'm almost there.

I've attached a simple scene

 

 

 

ObjectVelocity.hipnc

Share this post


Link to post
Share on other sites

Really cool, I still have soooo much to learn.... tks! 

Share this post


Link to post
Share on other sites

How can I pass that v value to a DOP's network wind velocity?

Share this post


Link to post
Share on other sites

Im attaching my file.

 

I want to use that object to control the wind force on a field of grass. A part of it it's working. I can affect the hair using the volume of the object and with your help I can get the vel. 

 

But I don't know how to pass that value, per point, to the Wind Velocity. CHOPS might be the solution, I've watched and read loads of stuff by now but I still can't figure it out.

 

 

 

 

WindDirection.hipnc

Share this post


Link to post
Share on other sites

I really appreciate your help, I'm studying what you did and most of it makes sense. Would be hard to get there alone with the knowledge I have now. 

Edited by MarioD

Share this post


Link to post
Share on other sites
9 hours ago, MarioD said:

Cool, so you replaced the DOP net that I had in the file?

More or less yes, you can still use the same setup inside the Guide Sim DOP instead, just add the multi-solver setup with the sop solver.

Although I honestly haven't used the hair tools in Houdini yet, there might be other methods intended to do the same or similar effect :D

1 person likes this

Share this post


Link to post
Share on other sites

Ok so, let me see if I understand. You used a SOP solver so you can use the Geometry (SOP level) to the simulation?

Edited by MarioD

Share this post


Link to post
Share on other sites

Yup, something like that. In addition to giving access to all the SOP context nodes, the default nodes (dop import) contains the data of the current sim for you to freely process as you want. In the case of the above example file, I'm simply updating the force. I hope that made sense :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now