POV-Ray : Newsgroups : povray.binaries.images : strange behavior, lightsource + lookslike + media : Re: strange behavior, lightsource + lookslike + media Server Time
30 Jul 2024 12:32:18 EDT (-0400)
  Re: strange behavior, lightsource + lookslike + media  
From: D103
Date: 30 Oct 2011 01:50:01
Message: <web.4eace579693b00485ae2687f0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 29.10.2011 20:29, schrieb Alain:

> >> To be honest, you just discovered a bug in 3.7.RC3 there. Apparently,
> >> when a light source is translated, the looks_like object is translated
> >> as well, but not its members (such as media).
> >>
> >> 3.6.2 does it right. Gotta fix this.
> >
> > I don't know if it's realy a bug, I like to call it an improvement.
> > Anyway, as it is now, it makes it reasier to correctly place the
> > looks_like at the same place as the light_source.
>
> No, it's definitely a bug: If you create the light source at <0,0,0>,
> add a looks_like object, then finally translate the whole thing, then
> the looks_like object moves (same as per 3.6) - but its texture and
> media fails to move with it. That definitely does /not/ make things simpler.

If this is the case, then it explains a similar problem I came across while
making a star in 3.7.0 RC3. I worked around it using a union of a light_source
and a sphere with media and translating that instead.

Regards,
D103


Post a reply to this message

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