POV-Ray : Newsgroups : povray.newusers : Media Headache Server Time
30 Jul 2024 16:21:54 EDT (-0400)
  Media Headache (Message 1 to 3 of 3)  
From: Felbrigg
Subject: Media Headache
Date: 5 Feb 2004 11:58:27
Message: <40227633@news.povray.org>
Okay you people with big brains please apply any spare cranial capacity to
my problem

Brown!

I want a brown media that makes any clear object translucent brown.  I've
pulled loads of hair out and the nearest I can get is green.. After fiddling
for hours I ended with this rubbish below.  I just want it to look brown.

Where do I start!

                                media   {
                                        emission color <0.25, 0.15, 0.05>
                                               }


Post a reply to this message

From: Christopher James Huff
Subject: Re: Media Headache
Date: 5 Feb 2004 15:13:00
Message: <cjameshuff-83747A.15131205022004@news.povray.org>
In article <40227633@news.povray.org>,
 "Felbrigg" <som### [at] microsoftcom> wrote:

> I want a brown media that makes any clear object translucent brown.  I've
> pulled loads of hair out and the nearest I can get is green.. After fiddling
> for hours I ended with this rubbish below.  I just want it to look brown.
> 
> Where do I start!
> 
>                                 media   {
>                                         emission color <0.25, 0.15, 0.05>
>                                                }

Yeesh, do something to the indentation...
You want translucent brown. That code will produce media that glows a 
dull orangish red. Dark orange and brown are pretty much the same thing, 
but your brain will refuse to see a glowing object as brown.
For this, you want either interior attenuation or absorbing media. For 
example:

sphere {< 0, 2, 0>, 2 hollow
    texture {pigment {color rgbf 1}}
    interior {
        ior 1.33
        media {absorption < 0.7, 0.8, 0.98>}
    }
}

sphere {< 0, 2, 0>, 2
    texture {pigment {color rgbf 1}}
    interior {
        ior 1.33
        fade_power 1000
        fade_distance 1
        fade_color <0.3, 0.2, 0.02>
    }
}

-- 
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: Felbrigg
Subject: Re: Media Headache
Date: 6 Feb 2004 07:51:10
Message: <40238dbe$1@news.povray.org>
Good advice, works a treat, thanks very much.


"Christopher James Huff" <cja### [at] earthlinknet> wrote in message
news:cjameshuff-83747A.15131205022004@news.povray.org...
> In article <40227633@news.povray.org>,
>  "Felbrigg" <som### [at] microsoftcom> wrote:
>
> > I want a brown media that makes any clear object translucent brown.
I've
> > pulled loads of hair out and the nearest I can get is green.. After
fiddling
> > for hours I ended with this rubbish below.  I just want it to look
brown.
> >
> > Where do I start!
> >
> >                                 media   {
> >                                         emission color <0.25, 0.15,
0.05>
> >                                                }
>
> Yeesh, do something to the indentation...
> You want translucent brown. That code will produce media that glows a
> dull orangish red. Dark orange and brown are pretty much the same thing,
> but your brain will refuse to see a glowing object as brown.
> For this, you want either interior attenuation or absorbing media. For
> example:
>
> sphere {< 0, 2, 0>, 2 hollow
>     texture {pigment {color rgbf 1}}
>     interior {
>         ior 1.33
>         media {absorption < 0.7, 0.8, 0.98>}
>     }
> }
>
> sphere {< 0, 2, 0>, 2
>     texture {pigment {color rgbf 1}}
>     interior {
>         ior 1.33
>         fade_power 1000
>         fade_distance 1
>         fade_color <0.3, 0.2, 0.02>
>     }
> }
>
> -- 
> 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

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