POV-Ray : Newsgroups : povray.general : looks_like : Re: looks_like Server Time
30 Jul 2024 14:23:21 EDT (-0400)
  Re: looks_like  
From: clipka
Date: 6 Dec 2008 14:35:00
Message: <web.493ad38be29f6516890bf690@news.povray.org>
"SharkD" <nomail@nomail> wrote:
> 1) If I use the looks_like statement, do I need to display the object
> separately, or is it enough to simply define the object within the statement
> itself?

It is enough to specify the object in the looks_like.


> 2) Do I need to specify absolute coordinates within the scene for both the
> object and the light source, or just for one? I.e., if the light source is
> located at <3,2,5>, then do I need to translate both the light source and the
> object to these coordinates?

Because this is poorly documented, I can only speak from my experience. The
position of the looks_like object seems to be given *relative* to the light
sorce (and probably the same for rotation). So a sphere { <0,0,0>, 1 } will
appear right where the light source is.

However, because of the poor documentation I'd recommend using a separate object
instead, using no_shadow to make the light shine through. It will have the same
effect, but with well-documented control over the object's placement.


Post a reply to this message

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