POV-Ray : Newsgroups : povray.binaries.animations : Aiming DeskLamp Server Time
26 Dec 2024 19:00:06 EST (-0500)
  Aiming DeskLamp (Message 1 to 8 of 8)  
From: Cousin Ricky
Subject: Aiming DeskLamp
Date: 3 Oct 2024 16:42:59
Message: <66ff01d3@news.povray.org>
The lamps from the proposed Object Collection module DeskLamp rotate
themselves and flex their necks to aim at a given location from a
specified position and "up" direction.  These videos are a test of this
feature.

Hooded gooseneck lamp: https://youtu.be/V7GryU-SV4w
Rectangular panel lamp: https://youtu.be/HDymR-blOM0
Round panel lamp: https://youtu.be/0lu8J9dEOj8

You may notice the panel lamps changing size and shape over the course
of the animations.  This was just a separate test of macro arguments
that I piggy-backed onto the aiming test.


Post a reply to this message

From: Bald Eagle
Subject: Re: Aiming DeskLamp
Date: 4 Oct 2024 11:45:00
Message: <web.67000c83fe6d165bd5cc4ae625979125@news.povray.org>
Cousin Ricky <ric### [at] yahoocom> wrote:
> The lamps from the proposed Object Collection module DeskLamp rotate
> themselves and flex their necks to aim at a given location from a
> specified position and "up" direction.

That's some really nice work there, Mr. Callwood.
It's impressive how much time and work you've invested in a simple desk lamp to
get the shapes and textures and positioning right.

When did you write the first desk lamp scene?
How many files and features are associated with it at this point?

Are you using macros to calculate the positioning of the light?
Are they "simple" vector calculations like vdot and vcross, or are you employing
matrix transforms?

Again - nice work as always.

- BW


Post a reply to this message

From: Cousin Ricky
Subject: Re: Aiming DeskLamp
Date: 11 Oct 2024 21:11:15
Message: <6709ccb3@news.povray.org>
On 2024-10-04 11:40 (-4), Bald Eagle wrote:
> 
> That's some really nice work there, Mr. Callwood.

Thanks!

> When did you write the first desk lamp scene?

This question has multiple interpretations, so forgive me for the long
timeline.

2004 December 30: Work is started.
2005 March 6: The first (unpublished) include file is completed.
2005 March 6: The lamp is used by my 3rd generation (unpublished) render
  rig.
2005 March 6: The first scene is created (lampdemo2.jpg).  Like the OP
  animation, it was a test scene.  Sure the image is small; my computer
  screen was 800x600 at the time.
2021 January 11: A rewrite of the include file is started.
2021 November 30: The hooded lamp aiming test animation is created, with
  edits until 2022 June 27.  The final animation posted to YouTube was
  created last month.  This scene turns on an undocumented debugging
  switch to reveal exactly where the lamp is aimed (the bright spot on
  the moving target).
2022 September 6: The rewritten include file is completed and published.
2022 September 6: The first non-test scene to incorporate the new lamp
  (lamp-round-dl-hiq.jpg) is an update of a scene created on 2005 April
  15 which used the old lamp include file.
2022 October 13: The new lamp is used by my 4th generation render rig.
2024 April 30: The flat panel lamp aiming test animation scenes are
  completed.  The final animations posted to YouTube were created last
  month.  Like the hooded lamp test, these scenes turn on the debugging
  switch to reveal exactly where the lamp is aimed.

> How many files and features are associated with it at this point?

The scene description files use two of my proposed Object Collection
libraries, DeskLamp and ShapeOfTheDay.  I have posted links to both of
these libraries in p.object-collection.  These two, in turn, use
RoundEdge, including its elliptical torus mesh.

> Are you using macros to calculate the positioning of the light?
> Are they "simple" vector calculations like vdot and vcross, or are you employing
> matrix transforms?

The lamp's position and up-vector are of course set by the scene, but
the macros used to aim the lamp (given its position and up-vector) are
all defined in desklamp.inc.  The transformation is defined in macro
Lamp_Orient_Trans(), which uses vcross() and vdot(), along with macro
Reorient_Trans() from transforms.inc.  Macro Lamp_Flex_Angle() completes
the aiming by flexing the neck appropriately.


Post a reply to this message


Attachments:
Download 'lampdemo2.jpg' (8 KB) Download 'lamp-round-dl-hiq.jpg' (133 KB)

Preview of image 'lampdemo2.jpg'
lampdemo2.jpg

Preview of image 'lamp-round-dl-hiq.jpg'
lamp-round-dl-hiq.jpg


 

From: jr
Subject: Re: Aiming DeskLamp
Date: 12 Oct 2024 02:25:00
Message: <web.670a15aefe6d165bbdf7d1766cde94f1@news.povray.org>
hi,

Cousin Ricky <ric### [at] yahoocom> wrote:
> ...
> The scene description files use two of my proposed Object Collection
> libraries, ...

re OC.  I wonder if you would be willing to, um, test and review the OC as runs
now on a development server, and feedback via email ? Chris has created a login
for you[*], and will send you the p/w on request (email via the 'w1058'
webmaster address at povray.org, using "OC" as subject).  crossing fingers you
have both time and inclination :-)  thanks (in advance).

[*] to get access to the OC, once in, your old user id / p/w should still work.

regards, jr.


Post a reply to this message

From: jr
Subject: Re: Aiming DeskLamp
Date: 12 Oct 2024 06:35:00
Message: <web.670a50b0fe6d165bbdf7d1766cde94f1@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> ...
> [*] to get access to the OC, once in, your old user id / p/w should still work.

your original password is the same but prefixed 'oc2_'.  (memory..)


regards, jr.


Post a reply to this message

From: Bald Eagle
Subject: Re: Aiming DeskLamp
Date: 12 Oct 2024 17:35:00
Message: <web.670aea9dfe6d165b1f9dae3025979125@news.povray.org>
Whoa.

20 Years!  :O

This is, in the very real sense of the word - EPIC.

Now you need to do a . . . Ricksar animation!   :D


Well done.

- BW


Post a reply to this message

From: Cousin Ricky
Subject: Re: Aiming DeskLamp
Date: 13 Oct 2024 09:34:09
Message: <670bcc51$1@news.povray.org>
On 2024-10-12 17:31 (-4), Bald Eagle wrote:
> 
> Now you need to do a . . . Ricksar animation!   :D

I have no idea what this is.  Searches on several searches turn up
literally only your post--along with insisting that I've misspelled
"rockstar" or "Pixar."


Post a reply to this message

From: Cousin Ricky
Subject: Re: Aiming DeskLamp
Date: 13 Oct 2024 09:37:59
Message: <670bcd37$1@news.povray.org>
On 2024-10-13 09:34 (-4), Cousin Ricky wrote:
> On 2024-10-12 17:31 (-4), Bald Eagle wrote:
>>
>> Now you need to do a . . . Ricksar animation!   :D
> 
> I have no idea what this is.  Searches on several searches turn up
> literally only your post--along with insisting that I've misspelled
> "rockstar" or "Pixar."

Oh, I think I know what you mean.  Maybe I shouldn't try thinking so
early in the morning.


Post a reply to this message

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