POV-Ray : Newsgroups : povray.general : shadowless : Re: shadowless Server Time
14 Aug 2024 07:12:45 EDT (-0400)
  Re: shadowless  
From: Ron Parker
Date: 23 Jun 1999 14:23:28
Message: <37712620@news.povray.org>
On Wed, 23 Jun 1999 19:34:52 +0200, Uwe Zimmermann wrote:
>Is there anyone who knows a trick to solve this problem except for using
>one lightsource for every atom???

I think you can bound it with a small sphere around the camera
to get this effect, as long as you don't care whether it shows
up in reflections, and as long as it doesn't have any transparent
parts.  The result will be that only rays that hit the bounding
surface will be allowed to hit the object, so the only rays that
will hit the object will be camera rays.  In particular, shadow
rays (and transmitted rays and reflected rays) won't be tested
against that object.

camera { location Camera_Location look_at Object_Center }
object { My_Object
         bounded_by { sphere { Camera_Location, .01 } }
       }


Post a reply to this message

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