POV-Ray

The Persistence of Vision Raytracer (POV-Ray).

This is the legacy Bug Tracking System for the POV-Ray project. Bugs listed here are being migrated to our github issue tracker. Please refer to that for new reports or updates to existing ones on this system.

Tasklist

FS#178 - Modify metallic reflection code to better work with conserve_energy

Attached to Project: POV-Ray
Opened by Christoph Lipka (clipka) - Monday, 06 December 2010, 14:39 GMT
Last edited by William F Pokorny (wfpokorny) - Saturday, 21 January 2017, 16:51 GMT
Task Type Feature Request
Category Backend → Texture/Material/Finish
Status Tracked on GitHub
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version 3.70 beta 39
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

The combination of metallic reflection with conserve_energy causes the reflection to lose colour, as demonstrated by the following scene:

global_settings {
  max_trace_level 10
}

camera {
  right x*image_width/image_height
  location  <-2,2.6,-10>
  look_at   <0,0.75,0>
}

light_source {
  <500,300,150>
  color rgb 1.3
}

sky_sphere {
  pigment {
    gradient y
    color_map {
      [0.0 rgb <0.6,0.7,1.0>]
      [0.7 rgb <0.0,0.1,0.8>]
    }
  }
}

plane {
  y, 0
  texture { pigment { color rgb 0.7 } }
}

#declare M=
material {
  texture {
    pigment {rgbt <1.0,0.7,0.2,0.99>}
    finish {
      ambient 0.0
      diffuse 0.5
      specular 0.6
      roughness 0.005
      reflection { 0.8, 1.0 metallic }
      conserve_energy
    }
  }
  interior { ior 1.5 }
}

box {
  <-0.2,0,-2.3>, <0.0,4,0.3>
  material { M }
  rotate z*5
  rotate x*2
}
This task depends upon

Comment by William F Pokorny (wfpokorny) - Saturday, 21 January 2017, 16:51 GMT
  • Field changed: Status (New → Tracked on GitHub)

Now tracked on github as issue #206.

Loading...