POV-Ray : Newsgroups : povray.newusers : looks_like? : Re: looks_like? Server Time
30 Jul 2024 20:21:39 EDT (-0400)
  Re: looks_like?  
From: Warp
Date: 10 Oct 2003 04:09:07
Message: <3f866923@news.povray.org>
These two constructs are practically identical in functionality:

light_source
{ LIGHT_LOCATION, COLOR
  looks_like { OBJECT }
}

=

union
{ light_source { LIGHT_LOCATION, COLOR }
  object { OBJECT shadowless translate LIGHT_LOCATION }
}

  I hope this helps clearing out how looks_like works.

  (The bit that confuses most new (and even some old) users is the
implicit translation of the looks_like object.)

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

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