![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
the ribbed-looking molding around a gothic archway, so if I can get one such
torus-arc object down, I can merge it with 5 to 7 other such tori whose
central vectors are such that they seem to be "stacked" from largest to
smallest.
Y'all know what I'm talking about?
Anyone? anyone? (Bueller?...)
Thanks,
Mark M. Wilson
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Fri, 19 Jan 2001 14:19:46 -0500, Mark M. Wilson wrote:
Intersect it with two planes and/or a prism.
--
Ron Parker http://www2.fwi.com/~parkerr/traces.html
My opinions. Mine. Not anyone else's.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <3a689206@news.povray.org>, "Mark M. Wilson"
<mrm### [at] worldnet att net> wrote:
As long as you don't need an angle >= 180, you can just use an
intersection or difference with two planes:
(this macro is untested!)
#macro TorusArc(MajorRadius, MinorRadius, ArcAngle)
intersection {
torus {MajorRadius, MinorRadius}
plane {-z, 0}
plane {z, 0 rotate -y*ArcAngle}
}
#end
union {
object {TorusArc(1, 0.1, 60) ...}
object {TorusArc(1, 0.1, 60) ...}
object {TorusArc(1, 0.1, 60) ...}
...
}
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
That looks pretty good. Now once I get my HD back up and running I can try
it! (uggghh -- don't ask...)
Thanks,
Mark M. Wilson
Chris Huff <chr### [at] mac com> wrote in message
news:chrishuff-E0D107.14420819012001@news.povray.org...
> In article <3a689206@news.povray.org>, "Mark M. Wilson"
> <mrm### [at] worldnet att net> wrote:
>
>
> As long as you don't need an angle >= 180, you can just use an
> intersection or difference with two planes:
> (this macro is untested!)
> #macro TorusArc(MajorRadius, MinorRadius, ArcAngle)
> intersection {
> torus {MajorRadius, MinorRadius}
> plane {-z, 0}
> plane {z, 0 rotate -y*ArcAngle}
> }
> #end
>
> union {
> object {TorusArc(1, 0.1, 60) ...}
> object {TorusArc(1, 0.1, 60) ...}
> object {TorusArc(1, 0.1, 60) ...}
> ...
> }
>
> --
> Christopher James Huff
> Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
> TAG: chr### [at] tag povray org, http://tag.povray.org/
>
> <><
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Do you mean intersecting the torus/tori with two planes at the appropriate
angle to each other, with textures/colors/whatever undefined?
-MW
Ron Parker <ron### [at] povray org> wrote in message
news:slr### [at] fwi com...
> On Fri, 19 Jan 2001 14:19:46 -0500, Mark M. Wilson wrote:
>
> Intersect it with two planes and/or a prism.
>
> --
> Ron Parker http://www2.fwi.com/~parkerr/traces.html
> My opinions. Mine. Not anyone else's.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Mark M. Wilson <mrm### [at] worldnet att net> wrote:
: Do you mean intersecting the torus/tori with two planes at the appropriate
: angle to each other, with textures/colors/whatever undefined?
I think that what you want is to clip the torus with the planes instead
of calculating the intersection.
Use clipped_by.
--
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Your question's been answered, but I would point out to you that if you want to
do an arc greater than 180 degrees, you must intersect or difference with a
merge of two planes, because a plane obviously can't be more than 180 degrees.
--
David Fontaine <dav### [at] faricy net> ICQ 55354965
My raytracing gallery: http://davidf.faricy.net/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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.
I was at a concert in a Gothic-style chapel last night, and was getting
ideas about possibly trying to stack many prism objects, rotating them
around the edge of the arch...
I'm also researching options in a modeller, such as Blender, but have yet to
get up to speed on its UI.
Maybe I'm just too ambitious for a new user...
Thanks,
Mark
David Fontaine <dav### [at] faricy net> wrote in message
news:3A68DD89.16525697@faricy.net...
> Your question's been answered, but I would point out to you that if you
want to
> do an arc greater than 180 degrees, you must intersect or difference with
a
> merge of two planes, because a plane obviously can't be more than 180
degrees.
>
> --
> David Fontaine <dav### [at] faricy net> ICQ 55354965
> My raytracing gallery: http://davidf.faricy.net/
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Soon. I take it this is an implicit offer to look at what I have so far?
Right now I've just got the trial sketch pov-file in which I've been messing
around. I'll post it, hopefully tonight if I can get on.
Thanks,
Mark
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |