POV-Ray : Newsgroups : povray.newusers : tori : Re: tori Server Time
5 Sep 2024 16:18:16 EDT (-0400)
  Re: tori  
From: Mark M  Wilson
Date: 27 Jan 2001 15:47:42
Message: <3a7333ee$1@news.povray.org>
With my apologies to the person who would get credit for this, but for the
fact that I don't remember who sent it to me, and that they sent it directly
to my other e-mail acccount, which is at home...
Anyway, some kind soul worked out exactly what I want, and so for the
curious among you, this is what works:

(I'm leaving out the light and camera statements)

#declare gothArch = union


    difference  // right side {
     torus { 1, .08 pigment { Red }
     }
     box { <-1,-1,-2> <1,1,2>
     pigment { Red } translate -x*.6

     }
     box { <-1,-1,-1> <1,1,1> pigment { Red }
      translate <1,0,-1>
     }
 translate -x*.4        // move the edge to the z-axis
 rotate -x*90          // flip it upright
        }

  difference // left side

    torus { 1, .08 pigment { Red }
     }
     box { <-1,-1,-2> <1,1,2> pigment { Red }
    translate -x*.6
 }
    box { <-1,-1,-1> <1,1,1> pigment { Red } translate <1,0,-1>
 }
    translate -x*.4         // move the edge to the z-axis
     rotate -x*90            // flip it upright
     rotate y*180            // mirror it
  }
 }

object { gothArch }

J <no.spam> wrote in message news:3a6dc282$1@news.povray.org...
> Can you post the code that you're using?
>
> Mark M. Wilson wrote in message <3a6c9cdf$1@news.povray.org>...
> >I actually have not had any luck with /any/ of the techniques submitted
> >here.  (Everyone's responses are appreciated, nonetheless; this is not
the
> >voice of ingratitude speaking )
> >The problem seems to come when I try and union or merge the two partial
> arcs
> >so that they form the characteristically Gothic ogival arch.  When I made
> >the actual archway, intersecting two inverse cylinders (or subtracting
two
> >intersected cylinders from a 'box' ) was no problem.
> >I just can't get the tori to behave the same, because there is open space
> in
> >the middle.
>
>


Post a reply to this message

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