POV-Ray : Newsgroups : povray.bugreports : Intersection causes quadric to disappear : Re: Intersection causes quadric to disappear Server Time
27 Oct 2021 05:28:56 EDT (-0400)
  Re: Intersection causes quadric to disappear  
From: Cousin Ricky
Date: 26 Jul 2015 12:29:59
Message: <55b50b07@news.povray.org>
On 07/25/2015 10:25 AM, Cousin Ricky wrote:
> The following paraboloid renders correctly:
>
> [snip]
>
> the object disappears completely in POV-Ray 3.7 and 3.7.1.  In POV-Ray
> 3.6.1, it renders as expected.
>
> POV-Ray 3.7.0.unofficial
> POV-Ray 3.7.1-alpha.8150025.unofficial
> openSUSE 13.2 GNU/Linux

Here is a complete scene demonstrating the problem:

----------[BEGIN CODE]----------
// +w480 +h240
#version 3.6; //[sic]

global_settings { assumed_gamma 1 }

camera
{ location <0, 1, -7.5958>
   look_at <0, 1, 0>
   right 2 * x
   up y
   angle 43.1038
}

#default { finish { diffuse 0.6 ambient rgb 0.15618 } }

light_source
{ <-4.3125, 9.6250, -7.4695>,
   rgb 6856.3
   fade_power 2 fade_distance 0.10417
   spotlight point_at <0, 1, 0> radius 45 falloff 90
}

box
{ -<9, 11, 9>, <9, 11, 9>
   pigment { rgb 1 }
}

plane
{ y, 0
   pigment { checker rgb 0.05 rgb 1 }
}

// OK in POV-Ray 3.6 and 3.7
intersection
{ quadric { <1, 0, 1>, <0, 0, 0>, <0, 1, 0>, -1 }
   cylinder { 0, y, 1 }
   pigment { green 0.5 }
   translate <-1.25, 1, 0>
}

// OK in POV-Ray 3.6; not rendered in 3.7
intersection
{ quadric { <1, 0, 1>, <0, 0, 0>, <0, 1, 0>, -1 }
   cylinder { -y, y, 1 }
   pigment { green 0.5 }
   translate <1.25, 1, 0>
}
-----------[END CODE]-----------


Post a reply to this message

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