POV-Ray : Newsgroups : povray.unofficial.patches : pigment_pattern Server Time
2 Sep 2024 06:13:30 EDT (-0400)
  pigment_pattern (Message 1 to 7 of 7)  
From: Sander
Subject: pigment_pattern
Date: 22 May 2000 17:03:14
Message: <3929a092$1@news.povray.org>
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

From: Nathan Kopp
Subject: Re: pigment_pattern
Date: 22 May 2000 17:07:21
Message: <3929a189$1@news.povray.org>
Sander <san### [at] stolscom> 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

From: Sander
Subject: Re: pigment_pattern
Date: 23 May 2000 05:48:35
Message: <392a53f3$1@news.povray.org>
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] Koppcom> 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

From: Mike Wilson
Subject: Re: pigment_pattern
Date: 23 May 2000 15:18:36
Message: <392AD97F.BA65D50@iastate.edu>
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] stolscom> 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

From: Nathan Kopp
Subject: Re: pigment_pattern
Date: 23 May 2000 16:40:47
Message: <392aeccf@news.povray.org>
Mike Wilson <maw### [at] iastateedu> 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

From: Mike Wilson
Subject: Re: pigment_pattern
Date: 24 May 2000 09:00:22
Message: <392BD260.2B1C4715@iastate.edu>
Thank you, Nathan.

Nathan Kopp wrote:

> Mike Wilson <maw### [at] iastateedu> 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

From: Stephane Marty
Subject: Re: ANNOUNCE Stochastic Radiosity Patch
Date: 26 May 2000 04:24:33
Message: <392E33FC.2D15@wanadoo.fr>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.