POV-Ray : Newsgroups : povray.object-collection : DeskLamp 2.0.1 and ShapeOfTheDay 2.1: bug workaround and flat panel lamps Server Time
31 Oct 2024 06:14:19 EDT (-0400)
  DeskLamp 2.0.1 and ShapeOfTheDay 2.1: bug workaround and flat panel lamps (Message 1 to 1 of 1)  
From: Cousin Ricky
Subject: DeskLamp 2.0.1 and ShapeOfTheDay 2.1: bug workaround and flat panel lamps
Date: 20 Aug 2024 18:29:14
Message: <66c518ba$1@news.povray.org>
Last year, the caustics in my POV-Ray 30th anniversary scene went
haywire, and I tracked the problem down to the DeskLamp module.  But I
couldn't figure out what it was about DeskLamp that was causing the
problem.  I assumed that it had something to do with the complexity of
the hooded lamp.  While shopping in OfficeMax, I got inspired to
implement flat panel lamps, hoping that this would solve the problem.
These new lamp styles are available in DeskLamp 2.0.  Version 2.0 also
implements a dimmer dial.

Unfortunately, the freaky caustics did not go away.

I eventually discovered that the bug was in POV-Ray 3.8 itself.  (See
"Photons are broken with true inverse squared lighting" in p.beta-test.)
 DeskLamp 2.0.1 avoids this bug by default:

  https://github.com/CousinRicky/POV-DeskLamp/releases/tag/v2.0.1

ShapeOfTheDay inherited the freaky caustics from DeskLamp, so
downloading DeskLamp 2.0.1 will automatically fix the problem in
ShapeOfTheDay 2.0.

However, as ShapeOfTheDay 2.0 is unaware of the new lamp styles, I added
this option in ShapeOfTheDay 2.1; but ShapeOfTheDay 2.1 requires version
2.0 or later of DeskLamp.  I changed the default lamp style to a round
flat panel because it renders much faster than the hooded lamp.

  https://github.com/CousinRicky/POV-ShapeOfTheDay/releases/tag/v2.1

Errata:  I had already prepared ShapeOfTheDay for submission to the
Object Collection prior to incorporating the new lamp styles, and forgot
to undo those preparations before creating the new release on GitHub.

 - The User Manual and source code comments say that this module is from
   the Object Collection. In fact, it has not yet been submitted to the
   Object Collection.

 - The link in the User Manual to the Object Collection User’s Guide is
   to the actual Object Collection site, which, as you know, is not yet
   back online.  Use this Wayback link instead:

https://web.archive.org/web/20120419111948/http://lib.povray.org/usersguide/02using.html

 - The User Manual says that parameter sotd_Solar defaults to about 2770
   with the default indoor setup. In fact, that is the default only if
   the user selects the hooded lamp as the main lamp; otherwise, it is
   about 933.


Post a reply to this message

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