POV-Ray : Newsgroups : povray.general : Media oddity rgbf vs rgbft vs rgbt : Re: Media oddity rgbf vs rgbft vs rgbt Server Time
5 Nov 2024 20:16:03 EST (-0500)
  Re: Media oddity rgbf vs rgbft vs rgbt  
From: Mark Weyer
Date: 14 Feb 2003 04:52:41
Message: <3E4CBF50.1090009@informatik.uni-freiburg.de>
> Is the bottom line on this that rgbft 1 never really makes sense? Should filter
> + transmit  <=1 ideally?

 From what Warp and I said rgbtf 1 should be equal to rgbt 2 and
rgbf sqrt(2). Then use of one of those would make as much sense
as use of any other of those. However, as the following variant
of your example shows, there must be yet some other aspect when
media are involved.



global_settings{
   assumed_gamma 1.0
}

camera { location <0,0,-7> look_at 0}

sphere{
   0,.9
   pigment{rgbf sqrt(2)}
   interior {
     media {
       emission rgb<0.7, 0.0, 0.0>
       method 3
       density {
         spherical
       }
     }
   }
   hollow
   scale 1.001
   translate x*-0.5
   translate y*2
}

sphere{
   0,.9
   pigment {rgbf sqrt(2)}
   interior {
     media {
       emission rgb<0.0, 0.0, 0.7>
       method 3
       density {
         spherical
       }
     }
   }
   hollow
   translate y*2
}

sphere{
   0,.9
   pigment{rgbt 2}
   interior {
     media {
       emission rgb<0.7, 0.0, 0.0>
       method 3
       density {
         spherical
       }
     }
   }
   hollow
   scale 1.001
   translate x*-0.5
}

sphere{
   0,.9
   pigment {rgbt 2}
   interior {
     media {
       emission rgb<0.0, 0.0, 0.7>
       method 3
       density {
         spherical
       }
     }
   }
   hollow
}

sphere{
   0,.9
   pigment{rgbft 1}
   interior {
     media {
       emission rgb<0.7, 0.0, 0.0>
       method 3
       density {
         spherical
       }
     }
   }
   hollow
   scale 1.001
   translate x*-0.5
   translate y*-2
}

sphere{
   0,.9
   pigment {rgbft 1}
   interior {
     media {
       emission rgb<0.0, 0.0, 0.7>
       method 3
       density {
         spherical
       }
     }
   }
   hollow
   translate y*-2
}

box {<-0.5,-5,1> <0,5,2> pigment {color <1,1,1,0,0>} finish {ambient 1/4}}



-- 
merge{#local i=-11;#while(i<11)#local
i=i+.1;sphere{<i*(i*i*(.05-i*i*(4e-7*i*i+3e-4))-3)10*sin(i)30>.5}#end
pigment{color.6}interior{media{emission x}}hollow}//  Mark Weyer


Post a reply to this message

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