...
> In Moray:
> Code an object or material with the clock value.
...
An example of a material:
From 6.1.3.4.2 Clock Identifiers in the POV-Ray help file
clock_on
#if(clock_on=0)
//stuff for still image
#declare myclock=1;
#else
//some animation
#declare myclock=clock;
#end
texture
{
pigment
{
color rgb <0.0, 0.0, 1.0*(sin (pi * myclock))>
}
}
Comments welcome
Stephen
Post a reply to this message
|