This is a child page. You can use Parent in the quick nav bar at the top or the bottom of the page to navigate directly back to the parent of this page. Some child pages are more than one level deep, and in that case will require more than one Parent click to reach the outermost document level.

16.90.5.21 - dmap (SceneScript element)

 <dmap "T" P1 P2 P3

This language element may be used inside a  <trait block.

"T" is a quoted name for a decision mapping method. P1, P2 and P2 may be expressions.

Decision mapping allows you to use a decision metric (such as a checkerboard) to decide whether to apply the  <texturemap or  <texturemap2 language element on a particular point for any object.

For instance, you can set up  <texturemap to generate marble; then set up  <texturemap2 to generate wood. Then, using the checkerboard decision map, you can create a checkerboard that alternates between marble and wood.

The following decision maps are supported:

NameP1P2P3Details
checker Size n/a n/a Switches back and forth in a classic checker pattern
noise variance threshold gain Applies noise as a switch
Keyboard Navigation
, Previous Page . Next Page t TOC i Index o Operators g Glossary
WinImages F/x, Morph and all associated documentation
Copyright © 1992-2007 Black Belt Systems ALL RIGHTS RESERVED Under the Pan-American Conventions
WinImages F/x Manual Version 7, Revision 6, Level A

Valid HTML 4.01 Loose
 

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7
Page 193