POV-Ray : Newsgroups : povray.general : White *IS* Green! : Re: White *IS* Green! Server Time
14 Nov 2024 23:21:27 EST (-0500)
  Re: White *IS* Green!  
From: Andrew Cocker
Date: 20 Apr 1999 22:35:11
Message: <371d2b4f.0@news.povray.org>
Spider <spi### [at] bahnhofse> wrote in message news:371D2967.ADBA7CC3@bahnhof.se...
> This works:
>
>
>
> #include "colors.inc"
> #include "textures.inc"
> #include "metals.inc"
>
> // camera
> camera {
>     location <0,0,-5>
>     direction 2.0*z
>     up        y
>     right     4/3*x
>     look_at <0,0,0>
> }
> //
> // lights
> light_source {
>     0*x
>     rgb <1,1,1>
>     translate <10,10,-10>
> }
> //
>
> plane {y,-1
>     texture {
>     pigment {checker
>     colour rgb 1
>     colour rgb 0}
>     finish {ambient .4}
>     }
> hollow
> }
>
>
> Note that I have added the colour keyword, and broken the lines.
>

Yeah, thanks. I tried using

pigment { checker rgb 1 rgb 0}

but got an error..didn't think to use color/colour. The seperate lines shouldn't make
a
difference though, should they. Doesn't POV ignore them?

Andy


Post a reply to this message

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