|
![](/i/fill.gif) |
Chris Huff wrote:
>
> While testing my new object pattern I ran into a problem where list
> patterns don't seem to work in media. I tried it in the official
> version(POV-Ray Mac version 3.1g.r1) with the same results.
>
> When I use the colors after the checker keyword, I get:
> error: No matching } in density, color found instead.
>
> If I remove the color statements, I get:
> error: Missing pigment
>
> Here is the media code I was using:
> media {
> emission color rgb < 0.5, 0.1, 1>*0.5
> intervals 1 samples 10, 10
> variance 1/128 confidence 0.9
> density {checker color rgb <1,0,0> color rgb <0,0,0>}
> }
>
> Am I just doing this wrong, or is there a bug in POV-Ray? I looked
> through the source code, but so far have not succeeded in figuring out
> what is going on.
You are doing it wrong :)
I have an example pov file that illustrates how to use color list patterns
with media that I will post in the povray.binaries.scene-files group for you.
It illustrates how to use all four list patterns.
Thread name will be: "Color List Patterns and Media Example"
--
Ken Tyler - 1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
![](/i/fill.gif) |