POV-Ray : Newsgroups : povray.bugreports : "reflection" ignores "metallic" : "reflection" ignores "metallic" Server Time
24 Jun 2024 08:51:15 EDT (-0400)
  "reflection" ignores "metallic"  
From: Ralf Muschall
Date: 15 Apr 1999 21:18:54
Message: <371681E2.7A6607DF@t-online.de>
I just found out that the "reflection" effect (function
"Reflect()" in lighting.c) does not take into account
whether "metallic" is used or not (the latter seems to
affect only "phong" and "specular").

This can bee seen by placing e.g. spheres of silver and
copper side by side (using textures from
include/metals.inc), plus a white lamp near the camera.

The white phong spot on the silver sphere seen reflected
in the copper sphere appears white, not red as I expected.

A workaround is to use a vectorial argument to "reflection"
(ideally a copy from the pigment), but this violates
the orthogonality of the concepts "pigment" and "finish"
and requires error-prone duplicating of input values.

This is in accordance with the manual, so I have no idea
whether it is a bug or intended.

Ralf


Post a reply to this message

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