POV-Ray : Newsgroups : povray.general : Selective Reflection? Server Time
6 Aug 2024 19:25:11 EDT (-0400)
  Selective Reflection? (Message 1 to 4 of 4)  
From: Patrick Dugan
Subject: Selective Reflection?
Date: 15 Feb 2002 08:53:53
Message: <3c6d12f1@news.povray.org>
Is there a way to be selective on reflection?  Suppose I have 3 red spheres
suspended above a mirrored surface.  Is there anyway to make one of those
red spheres not reflect into the mirrored surface?  (I know I could simply
continue the trace and remove the red sphere after it had rendered them but
not the surface below, but I looking for something like a "no relection"
parameter that could be added to the object so in a more complex scene where
stopping the trace and restarting might not work.

Any ideas?

Patrick Dugan


Post a reply to this message

From: Mark Hanford
Subject: Re: Selective Reflection?
Date: 15 Feb 2002 08:58:36
Message: <3c6d140c$1@news.povray.org>
Search the docs for no_reflection


--

Mark Hanford
http://www.mrhanford.com/povray


"Patrick Dugan" <pat### [at] usnetcomcorpcom> wrote in message
news:3c6d12f1@news.povray.org...
> Is there a way to be selective on reflection?  Suppose I have 3 red
spheres
> suspended above a mirrored surface.  Is there anyway to make one of those
> red spheres not reflect into the mirrored surface?  (I know I could simply
> continue the trace and remove the red sphere after it had rendered them
but
> not the surface below, but I looking for something like a "no relection"
> parameter that could be added to the object so in a more complex scene
where
> stopping the trace and restarting might not work.
>
> Any ideas?
>
> Patrick Dugan
>
>


Post a reply to this message

From: Gail Shaw
Subject: Re: Selective Reflection?
Date: 15 Feb 2002 08:58:39
Message: <3c6d140f@news.povray.org>
"Patrick Dugan" <pat### [at] usnetcomcorpcom> wrote in message
news:3c6d12f1@news.povray.org...
> Is there a way to be selective on reflection?  Suppose I have 3 red
spheres
> suspended above a mirrored surface.  Is there anyway to make one of those
> red spheres not reflect into the mirrored surface?  (I know I could simply
> continue the trace and remove the red sphere after it had rendered them
but
> not the surface below, but I looking for something like a "no relection"
> parameter that could be added to the object so in a more complex scene
where
> stopping the trace and restarting might not work.
>

Assuming you're using Megapov or Pov-Ray 3.5

sphere {
 0,1
 pigment {rgb <1,0,0>}
 no_reflection // object does not reflect
 // no_image // object does not appear, can still reflect and cast shadows
 // no_shadow // objects casts no shadows
}

Gail
--
#macro G(H,S)disc{0z.4pigment{onion color_map{[0rgb<sin(H/pi)cos(S/pi)*(H<6)
cos(S/pi)*(H>6)>*18][.4rgb 0]}}translate<H-5S-3,9>}#end G(3,5)G(2,5.5)G(1,5)
G(.6,4)G(.5,3)G(.6,2)G(1,1)G(2,.5)G(3,.7)G(3.2,1.6)G(3.1,2.5)G(2.2,2.5)G(9,5
)G(8,5.5)G(7,5)G(7,4)G(7.7,3.3)G(8.3,2.7)G(9,2)G(9,1)G(8,.5)G(7,1)//GS


Post a reply to this message

From: Patrick Dugan
Subject: Re: Selective Reflection?
Date: 15 Feb 2002 09:10:55
Message: <3c6d16ef$1@news.povray.org>
Yes 3.5.  Thanks!   I looked under reflection in the manual but didn't find
that.

"Gail Shaw" <gsh### [at] monotixcoza> wrote in message
news:3c6d140f@news.povray.org...
>
> "Patrick Dugan" <pat### [at] usnetcomcorpcom> wrote in message
> news:3c6d12f1@news.povray.org...
> > Is there a way to be selective on reflection?  Suppose I have 3 red
> spheres
> > suspended above a mirrored surface.  Is there anyway to make one of
those
> > red spheres not reflect into the mirrored surface?  (I know I could
simply
> > continue the trace and remove the red sphere after it had rendered them
> but
> > not the surface below, but I looking for something like a "no relection"
> > parameter that could be added to the object so in a more complex scene
> where
> > stopping the trace and restarting might not work.
> >
>
> Assuming you're using Megapov or Pov-Ray 3.5
>
> sphere {
>  0,1
>  pigment {rgb <1,0,0>}
>  no_reflection // object does not reflect
>  // no_image // object does not appear, can still reflect and cast shadows
>  // no_shadow // objects casts no shadows
> }
>
> Gail
> --
> #macro G(H,S)disc{0z.4pigment{onion
color_map{[0rgb<sin(H/pi)cos(S/pi)*(H<6)
> cos(S/pi)*(H>6)>*18][.4rgb 0]}}translate<H-5S-3,9>}#end
G(3,5)G(2,5.5)G(1,5)
>
G(.6,4)G(.5,3)G(.6,2)G(1,1)G(2,.5)G(3,.7)G(3.2,1.6)G(3.1,2.5)G(2.2,2.5)G(9,5
> )G(8,5.5)G(7,5)G(7,4)G(7.7,3.3)G(8.3,2.7)G(9,2)G(9,1)G(8,.5)G(7,1)//GS
>
>


Post a reply to this message

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