|
![](/i/fill.gif) |
Here is the code as I tried it....
#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}
}
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}
}
texture {BChrome rotate z * 90}
clipped_by { box{<-5,-5,-5>,<5,5,5>}}
}
"Warp" <war### [at] tag povray org> wrote in message
news:3cab0c69@news.povray.org...
> Patrick Dugan <pat### [at] usnetcomcorp com> wrote:
> > Because clipping didn't work. Clipping the object as you suggested
resulted
> > in the object disappearing.
>
> That only means that you clipped it in the wrong way. I asked you what
> did you do, but you didn't answer.
> The clipping object (eg. a box) should completely enclose the object to
> be clipped. What did you do?
>
> --
> #macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb
M()}}
> N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
> N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// -
Warp -
Post a reply to this message
|
![](/i/fill.gif) |