Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D Scaling numerically!

  • Scaling numerically!

    Posted by Stephane Gouin on November 18, 2011 at 7:15 pm

    Hey everyone,

    I wondered how I could scale an object numerically. Example!

    My object is 20x40x60, but I want it to be…16x32x48 but I just want to input my 48 value and the others to follow in proportion.

    Can anyone give me a hand!

    Thanks in advance

    Graham Quince replied 14 years, 10 months ago 2 Members · 1 Reply
  • 1 Reply
  • Graham Quince

    November 20, 2011 at 4:18 pm

    Xpresso can do this.

    Add an Xpresso tag to one of your objects.
    In the X Group window drag in the ’48’ object.
    Click on the red corner and find the scale settings (Coordinates > Scale)
    Drag in the other two objects. In their blue corners, click and add the same scale settings.
    Anywhere on the XGroup ‘desktop’ right-click and choose New Node > Xpresso > Calculate > Formula.
    On the new Formula node which will have appeared, click on the blue corner and choose Value.
    In the attributes window, check the Use Portnames checkbox
    In the Formula text field type the following:

    Value1*20/60

    From the ’48’ object’s scale port (blue circle), drag a line to the Formula’s Value1 port.
    From the Formula’s output port drag another line to the scale property of your smaller box.
    Highlight and copy the Formula node.
    Change the formula’s text to be

    Value1*30/60

    Drag a line from the ’48’ object to this Formula’s value1 and connect up the output in the same way.

    And that’s it. Your smaller object will retain the same scale relationship no matter what size you put in the largest object.

    If any of this is unclear, I’m preparing a tutorial which partly deals with simple Xpresso set-ups like this. Stay tuned.

    Graham

    http://www.YouTube.com/ShiveringCactus – Free FX for amateur films

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy