|
|
'inverse' used either within the Machin object (used in Machin1) or the
'difference' of it and the smaller sphere removes the spot (it is the
inner sphere or hollow caused by it you see). I have no explanation for
this effect. Appears to cause a hole in the surface.
I tried a difference on the 2 test objects for a cut-away view and only
the correct one on the left side seems right no matter what I tried. The
one on the right (incorrect) did not have the proper interior.
Anyhow unless you are going to be viewing the interior the 'inverse'
will fix it.
Something odd does seem to be going on though, just wish I knew what.
bassompierre laurent wrote:
>
> I join a pov file with an object, i'm working on. I got a black circle (hole
> ?) on my csg object. I'm searching for hours what's wrong, but i don't find
> anything.
>
> Please, can somebody here help me ??
> What's wrong in my object ?
>
> // totally crazy ????
> #version 3.1;
>
> global_settings
> {
> assumed_gamma 1.0
> }
>
> //
> // a camera
> //
> camera
> {
> location <-12, 0, 0>
> look_at <7, 0, 0>
> }
> //
> // some lights
> //
> light_source { <-5,3,-5> color rgb <1,1,1>}
> light_source { <-5,3,5> color rgb <1,1,1>}
> light_source { <-5,-3,-5> color rgb <1,1,1>}
> light_source { <-5,-3,5> color rgb <1,1,1>}
> //
> // A Tube
> //
> #declare Tube=difference {
> cylinder {-2.6*x,2.6*x,.2}
> cylinder {-2.7*x,2.7*x,.15}
> }
> //
> // I put it around a sphere
> #declare Machin=union {
> sphere {0,2.5}
> #local Nb=1;
> #while (Nb<9)
> #local Angle=(360/8)*Nb;
> object { Tube
> rotate 25*z
> rotate Angle*y
> }
> object { Tube
> rotate 50*z
> rotate (360/16+Angle)*y
> }
> #local Nb=Nb+1;
> #end
> }
> //
> // I want to make this object empty
> // So I make a CSG difference with a sphere
> //
> #declare Machin1=difference {
> object {Machin} // Radius of sphere : 2.5
> sphere {0,1} // a smaller radius
> }
> object {Machin // Not empty object
> translate 3*z
> pigment {color rgb 1.5*<.6, .25, .15>}
> finish {ambient 0.4}
> }
> object {Machin1 // empty object : what about the black circle on his surface !!!!!
> translate -3*z
> pigment {color rgb 1.5*<.6, .25, .15>}
> finish {ambient 0.4}
> }
--
omniVERSE: beyond the universe
http://members.aol.com/inversez/POVring.htm
mailto:inv### [at] aolcom?PoV
Post a reply to this message
|
|