POV-Ray : Newsgroups : povray.advanced-users : No reflection for a specific object? : Re: No reflection for a specific object? Server Time
29 Jul 2024 22:23:36 EDT (-0400)
  Re: No reflection for a specific object?  
From: John VanSickle
Date: 12 Nov 2000 01:12:57
Message: <3A0E366D.7A7D236D@erols.com>
Simon Lemieux wrote:
> 
> Hi,
> I was wondering if it was possible to tell an object to cast
> no reflection? Probably much like a "vampire effect" ;) or like the
> media_interaction or cast_shadow in lights... etc...

I think the way to do it is to give it a bounding object that surrounds
the camera viewpoint.  This way the reflected rays miss the bounding
object and cause it to not appear.

object {
  Vampire
  bounded_by { sphere { CameraLocation,.01 } }
}

Rays from the camera will always intersect the sphere, hence the
object will directly appear; but the reflected rays will almost
certainly miss that sphere, causing the object to not appear in the
reflection.

Regards,
John
-- 
ICQ: 46085459


Post a reply to this message

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