POV-Ray : Newsgroups : povray.text.scene-files : L*C*h(uv) functions : Re: L*C*h(uv) functions Server Time
25 Apr 2024 15:40:13 EDT (-0400)
  Re: L*C*h(uv) functions  
From: Mike Horvath
Date: 22 Nov 2016 02:45:52
Message: <5833f7b0$1@news.povray.org>
On 11/22/2016 2:44 AM, clipka wrote:
> Am 22.11.2016 um 08:33 schrieb Mike Horvath:
>
>>>     convertLCH2RGB_R(y*200-100,sqrt(x*x+z*z)*100,atan2(x/z)*pi/180)
>
>> THANK YOU!!
>>
>> However atan2 requires two parameters and your math only has one.
>
> Sorry, try atan2(x,z).
>

Here is the whole file again with your changes. The shape I get when I 
render is that of a pointy cap. I don't know if that's correct or not.


Mike


Post a reply to this message


Attachments:
Download 'utf-8' (7 KB)

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