![](/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) |
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] bahnhof se ]-[ 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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] aol com?Subject=PoV-News
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) |
Spider <spi### [at] bahnhof se> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Bob Hughes <inv### [at] aol com> wrote in message news:371D2B03.453AC4C5@aol.com...
> Try using the keyword 'color' ahead of each color entry.
>
Actually, I just realised that aside from the problem I was having, it's a little
embarrasing to publicly admit to rendering a black and white checkered plane. ;-)
I have deleted the offending scene file, and promise never to do it again. Sorry.
Andy
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) |
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
Since you now have your solutin I will simply tell you why.
Without the comma between the two colors in the list, as in
your example, Pov does not know that it should use them
seperatly for the two areas of the pattern. It instead adds
them together. The black is a more dominant color so wins the
war for the first color in the list. Since the second color
for the list appears to be missing Pov defaults to the white/
green colors it is programed to use when no colors are
specified for the pattern. Obviously you need to either use
the color keyword seperator of as was mentioned make sure you
have the comma in place if you expect it to perform correctly.
--
Ken Tyler
mailto://tylereng@pacbell.net
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) |
it doesn't.
but if you use checker Black White, you MUST use a checker Black, White instead.
(note the ,)
Andrew Cocker wrote:
>
> Spider <spi### [at] bahnhof se> 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
--
//Spider
[ spi### [at] bahnhof se ]-[ 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Andrew Cocker wrote in message <371d29c1.0@news.povray.org>...
>Chris Capel <chr### [at] hotmail com> wrote in message
news:371d1313.0@news.povray.org...
>> Perhaps you should make sure all your light sources are white.
>>
>> Chris Capel
>
<snip code>
>
>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.
>
I'll confirm it. I had the same problem. I was doing a quick scene with
multiple
reflective spheres over multiple checkered squares. All were fine til I
added
a checkered square (red/blue). That plane rendered green and blue. I played
with it for a few days then left it. (Was pov 3.0 for win 95). I'll post
the sorce if
anyone's interested.
Gail
*******************************************************************
* gsh### [at] monotix co za * ERROR: COFFEE.COM not found *
* http://www.rucus.ru.ac.za/~gail/ * Insert cup and press any key *
*******************************************************************
My Software never has bugs, It just develops random features
*******************************************************************
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) |
Gail Shaw wrote:
> >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.
> >
>
> I'll confirm it. I had the same problem. I was doing a quick scene with
> multiple
> reflective spheres over multiple checkered squares. All were fine til I
> added
> a checkered square (red/blue). That plane rendered green and blue. I played
> with it for a few days then left it. (Was pov 3.0 for win 95).
> Gail
The reason you people are seeing this now and perhaps not on
older versions of Pov is because unknown to you the Pov team has
silently been working in the back ground to fix annoying little
things the program does like stopping to inform a user that they
are stupid and misplaced a comma.
More specificaly they have started assigning a default pigment
colors to patterns that none specified by you. This helps because
if you forget to specify a color for the pattern Pov will render
the scene with the default color instead of stopping to issue a
warning message suggesting you fix your work before you try again.
It manifests it's self when you improperly specify color list
patterns like the missing comma seperator in the example today.
It is mentioned in the docs in several catagories concerning
list patterns that a comma seperator is needed or unexpected
results can be expected.
If you want to see ugly attach a bozo pigment pattern to an object
and leave the color specification empty.
The three color list pattern types that the comma seperators are
required for are the Brick, Checker, and Hexagon patterns.
--
Ken Tyler
mailto://tylereng@pacbell.net
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) |
Ken wrote:
>
> Since you now have your solutin I will simply tell you why.
> Without the comma between the two colors in the list, as in
> your example, Pov does not know that it should use them
> seperatly for the two areas of the pattern. It instead adds
> them together. The black is a more dominant color so wins the
> war for the first color in the list.
If you add black and white you'll get white. It's just a matter of what POV
finds as a last value for the (first) color. If you turn them around you'll get
a white/green checkered plane. That is, if you still forget the comma.
Remco
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) |
It seems to be a slight bug (?) that appeared in POV 3.0;
In Pov 2.2, you _had_ to write "color" before every color specification.
In Pov 3, the program automatically understands when the vector is a
color.
I quickly noticed that the checker pattern had a slight problem with
that, if you write :
pigment {checker Raspberry Ivory}
Pov seems to ignore these and use the default Green/White colors.
(as some noted, most "genuine" pigments have default colors : bozo,
wood, marble,... the most recent ones have a default grayscale map)
you must thus write :
pigment {checker color Raspberry color Ivory}
and it works perfectly...
Cheers,
Fabien.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |