POV-Ray : Newsgroups : povray.newusers : Is this a bug or is it me? : Re: Is this a bug or is it me? Server Time
5 Nov 2024 03:18:54 EST (-0500)
  Re: Is this a bug or is it me?  
From: Doug Moses
Date: 3 Dec 2000 23:57:03
Message: <3a2b241f@news.povray.org>
Thanks for the quick response. I changed the code as you suggested and it
works great. The only thing is it is now just a granite plane. I was trying
to get a distant starfield image. I guess this is not the technique to use
for this effect. I also found out that the -5000 and 5000 numbers were the
key to this strange effect. When these numbers are low it is a uniform
pattern. When they are large this is when you get the distinct boundary
changes. I guess it is too far for the formula to work correctly.

Thanks for all of you help!
Doug

"Steve" <ste### [at] zeroppsuklinuxnet> wrote in message
news:slr### [at] zero-ppslocaldomain...
> On Sun, 3 Dec 2000 21:57:07 -0600, Doug Moses wrote:
>
> >Below is the code to this question.
>
> Hi Doug, I havn't rendered this but some things look strange,
> I'll comment the code.
>
> camera
>  {
>   location <0,0,-5000>  // a lot of units.
>   look_at <0,0,0>
>  }
>
> plane
>  {
>   <0,0,1>,5000   // don't know what the ,5000 is doing there?
>   texture        // probably better to use something like
>    {             // plane {z,5000
>     pigment      //        all the pigment stuff goes here
>      {           //       }
>       granite
>       color_map
>        {
>         [5 rgb <0,2,5>]
>         [.3 rgb 0]
> //     Colour maps go from 0 to 1 ie:
> //     colour_map
> //       {
> //        [0 rgb <0,2,5>]
> //        [0.1  rgb 0]
> //        [1 rgb 0]
>        }
>      }
>    }
>    finish {ambient 1}
>  }
>
> Hope some of that helps.
>
> --
> Cheers
> Steve              email mailto:ste### [at] zeroppsuklinuxnet
>
> %HAV-A-NICEDAY Error not enough coffee  0 pps.
>
> web http://www.zeropps.uklinux.net/
>
> or  http://start.at/zero-pps
>
>   4:04am  up 54 days,  6:28,  2 users,  load average: 2.21, 1.55, 1.30


Post a reply to this message

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