![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
What is wrong with the following bit of code, that came - most of it - from
the MegaPov 0.5 HTML doc?
I must confess that I never worked with patterned pigments before... Am I
really too dumb for all this?
------------------------------
box
<-1, -1, -1>,
<1, 1, 1>
scale <10.0, 10.0, 0.1>
texture
pigment
{
pigment_pattern
{
checker White,Black
scale 2
turbulence .15
}
pigment { checker Red,Green scale .5}
pigment { checker Blue,Yellow scale .2}
}
}
}
--
Regards, Sander
-----------------------------
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Sander <san### [at] stols com> wrote...
> What is wrong with the following bit of code, that came - most of it -
from
> the MegaPov 0.5 HTML doc?
> pigment_pattern
> {
> checker White,Black
> scale 2
> turbulence .15
> }
> pigment { checker Red,Green scale .5}
> pigment { checker Blue,Yellow scale .2}
The pigment_pattern requires a pigment_map (or color_map or a normal_map
or...). It does not use a list of colors, like checker does.
-Nathan
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thank you kindly, Nathan, or your explanation! I really have to spend even
more time to study all of the fantastic features of MegaPov. I guess I am
just slow...
--
Regards, Sander
-----------------------------
Nathan Kopp <Nat### [at] Kopp com> schreef in berichtnieuws
3929a189$1@news.povray.org...
>
> The pigment_pattern requires a pigment_map (or color_map or a normal_map
> or...). It does not use a list of colors, like checker does.
>
> -Nathan
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I'm still confused. If this example doesn't work, what needs to be done to
make it right? Is this just a mistake in the docs? I'd really appreciate a
working example.
Thanks.
Mike Wilson
Nathan Kopp wrote:
> Sander <san### [at] stols com> wrote...
> > What is wrong with the following bit of code, that came - most of it -
> from
> > the MegaPov 0.5 HTML doc?
> > pigment_pattern
> > {
> > checker White,Black
> > scale 2
> > turbulence .15
> > }
> > pigment { checker Red,Green scale .5}
> > pigment { checker Blue,Yellow scale .2}
>
> The pigment_pattern requires a pigment_map (or color_map or a normal_map
> or...). It does not use a list of colors, like checker does.
>
> -Nathan
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Mike Wilson <maw### [at] iastate edu> wrote...
> I'm still confused. If this example doesn't work, what needs to be done
to
> make it right? Is this just a mistake in the docs? I'd really appreciate
a
> working example.
Yes, the docs are incorrect. Below is what it should look like. Also, a
working example is available in the demos zip file.
-Nathan
box{
<-1, -1, -1>,
<1, 1, 1>
scale <10.0, 10.0, 0.1>
texture
pigment
{
pigment_pattern
{
checker White,Black
scale 2
turbulence .15
}
pigment_map{
[0, checker Red,Green scale .5]
[1, checker Blue,Yellow scale .2]
}
}
}
}
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thank you, Nathan.
Nathan Kopp wrote:
> Mike Wilson <maw### [at] iastate edu> wrote...
> > I'm still confused. If this example doesn't work, what needs to be done
> to
> > make it right? Is this just a mistake in the docs? I'd really appreciate
> a
> > working example.
>
> Yes, the docs are incorrect. Below is what it should look like. Also, a
> working example is available in the demos zip file.
>
> -Nathan
>
> box{
> <-1, -1, -1>,
> <1, 1, 1>
> scale <10.0, 10.0, 0.1>
> texture
> pigment
> {
> pigment_pattern
> {
> checker White,Black
> scale 2
> turbulence .15
> }
> pigment_map{
> [0, checker Red,Green scale .5]
> [1, checker Blue,Yellow scale .2]
> }
> }
> }
> }
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Stephane Marty
Subject: Re: ANNOUNCE Stochastic Radiosity Patch
Date: 26 May 2000 04:24:33
Message: <392E33FC.2D15@wanadoo.fr>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Using MegaPoV radiosity, the test scene (240x180, no AA) was rendered in
265 seconds with :
radiosity{
pretrace_start 0.08
pretrace_end 0.02
count 300
nearest_count 8
error_bound 1
recursion_limit 4
low_error_factor .5
gray_threshold 0.0
minimum_reuse 0.015
max_sample 2
adc_bailout 0.01/2
}
Using WinPoV 3.1g patched with my function, the rendering time was 582
seconds with 300 samples
Stephane
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |