POV-Ray : Newsgroups : povray.newusers : looks_like? : Re: looks_like? Server Time
2 Nov 2024 17:21:33 EDT (-0400)
  Re: looks_like?  
From: Bill Hails
Date: 10 Oct 2003 15:45:04
Message: <3f870c40@news.povray.org>
Warp wrote:

>   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.)
> 

Thanks, I'd kind of assumed it was the light source that got
translated to the object's position, but then in my current use of it
I have the two locations the same to start off with.

-- 
Bill Hails


Post a reply to this message

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