POV-Ray : Newsgroups : povray.binaries.images : Color Wheel Server Time
2 Nov 2024 06:18:11 EDT (-0400)
  Color Wheel (Message 1 to 2 of 2)  
From: B  Gimeno
Subject: Color Wheel
Date: 23 Aug 2011 04:00:01
Message: <web.4e535de4ad35e201e27239330@news.povray.org>
A couple of days I wondered at povray.general how to calculate complementary
colors of a given color and I was correctly indicated by Alain on the use of the
 macros to convert from rgb to hsv and vice versa.

Non take me long time to implement the existing code in a single new macro with
the idea given by Alain, so I do not think I should deserve any credit for that.

In povray.text.scene-files I left the macro CW_angle (color, angle) which
returns the corresponding color situated at x degrees of the input color, which
was used in a simple loop to color the objects in this scene.

Regards
B. Gimeno


Post a reply to this message


Attachments:
Download 'segm_torus.jpg' (274 KB)

Preview of image 'segm_torus.jpg'
segm_torus.jpg


 

From: Thomas de Groot
Subject: Re: Color Wheel
Date: 23 Aug 2011 08:02:18
Message: <4e5396ca@news.povray.org>
This seems to me to be a very useful macro. I shall play with it!

Thanks for sharing!

Thomas


Post a reply to this message

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