|
 |
"Chris B" <nom### [at] nomail com> schreef in bericht
news:496c823c$1@news.povray.org...
> Am I correct in assuming that the error appears with no other values set
> and that the following 2 scene files both produce the error on your
> machine?
>
> camera {location <0,3,-10> look_at 0}
> light_source {<-10,20,-50>, rgb 1}
> #include "blockwall.inc"
> #declare Blockwall_Spline = spline {
> cubic_spline
> #local I = -0.25;
> #while (I<=1.25)
> I, vrotate(6*z,-y*I*360)
> #local I = I + 0.01;
> #end
> }
> Blockwall_FollowSpline("")
>
>
> camera {location <0,3,-10> look_at 0}
> light_source {<-10,20,-50>, rgb 1}
> #include "blockwall.inc"
> #declare Blockwall_Radius = 6;
> Blockwall_Arc(360,"")
>
> (These two should both be functionally identical).
>
Both example work correctly and after several changes to the radius, no
error message appears. This means that the error is generated elsewhere. I
copy here the code I use, with a radius leading to an error message. I
suspect that HBias, VBias or MaxHU, MaxVU are the prime suspects:
// Declare a circular spline
#declare Blockwall_Spline =
spline {
cubic_spline
#local I = -0.25;
#while (I<=1.25)
I, vrotate(3.3*z, -y*I*360)
#local I = I + 0.01;
#end
}
#declare Blockwall_BlockRoundness = 0.1;
#declare Blockwall_Brightness = 0.5;
#declare Blockwall_Debug = 1;
// Set up a very rough stone
#declare Blockwall_MinColor = <1.00, 0.70, 0.60>;
#declare Blockwall_MaxColor = <1.00 ,0.90, 0.70>;
#declare Blockwall_Contrast = 0.4;
#declare Blockwall_ClipBlock = 1;
#declare Blockwall_MatrixSpacing = 0.02;
#declare Blockwall_HBias = 2;//0.3;
#declare Blockwall_VBias = 2;//3;
#declare Blockwall_MaxHU = 35;//10;
#declare Blockwall_MaxVU = 20;//5;
#declare Blockwall_Finish = finish {phong 0 ambient 0}
#declare Blockwall_Normal =
normal {
average
normal_map {
[0.5 granite 1 scale 0.25]
[0.5 agate 1 scale 0.05]
[1.0 marble 1 rotate z*90 turbulence 0.5 scale <0.3,0.1,0.5>]
}
}
// Create a circular wall
#declare Blockwall_Wrap = 1;
#declare Blockwall_WallHeight = 2.5;
#declare Blockwall_Holes =
//union {
box {<-0.251, 0.099, 2.5> <0.251, 0.751, 3.5>}
//cylinder {<0, 1.4, -1.41> <0, 1.4, -1>, 0.4}
//}
object {
Blockwall_FollowSpline("")
//Blockwall_FollowSpline("BuffBrick")
//Blockwall_FollowSpline("RoughStone")
}
Post a reply to this message
|
 |