PDA

View Full Version : 3ds Max Wire/Script question


someernst
04-22-2011, 05:35 PM
Please, help me to understand how to connect (wire or any other way) parameters between:

- Rotation (on local axis X: 0-360)
and
- "amount" parameter dialog (0-100)?

With possibility of controlling it. Not just 0=0 and 100=360. More like 0=70, 100=210

Many Thanks in advance!

Mr-Bullfrog
04-24-2011, 08:19 AM
This can be achieved with some very simple mathematics, for example:

More like 0=70, 100=210
So your rotation range is 210 - 70 = 140.
Therefore your amount multiplier is 140 / amount (maximum) == 140 / 100 = 1.4
You'll then need an offset of 70, as an amount value of 0 should equal 70.

So your final expression would be:
(amount * 1.4) + 70

-Jeremy

someernst
04-25-2011, 12:10 PM
Thank you, Jeremy. Got your point, but simply don't know where to start. Never wrote a line in MAX Script.
Would be just great if you can tell me where (or how) to start.
As i understand i need to use some motion controller - right? Which one?
Thanks again.

Mr-Bullfrog
04-25-2011, 12:31 PM
Ah, I misunderstood. :-) You can accomplish this with parameter wiring. Check out the "Wire Parameters" topic in the Max help.

-Jeremy

CGTalk Moderation
04-25-2011, 12:31 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.