|
|
I am using POV 3.1.watcom.win32.r1 On an IBM APTIVA (pentium 166 box
with
48 megs of memory)
When I run the below code there is a "ghost line" that appears that
should not be there. I don't know if this is an honest to goodness bug
or studpidity on my part (I am kinda new to all this) but I think there
is a calculation error taking place somewhere. Anyway here it is, see
if you can re-produce the error and drop me a line at ozz### [at] vnetnet
if I am not nuts and there really is a bug..
---------------------------CUT
HERE---------------------------------------------
#include "colors.inc"
#include "textures.inc"
#include "metals.inc"
camera {
location < 0,0,-100>
look_at < 0,0,0>
}
light_source { <0, 0, -1000> color White }
light_source { <0, 1000,-200> color White }
#declare Iron =
texture {
pigment {rgb <.4, .4, .45>} normal {dents .6 scale .3} finish {phong
.3 phong_size 10 metallic}
}
#declare _a =
union {
object {box{<-24,-48,-.375><24,48,.375>}texture {Pine_Wood}}
object {box{<-.75,-48,-1.75><.75,48,1.75>}texture
{White_Wood}translate<-23.25,0,-1.75>}
object {box{<-.75,-48,-1.75><.75,48,1.75>}texture
{White_Wood}translate<23.25,0,-1.75>}
object {box{<-.75,-46.5,-1.75><.75,46.5,1.75>}texture
{White_Wood}translate<-12,0,-1.75>}
object {box{<-.75,-46.5,-1.75><.75,46.5,1.75>}texture
{White_Wood}translate<12,0,-1.75>}
object {box{<-.75,-46.5,-1.75><.75,46.5,1.75>}texture
{White_Wood}translate<0,0,-1.75>}
object {box{<-22.5,-.75,-1.75><22.5,.75,1.75>}texture
{White_Wood}translate<0,47.25,-1.75>}
object {box{<-22.5,-.75,-1.75><22.5,.75,1.75>}texture
{White_Wood}translate<0,-47.25,-1.75>}
}
#declare _b =
union {
object { prism {
linear_sweep // or conic_sweep for tapering to a point
linear_spline
-1.75, // height 1
1.75, // height 2
5, // number of points in the object (2 d
representation)
// the <u,v> points
< -48,82.5-72>, < 48, 94.5-72>, < 48, 96-72>, < -48,84-72>
,<-48,82.5-72>
texture {White_Wood scale <10,10,1>}
}
rotate<-90,0,0>
translate<0,0,-1.75>
}
object {box
{<-48,-.75,-1.75><48,.75,1.75>}texture{White_Wood}translate
<0,-24,-1.75>}
}
object { _b rotate<0,0,0>}
Post a reply to this message
|
|