POV-Ray : Newsgroups : povray.general : looks_like : Re: looks_like Server Time
30 Jul 2024 14:20:13 EDT (-0400)
  Re: looks_like  
From: Reactor
Date: 6 Dec 2008 17:10:00
Message: <web.493af82ee29f65190e667980@news.povray.org>
"clipka" <nomail@nomail> wrote:

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


Ah, I used to have problems with this also.  What I typically do is create both
the object and the light source at (or around) <0,0,0> and translate them
together at the end.

  Reactor


Post a reply to this message

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