POV-Ray : Newsgroups : povray.newusers : Why do I see something here: Server Time
30 Jul 2024 18:19:45 EDT (-0400)
  Why do I see something here: (Message 1 to 4 of 4)  
From: Severi Salminen
Subject: Why do I see something here:
Date: 2 Dec 2003 08:09:36
Message: <3fcc8f10$1@news.povray.org>
No light source, no ambient light, yet I see the plane. What am I 
missing? And if I take the ambient statement away, I still see it, but 
_less_. Very confusing.


#include"colors.inc"
#include"woods.inc"

camera {
     location <8, 3, 3>
     look_at  <0, 0,  0>
   }

plane {
     <0,1,0>,0
     texture {T_Wood3}
     finish  {ambient 0}
     }

Severi Salminen


Post a reply to this message

From: Christopher James Huff
Subject: Re: Why do I see something here:
Date: 2 Dec 2003 09:16:35
Message: <cjameshuff-976427.09155402122003@netplex.aussie.org>
In article <3fcc8f10$1@news.povray.org>,
 Severi Salminen <sev### [at] NOT_THISsibafi> wrote:

> No light source, no ambient light, yet I see the plane. What am I 
> missing? And if I take the ambient statement away, I still see it, but 
> _less_. Very confusing.

T_Wood3 is a layered texture, so I'm pretty sure what you're doing only 
changes the ambient of the top layer, so the bottom layer keeps the 
default of 0.1. I'm not sure what it does to make it *more* 
visible...maybe you're just seing more contrast. Try putting this line 
at the beginning of the scene, before you include woods.inc:

#default {finish {ambient 0}}

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: Tom Melly
Subject: Re: Why do I see something here:
Date: 2 Dec 2003 09:19:26
Message: <3fcc9f6e$1@news.povray.org>
"Christopher James Huff" <cja### [at] earthlinknet> wrote in message
news:cja### [at] netplexaussieorg...

> default of 0.1. I'm not sure what it does to make it *more*
> visible...maybe you're just seing more contrast. Try putting this line

That's right - without the ambient 0, both layers are basically a muddy colour
(w/o lights). With the ambient 0, the top layer goes dark, allowing the grain to
show. Overall the surface is darker with ambient 0 - it's just that part of the
surface is unaffected.


Post a reply to this message

From: Severi Salminen
Subject: Re: Why do I see something here:
Date: 2 Dec 2003 09:24:09
Message: <3fcca089$1@news.povray.org>
> T_Wood3 is a layered texture, so I'm pretty sure what you're doing only 
> changes the ambient of the top layer, so the bottom layer keeps the 
> default of 0.1. I'm not sure what it does to make it *more* 
> visible...maybe you're just seing more contrast. Try putting this line 
> at the beginning of the scene, before you include woods.inc:
> 
> #default {finish {ambient 0}}

Thanks that was it! I was also using the default statement, but I wrote 
it _below_ the #include, with no help. Obviously it should be before 
including the texture files.

Severi Salminen


Post a reply to this message

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