POV-Ray : Newsgroups : povray.text.scene-files : Pursuit curve (was Rainy Sunday afternoon) : Re: Pursuit curve (was Rainy Sunday afternoon) Server Time
13 May 2024 20:15:00 EDT (-0400)
  Re: Pursuit curve (was Rainy Sunday afternoon)  
From: William F Pokorny
Date: 3 Nov 2023 07:59:03
Message: <6544e087$1@news.povray.org>
On 11/2/23 11:40, kurtz le pirate wrote:
> I can code other colors conversion method found on
> <https://www.rapidtables.com/convert/color/index.html>
> Tell me if it's worth it...

Thanks for the offer, but my up front answer is hold off for now - 
unless doing it for your own interests.

I'm unsure of the overall worth without diving into what is there. My 
todo list is effectively infinite - and the extended include file work 
will likely not see much attention for a while.

That said. When we do get to a color manipulation include, we'd want to 
look in more detail at the code we have long had versus any new. What we 
have I believe works. However, the immediately attractive aspect of your 
hsb2rgb() code is it's cleaner than CHSV2RGB(). No pointless conversions 
of individual parameters into a vector only to peel the vector apart 
again inside the CHSV2RGB() macro for a start.

Are the other conversion methods on that site also cleaner than what 
we've long had coded? Some like the hex color inputs would be useful 
just to have, but the end code there should probably be a parser inbuilt 
- maybe some extension of the 'srgb*' specification methods?

Bill P.


Post a reply to this message

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