|
|
While trying to get the most number of entrys under the render stats, I came
across the following.
Sphere lists a negative succeeded value, when run with Bounding_Method=2
Using the default bounding has no problem.
Commenting out the Parametric object returns the sphere value to positive.
*** ini file Test_messages.ini
Input_File_Name=Test_messages.pov
Output_File_Name=Test_messages
Output_File_Type=N
Width = 512
Height = 384
Bounding_Threshold = 3
Display=On
Verbose=On
Render_Block_Size=32 ;32 default
Work_Threads=3
Bounding_Method=2 ;BSP
File_Gamma=1
//// Test_messages.pov
#version 3.7;
#declare Test_warning_01=false; // true false
#declare Test_parse_error_01=false;
#declare Test_debug_01=false;
#declare Test_Base_objects_01=true;
background{<1,1,1>}
light_source{<0,10,-10>}
camera {
perspective
location <0,2,-5>
direction <0,-.1,1>
right 1.33*x
up y
sky <0,1,0>
}
#default {
pigment { rgb <1,0,0> }
}
#if (Test_parse_error_01)
#version 3.7 // needs ";" at end
sor{4,<0,0>,<1,1>,<2,1>,<2.1,0>} // Incorect point in surface of revolution.
#end
#if (Test_warning_01)
// should have at least 2 objects in csg.
#union{box{1,1}}
// Linear prism not closed. Closing it.
prism{linear_spline 0,1,3,<0,0>,<1,0>,<1,1>}
// Degenerate triangle. Please remove.
triangle{<-1,0,0>,<-1,0,1>,<-1,0,0>}
// Polygon not closed. Closing it.
polygon{3<-1,0,-1>,<1,0,-1>,<0,0,1>}
// Max gradient... stuff
isosurface{function{x} contained_by{box{-1,1}}}
#end
#if (Test_debug_01)
#debug "test debug message" //
#debug "\n"
#end
#if (Test_Base_objects_01) // listed in order of ray->shape intersection
stats
bicubic_patch{type 1 u_steps 4 v_steps 4 flatness 0
<-1,0,-1>,<-.3,0,-1>,<.3,0,-1>,<1,0,-1>,
<-1,0,-.3>,<-.3,0,-.3>,<.3,0,-.3>,<1,0,-.3>,
<-1,0,.3>,<-.3,0,.3>,<.3,0,.3>,<1,0,.3>,
<-1,0,1>,<-.3,0,1>,<.3,0,1>,<1,0,1>
}
blob{threshold 0.6 sphere{<0,0,0>,.2,1} sphere{<0,0,.2>,.2,1}}
box{0,1}
cylinder{0,1,.2}
disc{0,y,1,0}
height_field{png"bumpmap_.png"} // bumpmap_.png from POV-Ray installation
isosurface{function{x} contained_by{box{-1,1}}max_gradient .23}
julia_fractal{<-.083,0,-.83,-.025>quaternion sqr max_iteration 8 precision 15}
lathe{linear_spline 3,<.1, 0>,<.2, 0>,<.1, 1>}
mesh{triangle{<0,.2,2>,<0,.2,1>,<.2,.2,2>}}
parametric{function{sin(u)*cos(v)}function{sin(u)*sin(v)}function{cos(u)}<0,0>,<2*pi,pi>contained_by{sphere{0,1.1}}tra
nslate<-2,0,10>}
plane{y,0 translate<0,-50,0>}
polygon{4<-1,0,-1>,<1,0,-1>,<0,0,1>,<-1,0,-1>}
prism{linear_spline 0,1,4,<0,0>,<1,0>,<1,1>,<0,0>}
quartic{<1,0,0,0,2,0,0,2,0,-10,0,0,0,0,0,0,0,0,0,0,1,0,0,2,0,56,0,0,0,0,1,0,-10,0,78>sturm}
sphere{0,.2}
sphere_sweep{linear_spline 2,<0,-1,3>,.5<0,1,3>,.5 tolerance .00001}
sor{4,<0,0>,<1,1>,<1,1.1>,<1.1,1.5>}
superellipsoid{<.750,.250>translate<0,2,0>}
torus{.75,.25}
triangle{<-.1,0,0>,<-.1,0,1>,<0,0,0>}
text{ttf "crystal.ttf" "Test" .1, 0}
#end
Post a reply to this message
|
|