POV-Ray : Newsgroups : moray.win : archways/curved doorframes : Re: archways/curved doorframes Server Time
28 Jul 2024 12:22:12 EDT (-0400)
  Re: archways/curved doorframes  
From: Jamie Davison
Date: 26 Oct 2000 15:16:11
Message: <MPG.14628f5ccb723e989820@news.povray.org>
On Thu, 26 Oct 2000 11:06:37 -0400, Warheart wrote...
> >> Well, think of what I am trying to make as an upside down U. Plain as
> that.
> >> Now what is a 'tori' ? Again, sorry for what may come across as a simple
> >> question =)
> >
> >A tori is a torus. You can cut a torus in half using a csg operation.
> >The remainer is an arch shape. Attach a cylinder to either end and you
> >have an archway. Kind of primitive but it works.

Tori is how I spell the plural of torus.

It's also (IIRC) the first name of a female musician a friend of mine has 
a certain attraction for (Tori Amos)

> Well, I have attempted to do this. Now what exactly do I have to do in order
> to cut the torus in half? I have attached cylinders to both sides of it and
> tried merge, difference, interesection, and union but cant seem to come up
> with the desired effect. Thanks in advance for your help!

Create a torus.

Rotate x=90 (type 90 into the x rotation box in the modify tab)

Translate z=5

Create a Cube.

Scale x=3 and z=2

Translate z=7

Create a CSG (union because all CSG operations start as unions in Moray)

Click Add in the Modify tab.

Add the Torus and Cube.

Select intersection as the Operation type.

Hit evaluate.

Create a cylinder.

Scale it to x=0.5 y=0.5 z=5

Translate it to x=1.5

Make another cylinder

Scale it the same as the last one.

Translate it to x=-1.5

Create another Union, and add the previous union and the two cylinders to 
it.

Leave the operation type as Union.

Now, if you select the union, you can move the entire (rather crude) 
doorframe around your scene.

Did this make any sense?

Sorry for the delay, but I tend to check my news once a day and read it 
offline, then I just drop on quickly to upload any posts.

Bye for now,
     Jamie.


Post a reply to this message

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