POV-Ray : Newsgroups : povray.binaries.images : more pipes : Re: more pipes Server Time
30 Apr 2024 00:05:54 EDT (-0400)
  Re: more pipes  
From: Norbert Kern
Date: 31 Dec 2018 07:05:01
Message: <web.5c2a04c7d19ff0561fbfafc10@news.povray.org>
"Bill Pragnell" <bil### [at] hotmailcom> wrote:

> This is great. As others said, Tran yet not Tran.
> Is the 'blown-out' blue glow from media or conventional fog?
>
> happy new year all!
> Bill

Here is the media definition:

#declare fac = 1;

box {
        <-200,-61,-40>, <50,50,50>
        material {
                texture {
                        pigment {color rgbt 1}
                        finish {
                                ambient 0
                                diffuse 0
                                specular 0
                                reflection 0
                        }
                }
                interior {
                        media {
                                confidence 0.0001
                                variance 1
                                scattering {3, srgb 0.0042*<0.3,0.5,1>*1.8*fac}

                        }
                        #local S_low = 60;
                        #local S_high = 100;
                        media {
                                absorption <0.09,0.02,0.01>*0.6*fac
                        }
                        media {
                                scattering {
                                        1,
                                        0.45
                                        extinction 1.0

                                }
                                density {
                                        granite
                                        turbulence 1
                                        scale 0.1
                                        color_map {
                                          [0    srgb
<0.000025,0.0013,0.0025>*0.1*fac]
                                          [0.6  srgb
<0.000025,0.0013,0.0025>*0.3*fac]
                                          [1    srgb
<0.000025,0.0013,0.0025>*0.3*fac]
                                        }
                                }
                                samples S_low, S_high
                        }
                        media {
                                scattering {
                                        1,
                                        0.55
                                        extinction 1

                                }
                                density {
                                        granite

                                        turbulence 1.5
                                        scale 0.5
                                        color_map {
                                          [0    srgb
<0.000025,0.0025,0.0025>*0.1*fac]
                                          [0.6  srgb
<0.000025,0.0025,0.0025>*0.3*fac]
                                          [1    srgb
<0.000025,0.0025,0.0025>*0.3*fac]
                                        }
                                }
                                samples S_low, S_high
                        }
                        media {
                                scattering {
                                        1,
                                        1
                                        extinction 1.0

                                }
                                density {
                                        granite
                                        turbulence 0.1
                                        scale 5.5
                                        color_map {
                                          [0     srgb <0.025,0.025,0.022>*3*fac]
                                          [0.03  srgb <0.025,0.025,0.022>*3*fac]
                                          [0.035 srgb 0]
                                          [1     srgb 0]
                                        }
                                }
                                samples S_low, S_high
                        }
                        media {
                                scattering {
                                        1,
                                        1
                                        extinction 1.0

                                }
                                density {
                                        granite
                                        turbulence 0
                                        scale 0.03125
                                        color_map {
                                          [0    srgb 0]
                                          [0.85 srgb 0]
                                          [0.90 srgb
<0.004,0.006,0.002>*1.4*fac]
                                          [1    srgb
<0.004,0.006,0.002>*1.4*fac]
                                        }
                                }
                                samples S_low, S_high
                        }
                }
                scale 5
        }
        hollow
}


Post a reply to this message

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