|
|
I can't work out what's wrong here. I have a simple box. I remove another
box from it using 'difference'. The result is a white box with a solid
'black hole' type effect. You'll notice that the test cylinder seems to go
into a solid.
I'm sure I'm missing something simple!
Cheers!
Rick
__SNIPPET__
difference {
box {
<-5.3, -2, -5.3>
< 5.3, 2, 5.3>
}
//Strange Black Hole
box {
<-4.3, -2.1, 2.7> <0.3, 2.1, 4.3>
}
texture {
pigment { White }
finish { reflection 0.05 }
}
}
cylinder {
<-2, 4, 3.5>
<-2, -4, 3.5>
0.25
pigment { Red }
}
Post a reply to this message
|
|
|
|
Since you didn't give a renderable scene and since I can't see anything
wrong with that code nor with a rendered version where I added my own
camera and light source, it's impossible to say what is it that you are
seeing.
When posting an example code, always make it complete (in the sense
that anyone can just copy-paste it to povray, render it and see what
you are seeing). We can't know what you are seeing without knowing your
camera and light source parameters.
--
#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
|
|