|
|
I am having problems trying to contain an object. The object defined is:
#declare DaggerHilt =
union {
difference {
height_field {
tga "DaggerHilt.tga"
smooth
hierarchy on
translate <-0.5, -0.5, -0.5>
rotate <-90,0,0>
scale <0.3,1,0.1>
photons {target reflection on}
XXXXXXXXXXXXXXXXXX
}
box{<-0.2,-0.6,-0.02>,<0.2,0.6,2> pigment {rgbft <1,1,1,0,1>}
no_shadow no_reflection no_image photons {collect off}
}
}
difference {
superellipsoid {<0.10, 0.30> scale <0.033,0.11,0.045>}
cylinder{<-0.15,0,0>,<0.15,0,0>,0.015 translate <0,0.10,-0.05>}
cylinder{<-0.15,0,0>,<0.15,0,0>,0.015 translate <0,-0.10,-0.05>}
cylinder{<-0.15,0,0>,<0.15,0,0>,0.015 translate <0,0.10,0.05>}
cylinder{<-0.15,0,0>,<0.15,0,0>,0.015 translate <0,-0.10,0.05>}
translate <-0.01,0.005,-0.035>
photons {target reflection on}
XXXXXXXXXXXXXXXXXXX
}
texture {BChrome rotate z * 90}
XXXXXXXXXXXXXXXXXXXXX
}
The XXXXXX lines are different places where I have tried to place a
container. In this case the container would be:
contained_by {box <-2,-2,-2>,<2,2,2>}
Povray tells me that it expects the end of the union or difference
(depending on where I place the container.) If I don't contain this
object povray considers it infinite. I'm trying to get rid of the infinite
objects to help the photons.
How can I contain this thing or make it finite?
Patrick Dugan
Post a reply to this message
|
|