POV-Ray : Newsgroups : povray.general : Bug with translating quadric shapes Server Time
9 Aug 2024 01:27:54 EDT (-0400)
  Bug with translating quadric shapes (Message 1 to 1 of 1)  
From: Mark Wagner
Subject: Bug with translating quadric shapes
Date: 13 Sep 2000 00:44:30
Message: <39bf062e@news.povray.org>
When translating quadric shapes -- specifically, paraboloids -- the bounding
box is both scaled and translated.

The bug is in the function Compute_Quadric_BBox() in file quadrics.c.  I
haven't checked to see if the bug affects any quadric shapes other than
paraboloids.
To see the bug, render the example code first with the +MB5 command-line
option to see how the scene should render, then with the +MB1 option to see
the bug.

Example code:
camera{location 11 look_at 0}
light_source{100, 1}
intersection{
 quadric{<1,1,0>,<0,0,0>,<0,0,-1>,0 translate x*1}
 box{<-4,-4,-10>,<4,4,10> pigment{rgb <1,1,0>}}
 pigment{rgb 1}
}


Post a reply to this message

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