Previous : Module usage and linking
Index

title.jpg

Usually, objects are assigned standard AoI textures (uniform, procedural, imaged mapped, etc...). However, just as geometric characteristics of objects vary along the decoration process of a coil or golden ball module, it is sometimes wished that the texture vary as well. For example, a flower may have darker petals at its center than on the periphery.

Using two special value parameters in a procedural texture (be it 2D or 3D), it is possible to vary the texture along the decoration process. Two parameters are available for texture parameterising :
To use one of these parameters in a procedural texture, insert a parameter value and name it "YTAPD" or "RTAPD". It is mandatory that the parameter names are properly spelled, using upper case characters. Another requirement is that these texture parameters must be applied to whole objects.

For example, let us define the following TaPD procedure, which consists of a simple golben ball decoration :

ytapd_proc.jpg ytapd_procb.jpg

Figure 1 : A simple Golden ball procedure

Let us now suppose that we want the color of the cyliders to be yellow at the top and red at the bottom. This effect can be reached through defining the following procedural 2D texture :

ytapd_tex.jpg
 
ytapd_texb.jpg

Figure 2 : A procedural texture that makes use of Y parameter

 and applying this texture to the the tube object, using object as texture parameter :

tex_edit.jpg

Figure 3 : Applying the texture to the tube object. Note the texture parameters setting.

which yields the following result :

ytapd_fig.jpg

Figure 4 : Result !

If we wanted the tube color to vary with the radial angle, we could have used the RTAPD parameter, as shown below. Note that since the 0 and 1 value of the radial angle overlap (0 and 360°), the customised colormap must be such that the two ends correspond to the same colour (which is not the same as activating the periodic option !).

rtapd_proc.jpg
rtapd_procb.jpg

Figure 5 :
A procedural texture that makes use of R parameter...


rtapd_fig.jpg

Figure 6 : ...and result.


texure.jpg

This example can be dowloaded here.



Previous : Module usage and linking Index