POV-Ray : Newsgroups : povray.binaries.images : Help! Why is my media so dark? (about 3 kb) : Help! Why is my media so dark? (about 3 kb) Server Time
20 Aug 2024 00:09:41 EDT (-0400)
  Help! Why is my media so dark? (about 3 kb)  
From: Marc-Hendrik Bremer
Date: 30 Sep 2000 18:16:33
Message: <39d66641@news.povray.org>
Hi,

have a look at the attached picture please.

That media you can see there is supposed to be white. In fact it is white,
when I remove the clouds from the scene, which are generated by Samuel
Benges layered planes code. I thought it could be just a shadow of the
clouds, but it remains dark, even if it is lit by a shadowless light_source
at the camera position or by radiosity.

I set max_trace_level up to 700 but it does not change anything. Some code
at the end of this post (hope it's okay to post it here, 'cause no one will
probably ever search for it again).

So, what is going on here? I hope it is not a to silly error of mine :-).

Thanks in advance,

Marc-Hendrik

My media-box:

box {<-6,0,-2>, <8, 3,0>
     hollow on
     pigment {rgbf 1}
     interior{
        media{
           scattering{1,0.002}
           density{ gradient y
              color_map{
                 [0.4 rgbt 1]
                 [0.5 rgb 500]
                 [0.6 rgbt 1]
              }
              translate <2,-2.6,0>
              rotate z*-15
              turbulence 0.3

              scale 6
              translate <3,-0.5,0>
           }
           method 1
           intervals 1
           samples 10, 10
           confidence 0.999999
           variance 1.0/1024
        }
     }
}

The clouds by SamuelT (not much modified):

// Clouds from Samuel Benge
#declare Clouds=function "ridgedMF",<1,2.25,7,-1,1>

#declare Y=0;
#declare Ivals=5; //Number of cloud planes

#while(Y<1)
//plane{y,100+(Y*20) clipped_by{box{<-1000,0,-1000>,<1000,200,1000>}}
polygon{5,<-3000,-3000>,<-3000,3000>,<3000,3000>,<3000,-3000>,<-3000,-3000>

  rotate x*90 translate y*100+(Y*20)
  translate y*100+(Y*20)
  pigment{function Clouds(x,y,z)/3.8+noise3d(x/20,y/20,z/20)/3.5+(z/20)
   scale<300,150,300> phase -.5
   color_map{[.25 rgbf 1][.4 rgbt<1/1.5, 1/1.5, 1/1.5, .01>]}
  }
  finish{diffuse 1.5 ambient .25 }
  hollow double_illuminate
}
#declare Y=Y+1/Ivals;
#end


Post a reply to this message


Attachments:
Download 's1.jpeg.jpg' (3 KB)

Preview of image 's1.jpeg.jpg'
s1.jpeg.jpg


 

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