C4D's Range mapper in ICE

Discussions about SOFTIMAGEs© Interactive Creative Environment©
TheDutchOracle
Posts: 47
Joined: 26 Mar 2013, 10:32

C4D's Range mapper in ICE

Post by TheDutchOracle » 27 Mar 2013, 10:46

hi i was trying to figure out something (no solution yet)
maybe someone here knows the answer?

I was trying to recreate the 'Range Mapper' node from Cinema 4D in Ice.
(i figured it would be really simple but it hasn't been yet)

A while ago i did a little kitche animation where all objects were animated without keyframes. (setting starttime and end time by hand typed)
(see pictures) That's the range mapper.

(the basic kitchen scene where all objects were animated)
Image

(The Xpresso nodes I used for animating them)
Image

(the node-settings (in yellow highlight) for animating each object)
Image

in short let's say i want to move 1 cube somewhere at frame 51
i want to type eventualy:
* Start frame
* End Frame
* Start Position
* End position
just like in the range mapper node from Cinema 4D
Someone knows if this is possible at all with ICE?
Amsterdam - Softimage 2013, "Some say the world will end in fire, some say in ICE".

TheDutchOracle
Posts: 47
Joined: 26 Mar 2013, 10:32

Re: C4D's Range mapper in ICE

Post by TheDutchOracle » 27 Mar 2013, 12:14

My first guess was to do something simple like this (then afterwards insert everything 1 one compound when i'm done)
this one is not corrected right yet, it does move from position A to position B based on time, but not with nice fcurve yet etc)

So this is just the basic idea 1.1 (not good execution yet)
This node when done will make simple SRT animations possible without keyframes.

Image
Amsterdam - Softimage 2013, "Some say the world will end in fire, some say in ICE".

TheDutchOracle
Posts: 47
Joined: 26 Mar 2013, 10:32

Re: C4D's Range mapper in ICE

Post by TheDutchOracle » 27 Mar 2013, 12:34

my first attempt (1.2)
It does move to the new position at the right time (after 3 seconds) without keyframes , but not in fluid motion yet.

Image



If anybody here is familiar with C4D's range mapper, ideas how to make this work in ICE is always welcome : )
Aftwrwards when it's done i can post the compound here + make a short project based tutorial on how to put it to use in a real project.
Amsterdam - Softimage 2013, "Some say the world will end in fire, some say in ICE".

User avatar
Mathaeus
Posts: 1778
Joined: 08 Jun 2009, 19:11
Location: Zagreb, Croatia

Re: C4D's Range mapper in ICE

Post by Mathaeus » 27 Mar 2013, 13:04

TheDutchOracle wrote:My first guess was to do something simple like this (then afterwards insert everything 1 one compound when i'm done)
this one is not corrected right yet, it does move from position A to position B based on time, but not with nice fcurve yet etc)

Could be "rescale" node, input is current frame, "source start" is start frame of animation, "source end" is end frame of animation. Output of rescale goes into lerp (linear interpolate), in lerp, you can set positions, to blend in between. If you want smooth interpolation, there is fCurve node to put in between rescale and lerp. That's just one way, there are other ways to.

In any way, you don't want to interpolate between matrices directly. If there's some rotation involved, matrix blend can do some kind of skew.

Also, if you're in un-simulated ICE tree, "current frame" probably won't catch, so you can use some animated parameter, instead of current frame, let's say rotation of some animated null.

TheDutchOracle
Posts: 47
Joined: 26 Mar 2013, 10:32

Re: C4D's Range mapper in ICE

Post by TheDutchOracle » 27 Mar 2013, 13:16

Ah, using a null for that is a great idea, will try that (with rescale node now)
Amsterdam - Softimage 2013, "Some say the world will end in fire, some say in ICE".

nautilus
Posts: 29
Joined: 08 Mar 2011, 21:32

Re: C4D's Range mapper in ICE

Post by nautilus » 27 Mar 2013, 13:36

c4d rangemapper = ICE rescale

TheDutchOracle
Posts: 47
Joined: 26 Mar 2013, 10:32

Re: C4D's Range mapper in ICE

Post by TheDutchOracle » 27 Mar 2013, 13:47

hi guys,
thanks for the replies, i just figured that out a second ago, i feel so dumb now : )
atm trying to combine an ice tree to create something like: http://c4dtools.net/psr-animator/
just to practice some ICE.

The basic setup is now (correct):
just posting this picture in case someone find it usefull...

Image
Amsterdam - Softimage 2013, "Some say the world will end in fire, some say in ICE".