POV-Ray : Newsgroups : povray.newusers : Smooth the corners in the intersection of two tubes : Re: Smooth the corners in the intersection of two tubes Server Time
2 Jul 2024 21:40:15 EDT (-0400)
  Re: Smooth the corners in the intersection of two tubes  
From: NoOneEagle
Date: 7 Feb 2011 09:00:02
Message: <web.4d4ff9fbedc3acfc74bce4600@news.povray.org>
Thanks to all, (Grin) all the information you post here is invaluable...

I went to boxxes trying the same thing and I ran into a snag...


// camera position
camera {
  //location <5,-15,-20>
  location <0,0,-30>
  look_at <0,0,0>
}



// light
  light_source {<15,-15,40>
  color rgb <1,1,1>   }
  light_source {<-5,15,-40>
  color rgb <1,1,1>   }

//horizontal center
   difference {
//By using the 'difference' I want to weave the horizonal box underneath the
verticle box
//This works well when using 'tubes'
      box{
          < -6.0, -1.0, -1.00 >, < 6.0, 1.0, 1.00 >
          //scale     <.5,.5,.5>
          pigment { color rgbf <1,1,1,.0> }
      }

//center black out
      box{
          < -1.2, -1.0, -1.00 >, < 1.0, 1.0, 1.00 >
          //scale     <.5,.5,.5>
          //rotate    <0.0,0.0,0.0>
          translate <0.1,0.0,0.0>
      }
   }


//verticle center
      box{
          < -1.0, -7.0, -1.00 >, < 1.0, 7.0, 1.00 >
          //scale     <.5,.5,.5>
          pigment { color rgbf <1,1,1,.0> }

      }
//It works well to this point but if I add any other boxxes...

// if I add these boxes, then I loose the weave effect I had and a blacked out
box appears.
// Using tubes, this effect works but when I went to using boxes, I run across
this problem.
// I can't seem to find what I am doing wrong
/*
//verticle top left
      box{
          < -1.0, -0.0, -1.00 >, < 1.0, 6.0, 1.00 >
          //scale     <.5,.5,.5>
          translate <-5,1,0.0>
          pigment { color rgbf <1,1,1,.0> }
       }


//verticle bottom right
      box{
          < -1.0, -0.0, -1.00 >, < 1.0, 6.0, 1.00 >
          //scale     <.5,.5,.5>
          translate <5,1,0.0>
          pigment { color rgbf <1,1,1,.0> }
       }

*/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.