Jump to content

Maxscript access to pick wind property?


Recommended Posts

Heya Folks!

 

I've got a job with lots of growfx trees that have lots of paths in them. Is it possible to get maxscript access to the wind object "pick" button so that I can loop through all the trees and branches and set a single wind? In future it'd be great to have some kind of spreadsheet editor to be able to mass add modifiers and change their parameters - on more complex trees the display update can be a bit slow when changing between them all!

 

Cheers!

 

John

Link to comment
Share on other sites

Hi John,
 
Ok, we've added this feature. And you can use the following command:

<wind_modifier>.SetWind <wind_node>

For example, select the wind object and run this code:

mywind = $

Then select growfx object and run this code:

$.Path_01.Wind_01.SetWind mywind

Or like this:

mywindmodifier = $.getAfterMeshModifier 1 1
mywindmodifier.SetWind mywind

I think soon you'll be able to download the update  :)

 

Cheers

Link to comment
Share on other sites

Heya Folks!

 

I've got a job with lots of growfx trees that have lots of paths in them. Is it possible to get maxscript access to the wind object "pick" button so that I can loop through all the trees and branches and set a single wind? In future it'd be great to have some kind of spreadsheet editor to be able to mass add modifiers and change their parameters - on more complex trees the display update can be a bit slow when changing between them all!

 

Cheers!

 

John

You will find that you still need to adjust the wind to suit each tree part [Trunk,branch,twigs,leaves], as achieving a good wind setting for your tree requires adjusting the wind setting for each different part.

If you have a look at trees in nature you will see that the different elements of a tree move differently in the wind. EG The trunk only move a little, the first branch a bit more and twigs moving a lot, etc etc.

The wind settings really rely on the length of the path so you will need different wind settings for different length paths.

 

Hope this helps

Link to comment
Share on other sites

Heya!

 

Yep, you're right on that. What I'm getting in some cases though is library trees being merged in from different files so it's handy to be able to relink them. I'm going to have a look at some of the dot net maxscript bits so maybe we could have a floating panel that'll show and allow you to set parameter without having to browse through the paths individually.

 

Fun things!

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.

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.

Loading...
×
×
  • Create New...