|
![](/i/fill.gif) |
"clipka" <nomail@nomail> wrote:
> "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.
Thanks for the tips!
-Mike
Post a reply to this message
|
![](/i/fill.gif) |