Derivatives in ICE

Discussions about SOFTIMAGEs© Interactive Creative Environment©
Victorcg
Posts: 91
Joined: 26 Jun 2009, 08:59

Derivatives in ICE

Post by Victorcg » 01 Oct 2011, 05:45

Hello.
Does anybody know, how to calculate derivatives inside ICE?
Thank You.

User avatar
xsisupport
Posts: 713
Joined: 09 Jun 2009, 09:02
Location: Montreal Canada

Re: Derivatives in ICE

Post by xsisupport » 01 Oct 2011, 12:14

Hi

Derivative of what?

Looking at this the actual math looks straightforward, once you have f(x) defined. What's your f(x) ?
// Steve Blair
// "You're not a runner, you're just a guy who runs" -- my wife
//
// My Blogs: Arnold | Softimage

User avatar
Daniel Brassard
Posts: 878
Joined: 18 Mar 2010, 22:38
Location: St. Thomas, Ontario

Re: Derivatives in ICE

Post by Daniel Brassard » 01 Oct 2011, 17:59

Look in the ICE compound section, there is a bunch of curve compounds I provided recently. Two of them have first and second derivatives: they are called DB_bezier3 and DB_bezier4. The tangent and normal vectors are the first and second derivatives. Open the compound and you will see examples of how it is done with ICE (inside the compound they are called first and second derivative).

viewtopic.php?f=19&t=1769

As for the derivative, go to the website below and type the formula in the field provided. It will give you the answer. Then follow what I did in my compound.

http://www.numberempire.com/derivatives.php

Hope that help!
$ifndef "Softimage"
set "Softimage" "true"
$endif