POV-Ray : Newsgroups : povray.newusers : Simple background Server Time
24 Nov 2024 23:47:17 EST (-0500)
  Simple background (Message 1 to 7 of 7)  
From: Ansgar
Subject: Simple background
Date: 27 Apr 2007 18:30:02
Message: <web.463278659dc17a0fcb86afba0@news.povray.org>
I'd like to define a background colour that just paints the background in
the given colour but does *not* affect the scene, like being reflected in
mirror materials. Can it be done?

Thanks in advance,
Ansgar


Post a reply to this message

From: Warp
Subject: Re: Simple background
Date: 27 Apr 2007 18:50:55
Message: <46327e4f@news.povray.org>
Ansgar <Tem### [at] gmxde> wrote:
> I'd like to define a background colour that just paints the background in
> the given colour but does *not* affect the scene, like being reflected in
> mirror materials. Can it be done?

  Well, you could put a large inverted sphere of the specified color and
assign 'no_reflection' to it.

-- 
                                                          - Warp


Post a reply to this message

From: Christian Froeschlin
Subject: Re: Simple background
Date: 27 Apr 2007 18:51:10
Message: <46327e5e$1@news.povray.org>
Ansgar wrote:
> I'd like to define a background colour that just paints the background in
> the given colour but does *not* affect the scene, like being reflected in
> mirror materials. Can it be done?

For a simple color, look up the keyword "background". Otherwise,
try using a background object with no_reflection and no_shadow.


Post a reply to this message

From: Charles C
Subject: Re: Simple background
Date: 27 Apr 2007 19:40:00
Message: <web.463289935ff0de01e94cc5130@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> Ansgar <Tem### [at] gmxde> wrote:
> > I'd like to define a background colour that just paints the background in
> > the given colour but does *not* affect the scene, like being reflected in
> > mirror materials. Can it be done?
>
>   Well, you could put a large inverted sphere of the specified color and
> assign 'no_reflection' to it.
>
> --
>                                                           - Warp


You might also want ambient 1 on that large sphere to get the exact color.
You aren't using radiosity are you?  I'm not sure what Warp meant by
inverted.
Charles


Post a reply to this message

From: Ansgar
Subject: Re: Simple background
Date: 27 Apr 2007 22:30:01
Message: <web.4632b1215ff0de01cb86afba0@news.povray.org>
Thanks. Could have thought of that solution myself. :)

Ansgar


Post a reply to this message

From: Mike Williams
Subject: Re: Simple background
Date: 27 Apr 2007 22:53:19
Message: <ecYkYTAvbrMGFwQl@econym.demon.co.uk>
Wasn't it Charles C who wrote:
>Warp <war### [at] tagpovrayorg> wrote:
>> Ansgar <Tem### [at] gmxde> wrote:
>> > I'd like to define a background colour that just paints the background in
>> > the given colour but does *not* affect the scene, like being reflected in
>> > mirror materials. Can it be done?
>>
>>   Well, you could put a large inverted sphere of the specified color and
>> assign 'no_reflection' to it.
>>
>> --
>>                                                           - Warp
>
>
>You might also want ambient 1 on that large sphere to get the exact color.
>You aren't using radiosity are you?  I'm not sure what Warp meant by
>inverted.

Use the inverse (or hollow) keyword, otherwise it affects things like
media and fog.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Charles C
Subject: Re: Simple background
Date: 27 Apr 2007 23:15:02
Message: <web.4632bb195ff0de019926319c0@news.povray.org>
Mike Williams <nos### [at] econymdemoncouk> wrote:
> Wasn't it Charles C who wrote:
> >Warp <war### [at] tagpovrayorg> wrote:
> >> Ansgar <Tem### [at] gmxde> wrote:
> >> > I'd like to define a background colour that just paints the background in
> >> > the given colour but does *not* affect the scene, like being reflected in
> >> > mirror materials. Can it be done?
> >>
> >>   Well, you could put a large inverted sphere of the specified color and
> >> assign 'no_reflection' to it.
> >>
> >> --
> >>                                                           - Warp
> >
> >
> >You might also want ambient 1 on that large sphere to get the exact color.
> >You aren't using radiosity are you?  I'm not sure what Warp meant by
> >inverted.
>
> Use the inverse (or hollow) keyword, otherwise it affects things like
> media and fog.
>
> --
> Mike Williams
> Gentleman of Leisure



Ahh, got it.  I was distracted by thinking of a different kind of sphere
inversion - some interesting pictures somebody posted a couple months ago.
Charles


Post a reply to this message

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