POV-Ray : Newsgroups : povray.advanced-users : no_shadow no_reflection question : Re: no_shadow no_reflection question Server Time
28 Jul 2024 16:22:50 EDT (-0400)
  Re: no_shadow no_reflection question  
From: Mike Williams
Date: 19 Oct 2004 03:15:31
Message: <h9dUBBA$dLdBFwBc@econym.demon.co.uk>
Wasn't it Carl who wrote:
>I was trying to outline some shapes.  For example lets take a sphere:
>
>sphere {<100, 120, -85>,75 texture {clear_black}}
>
>The trick I was given was this:
>
>sphere {<100,120,-85>,85 texture {pigment {rgbt 1}}
>                         interior_texture {red_frame}}
>
>Its what you see in the top left here:
>
>http://www.wwwmwww.com/TRON/Outline.png
>
>I soon learned I had to use the no_shadow flag to get what I wanted however.
>And it wasn't till receintly I noticed something else was missing.  The
>reflection of the grid lines are gone from the black sphere.  To get these
>back I need to use the no_reflection flag as well.  However when I do that
>I lose the outline of my black sphere as seen in any reflection.
>
>Ideally what I'd like to do is to say the larger r=85 sphere doesn't cast a
>shadow or is seen in any reflection inside it however it does cast a shadow
>and leaves reflections outside it.
>
>Is there any way to do that?

I've played around with it for a while and have become convinced that
the answer is no. You either have to think of a completely new method
for outlining the shapes, live with the problems that you've got or
reduce the opacity of the outline shapes so that some of the reflections
can get through.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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