POV-Ray : Newsgroups : povray.advanced-users : Strange colors for SpectralRender metals : Re: Strange colors for SpectralRender metals Server Time
9 Jun 2024 02:14:11 EDT (-0400)
  Re: Strange colors for SpectralRender metals  
From: Cousin Ricky
Date: 5 Jan 2014 10:25:01
Message: <web.52c979082edc18a6306548240@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> (where C_Metal_(N,K) is identical to C_Metal(N,K) except that it omits
> the "rgb" keyword)

Rather than write a new macro, I replaced:

  Reflectance * C_Metal_(N,K), Reflectance fresnel on

with:

  #local C_Metal_ = C_Metal (N, K);
  Reflectance * C_Metal_.x, Reflectance fresnel on

(With or without the .x makes no difference.)  Your first attempt looks more
believable.  I have posted some results in p.b.i.


Post a reply to this message

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