|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Could someone tell me the correct syntax for using
the 'object' pattern in a media density ?
I tried simply this :
sphere {<0,0,0>,10 hollow
interior
{
media {
emission .1
density {
object {box {<0,0,0>,<2,2,2>}}
}
}
}//<-- stops here
pigment {Clear}
}
But dear POV tells me "error : missing pigment"...
Fabien.
Post a reply to this message
|
|
| |
| |
|
|
From: Christoph Hormann
Subject: Re: object pattern in media - syntax ?
Date: 14 Jul 2002 08:42:41
Message: <3D3171C1.43456513@gmx.de>
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Christoph Hormann wrote:
>
> object {
> box {<0,0,0>,<2,2,2>}
> density {rgb<1,0,0>}
> density {rgb<0,0,0>}
> }
Oooooh. OK, thanks :-)
(maybe it's time for me to re-print and re-read the full
docs...)
Fabien.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|