POV-Ray : Newsgroups : povray.object-collection : SphereSweep 2.0 and PointArrays Server Time
21 Nov 2024 09:52:58 EST (-0500)
  SphereSweep 2.0 and PointArrays (Message 1 to 1 of 1)  
From: Cousin Ricky
Subject: SphereSweep 2.0 and PointArrays
Date: 9 Sep 2020 21:34:31
Message: <5f5982a7$1@news.povray.org>
Android's new logo is just a disembodied head, and it turns out that 
extrapolating the head to reporportion the rest of the robot takes a bit 
of math.  Well, arithmetic mostly, but you need math to figure out how 
to apply the arithmetic.  So, even though I wrote in the last thread 
that AndroidRobot has priority, SphereSweep 2.0, though unfinished, was 
at a stopping point, and all I had to do was excise the unfinished code, 
update the user manual, and do final tests.

It turned out that, thanks to the _correct_ way to downgrade a cubic 
Bézier to a quadratic, the Bézier bug in SphereSweep 1.2 wasn't as 
consequential as it initially appeared to be, reducing the urgency of 
this upgrade.  But if I hadn't decided to post the upgrade, with the 
final scrutiny I give my modules before uploading them, I wouldn't have 
discovered my error on how to downgrade the cubic.  The apparent urgency 
of the upgrade is what revealed that it wasn't urgent!  But the module 
is done, so here it is.

The main new feature of SphereSweep 2.0 is conversion macros between 
SphereSweep and another Object Collection module, PointArrays.  As I was 
finishing up SphereSweep 1.2, I discovered there was quite a bit of 
overlap between SphereSweep and PointArrays, and I figured maybe some 
POVers might want to take advantage of features of both modules. 
However, their data structures are incompatible, so I wrote the 
conversion macros.  I hope you find them useful.

Since downgrading a cubic Bézier isn't as simple as I thought, there 
will definitely be a quadratic Bézier spline in a future version of 
SphereSweep.

http://lib.povray.org/searchcollection/index2.php?objectName=SphereSweep&contributorTag=Cousin%20Ricky


Post a reply to this message

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