Formula
Formula
Formula
Using Formulas in
Carrara Studio
• Primitive objects
2 Select the shader tree component where
you want to use a formula.
• Deformers
3 Select Pattern Functions> Formula
• Tweeners from the list. The formula controls
appear on the selected branch of the
• Shaders
shader tree.
• Gels
To create Formula gels:
• Backgrounds and Backdrops
1 Select a light other than Distant light.
To create a Formula primitive:
2 Display the Properties tray: Effects
1 Drag the Formula Primitive icon into the tab: Gel panel.
scene, or choose Insert menu > 3 Choose Formula from the list. The
Formula. formula controls appear in the dialog.
2 Double-click the object to display the
formula controls, or click the Model To create Formula backgrounds or
room button. backdrops:
Formula Operators
Use the Formula Editor controls to enter formulas
and set variables. sin(x) sine of x
For a few items, the controls also include a cos(x) cosine of x
preview of sorts. (For the tweener formula,
the preview is a graph.) tan(x) tangent of x
asin(x) arcsine of x
acos(x) arccosine of x
atan(x) arctangent of x
Formula Gel
Output Variables
value or red, green, blue
Input Variables
u,v(u,v) defines a point on the backdrop. The
range is between 0 and 1. (0,0) is the lower
left corner, (1,1) the upper right.
Formula Primitive
(Object)
Output Variables
x,y,z local coordinates of the point defined
by (u,v).
Input Variables
u,v The parametric space coordinates. The
range is between 0 and 1.