|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi,
Can anyone explain why the following code gives me a black and *GREEN* checkered
plane?
plane {y,-1
texture {
pigment {checker White Black}
finish {ambient .4}
}
hollow
}
--
----------------------
Andy
------------------------------------------------------------------------------------------
-
--The Home Of Lunaland--
--visit my POV-Ray gallery--
--listen to my music--
www.acocker.freeserve.co.uk
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
because you haven't included colours.inc ??
Andrew Cocker wrote:
>
> Hi,
>
> Can anyone explain why the following code gives me a black and *GREEN* checkered
plane?
>
> plane {y,-1
> texture {
> pigment {checker White Black}
> finish {ambient .4}
> }
> hollow
> }
>
> --
> ----------------------
> Andy
>
------------------------------------------------------------------------------------------
> -
> --The Home Of Lunaland--
> --visit my POV-Ray gallery--
> --listen to my music--
> www.acocker.freeserve.co.uk
--
//Spider
[ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
What I can do and what I could do, I just don't know anymore
"Marian"
By: "Sisters Of Mercy"
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Spider <spi### [at] bahnhofse> wrote in message news:371### [at] bahnhofse...
> because you haven't included colours.inc ??
>
...is the wrong answer ;-)
I should have written:
<snip>
plane {y,-1
texture {
pigment {checker White Black}
finish {ambient .4}
}
hollow
}
both colors.inc and textures.inc are loaded.
Andy
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Perhaps you should make sure all your light sources are white.
Chris Capel
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Andy
You need a comma between the white and the black, then it'll be
ok.
I rendered it and got the green and black, don't know what causes
that, but the comma will sort it out.
Cheers
Steve
Andrew Cocker wrote:
>
> Hi,
>
> Can anyone explain why the following code gives me a black and *GREEN* checkered
plane?
>
> plane {y,-1
> texture {
> pigment {checker White Black}
> finish {ambient .4}
> }
> hollow
> }
>
> --
> ----------------------
> Andy
>
------------------------------------------------------------------------------------------
> -
> --The Home Of Lunaland--
> --visit my POV-Ray gallery--
> --listen to my music--
> www.acocker.freeserve.co.uk
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Chris Capel <chr### [at] hotmailcom> wrote in message
news:371d1313.0@news.povray.org...
> Perhaps you should make sure all your light sources are white.
>
> Chris Capel
Oh, c'mon now. I'm not that daft. Here's the entire code. It renders as green and
black.
I'm running 3.1e on Win95.
#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 rgb 1 rgb 0}
finish {ambient .4}
}
hollow
}
I've noticed this happening for a while..just not mentioned it. I'm sure it never used
to
happen. Someone please confirm my sanity.
Andy
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Steve <sjl### [at] ndirectcouk> wrote in message news:371D23F8.580209BF@ndirect.co.uk...
> Andy
>
> You need a comma between the white and the black, then it'll be
> ok.
>
> I rendered it and got the green and black, don't know what causes
> that, but the comma will sort it out.
>
> Cheers
> Steve
Thanks Steve. It did used to work, right? I'm not insane...I'm not!
Andy
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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.
--
//Spider
[ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
What I can do and what I could do, I just don't know anymore
"Marian"
By: "Sisters Of Mercy"
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Try using the keyword 'color' ahead of each color entry.
Steve wrote:
>
> Andy
>
> You need a comma between the white and the black, then it'll be
> ok.
>
> I rendered it and got the green and black, don't know what causes
> that, but the comma will sort it out.
>
> Cheers
> Steve
>
> Andrew Cocker wrote:
> >
> > Hi,
> >
> > Can anyone explain why the following code gives me a black and *GREEN* checkered
plane?
> >
> > plane {y,-1
> > texture {
> > pigment {checker White Black}
> > finish {ambient .4}
> > }
> > hollow
> > }
> >
> > --
> > ----------------------
> > Andy
> >
------------------------------------------------------------------------------------------
> > -
> > --The Home Of Lunaland--
> > --visit my POV-Ray gallery--
> > --listen to my music--
> > www.acocker.freeserve.co.uk
--
omniVERSE: beyond the universe
http://members.aol.com/inversez/homepage.htm
mailto:inv### [at] aolcom?Subject=PoV-News
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |