POV-Ray : Newsgroups : povray.binaries.images : Problem with torus : Re: Problem with torus Server Time
18 Aug 2024 06:17:26 EDT (-0400)
  Re: Problem with torus  
From: Steve
Date: 2 Jun 2001 19:37:24
Message: <slrn9hiu3m.a21.steve@zero-pps.localdomain>
On Sat, 2 Jun 2001 16:14:43 +0200, m.o.p.s wrote:
>I would like to use a torus with minor radius > major radius to connect 2
>cylinder  but here is the result when the minor radius > major radius.
>The whole is not always visible.
>Do you experimente this situation ?
>Is there a way to avoid this whole ?
>
>I post this message at ninaries images because for me it is easiest to to
>explain my problem with an image

I don't really understand your problem here, but myabe this is the sort
of thing you're looking for, it takes a half torus and connects it to a 
cylinder using two more torus sections:

union{
      difference{
                 torus{2.5, 0.2}
                 box{<3,0.5,0>, <-3,-0.5,-3>}
                } // End of Difference

      #local Dummy_Corner_Arc =
      difference{
                 torus{0.5, 0.2}
                 box{<1,0.5,0>,<-1,-0.5,-1>}
                 box{<0,0.5,1>,<1,-0.5,-1>}
                } // End of Difference.

      object{Dummy_Corner_Arc  rotate y*-90 translate x*-2}
      object{Dummy_Corner_Arc  rotate y*180 translate x*2}
      cylinder{<-2,0,-0.5>,<2,0,-0.5>,0.2 }
      texture{pigment{Dummy_Body_Colour1}
              finish{Dummy_Body_Finish}
             }
      scale <0.5,0.75,0.65>
      rotate y*90
      translate x*1
     } // End of Union.

You'll have to change the texture to render this, hope it helps. 

-- 
Cheers
Steve              email mailto:ste### [at] zeroppsuklinuxnet

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.zeropps.uklinux.net/

or  http://start.at/zero-pps

 10:57pm  up 120 days, 23:46,  2 users,  load average: 1.00, 1.00, 1.00


Post a reply to this message

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