Shortcut Reference for Shaders


A complex object in Softimage might be described by hundreds or even thousands of individual parameters.

The object model provides ways to traverse through a hierarchy to visit each ProjectItem object and find its parameters. However, for convenience some of the most common parameters are promoted so that they also act as if they are parameters directly on the X3DObject parent. These are called shortcuts.

You can use shortcuts in your scripts or use the full property and parameter name syntax, although compiled code only supports the full parameter name syntax. Using shortcuts allows you to omit the names of the intermediate nodes as an alternative to specifying the full name and are available when scripting with both commands and the object model.

The following shaders have shortcuts:


Table of contents

Phong


Property name

Shortcut to use

Name

Name

ambient

ambient

diffuse

diffuse

specular

specular

ambience

ambience

shiny

shiny

transparency

transparency

trans_glossy

trans_glossy

transparent_samples

transparent_samples

reflectivity

reflectivity

reflect_glossy

reflect_glossy

reflect_samples

reflect_samples

index_of_refraction

index_of_refraction

translucency

translucency

incandescence

incandescence

inc_inten

inc_inten

bump

bump

notrace

notrace

diffuse_inuse

diffuse_inuse

specular_inuse

specular_inuse

reflect_inuse

reflect_inuse

refract_inuse

refract_inuse

incand_inuse

incand_inuse

translucent_inuse

translucent_inuse

radiance

radiance


Lambert


Property name

Shortcut to use

Name

Name

ambience

ambience

ambient

ambient

diffuse

diffuse

transparency

transparency

trans_glossy

trans_glossy

transparent_samples

transparent_samples

reflectivity

reflectivity

reflect_glossy

reflect_glossy

reflect_samples

reflect_samples

index_of_refraction

index_of_refraction

translucency

translucency

incandescence

incandescence

inc_inten

inc_inten

bump

bump

notrace

notrace

diffuse_inuse

diffuse_inuse

reflect_inuse

reflect_inuse

refract_inuse

refract_inuse

incand_inuse

incand_inuse

translucent_inuse

translucent_inuse

radiance

radiance


Blinn


Property name

Shortcut to use

Name

Name

ambience

ambience

ambient

ambient

diffuse

diffuse

specular

specular

roughness

roughness

ior

ior

transparency

transparency

trans_glossy

trans_glossy

transparent_samples

transparent_samples

reflectivity

reflectivity

reflect_glossy

reflect_glossy

reflect_samples

reflect_samples

index_of_refraction

index_of_refraction

translucency

translucency

incandescence

incandescence

inc_inten

inc_inten

notrace

notrace

diffuse_inuse

diffuse_inuse

specular_inuse

specular_inuse

reflect_inuse

reflect_inuse

refract_inuse

refract_inuse

incand_inuse

incand_inuse

translucent_inuse

translucent_inuse

radiance

radiance


Cook-Torrance


Property name

Shortcut to use

Name

Name

ambience

ambience

ambient

ambient

diffuse

diffuse

specular

specular

roughness

roughness

ior

ior

transparency

transparency

trans_glossy

trans_glossy

transparent_samples

transparent_samples

reflectivity

reflectivity

reflect_glossy

reflect_glossy

reflect_samples

reflect_samples

index_of_refraction

index_of_refraction

translucency

translucency

incandescence

incandescence

inc_inten

inc_inten

notrace

notrace

diffuse_inuse

diffuse_inuse

specular_inuse

specular_inuse

reflect_inuse

reflect_inuse

refract_inuse

refract_inuse

incand_inuse

incand_inuse

translucent_inuse

translucent_inuse

radiance

radiance


Strauss


Property name

Shortcut to use

Name

Name

diffuse

diffuse

smoothness

smoothness

metalness

metalness

ambience

ambience

transparency

transparency

trans_glossy

trans_glossy

transparent_samples

transparent_samples

reflectivity

reflectivity

reflect_glossy

reflect_glossy

reflect_samples

reflect_samples

index_of_refraction

index_of_refraction

translucency

translucency

incandescence

incandescence

inc_inten

inc_inten

bump

bump

notrace

notrace

diffuse_inuse

diffuse_inuse

specular_inuse

specular_inuse

reflect_inuse

reflect_inuse

refract_inuse

refract_inuse

incand_inuse

incand_inuse

translucent_inuse

translucent_inuse

radiance

radiance


Anisotropic


Property name

Shortcut to use

Name

Name

image

image

surfderiv_mode

surfderiv_mode

ambient

ambient

diffuse

diffuse

glossy

glossy

shiny_u

shiny_u

shiny_v

shiny_v

transparency

transparency

trans_glossy

trans_glossy

transparent_samples

transparent_samples

reflectivity

reflectivity

reflect_glossy

reflect_glossy

reflect_samples

reflect_samples

index_of_refraction

index_of_refraction

translucency

translucency

incandescence

incandescence

inc_inten

inc_inten

notrace

notrace

diffuse_inuse

diffuse_inuse

specular_inuse

specular_inuse

reflect_inuse

reflect_inuse

refract_inuse

refract_inuse

incand_inuse

incand_inuse

translucent_inuse

translucent_inuse

radiance

radiance


Constant


Property name

Shortcut to use

Name

Name

color

color

transparency

transparency

trans_glossy

trans_glossy

transparent_samples

transparent_samples

reflectivity

reflectivity

reflect_glossy

reflect_glossy

reflect_samples

reflect_samples

index_of_refraction

index_of_refraction

incandescence

incandescence

inc_inten

inc_inten

notrace

notrace

reflect_inuse

reflect_inuse

refract_inuse

refract_inuse

incand_inuse

incand_inuse

radiance

radiance

This page was last modified 17:01, 15 Dec 2010.
This page has been accessed 2066 times.

© Copyright 2009 Autodesk Inc. All Rights Reserved. Privacy Policy | Legal Notices and Trademarks | Report Piracy