POV-Ray : Newsgroups : povray.newusers : Getting rid of shadows on ONE single polygon : Re: Getting rid of shadows on ONE single polygon Server Time
4 Nov 2024 23:19:24 EST (-0500)
  Re: Getting rid of shadows on ONE single polygon  
From: Warp
Date: 14 May 2001 07:11:43
Message: <3affbd6e@news.povray.org>
Simon Lemieux <lem### [at] yahoocom> wrote:
:   I need to get rid of the shadows made by other polygon on a special one... 

  You could use the "vampire object" trick in order to achieve this.
  Apply a bounding box to the polygon and scale it so that it gets very
small and very close to the camera; that is, apply these transformations
to the bounding box of the polygon:

translate -CameraLocation
scale .001
translate CameraLocation

  Of course this has the side-effect that the polygon will disappear from
all the reflections as well.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

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