|
|
Fabien Mosen wrote:
>
> Could someone tell me the correct syntax for using
> the 'object' pattern in a media density ?
>
The object pattern is similar to a block pattern like checker or hexagon
but the list items have to be inside the object{} block and are not
optional.
For syntax see section 6.8.3.2 and 6.7.11.23:
sphere {<0,0,0>,10 hollow
material {
interior {
media {
emission .1
density {
object {
box {<0,0,0>,<2,2,2>}
density {rgb<1,0,0>}
density {rgb<0,0,0>}
}
}
}
}
texture { pigment { color rgbt 1 } }
}
}
Christoph
--
POV-Ray tutorials, IsoWood include,
TransSkin and more: http://www.tu-bs.de/~y0013390/
Last updated 12 Jul. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|