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.

Attached to Project: POV-Ray
Opened by Christoph Lipka - 2010-11-21
Last edited by Christoph Lipka - 2011-08-25

FS#171 - CSG bounding box computation broken with shearing transformation (3.6 branch)

Bounding box computation for CSG intersection appears to be broken when one member is an arbitrarily transformed plane.

// +W640 +H480 +MB1

#include "transforms.inc"

camera {
  location  <-0.2, 0.5, -4.0>
  direction 1.5*z
  right     x*image_width/image_height
  look_at   <0.0, 0.0,  0.0>
}

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>]
    }
  }
}

light_source {
  <0, 0, 0>            // light's position (translated below)
  color rgb <1, 1, 1>  // light's color
  translate <-30, 30, -30>
}

plane {
  y, -1
  pigment { color rgb <0.7,0.5,0.3> }
}

intersection {
  sphere {
    0.0, 1 }
  plane { -x, 0 transform { Shear_Trans(x,y+x*0.3,z) } }
  texture {
    pigment {
      radial
      frequency 8
      color_map {
        [0.00 color rgb <1.0,0.4,0.2> ]
        [0.33 color rgb <0.2,0.4,1.0> ]
        [0.66 color rgb <0.4,1.0,0.2> ]
        [1.00 color rgb <1.0,0.4,0.2> ]
      }
    }
    finish{
      specular 0.6
    }
  }
  rotate -y*5
}
Closed by  Christoph Lipka
Thursday, 25 August 2011, 18:38 GMT
Reason for closing:  Duplicate report
Additional comments about closing:  

Fixed in 3.7 (see  FS#48 ); won't back-port fix to 3.6 branch

Admin
Christoph Lipka commented on Sunday, 21 November 2010, 10:35 GMT

Bug has been fixed for 3.7 (see  FS#48 ), but solution still needs to be backported to 3.6 codebase.

Admin
Christoph Lipka commented on Thursday, 25 August 2011, 17:40 GMT

“Due in Version 3.70 RC4” doesn’t make sense for an issue report specifically addressing the 3.6 branch, does it? :-)

Thorsten Fröhlich commented on Thursday, 25 August 2011, 17:45 GMT

Well, the alternative would be to say "won't fix", which isn't right either. It is fixed in 3.7, so we should mark it as such and then close it.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing