|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Lt. Kettch" wrote:
> I am trying to put two cylinders together, but the red over laps onto
> the gray(90) and vice-verca. How do I crop the over lapping parts with
> out leaving a big hole in the finished item? BTW the gray that sticks
> out the back of the red doesn't matter.
The simplest thing would be intersections with a plane at the
appropriate angle.
--
Anton Sherwood *\\* br0### [at] p0b0xcom *\\* http://www.jps.net/antons/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <38CB89DE.5E11B30F@pobox.com>, Anton Sherwood
<bro### [at] poboxcom> wrote:
> The simplest thing would be intersections with a plane at the
> appropriate angle.
A rotated box might be faster, just make sure it is big enough.
--
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Lt. Kettch" <AKK### [at] aolcom> wrote in message
news:38CAEA76.9158EDAC@aol.com...
> I am trying to put two cylinders together, but the red over laps onto
> the gray(90) and vice-verca. How do I crop the over lapping parts with
> out leaving a big hole in the finished item? BTW the gray that sticks
> out the back of the red doesn't matter.
>
I've been playing with this and it is not as simple a problem as I thought.
In cases where the proper cylinders are chosen my solution (when corrected)
works, but with some other cylinders it does not, as you found out I am
sure.
Intersections of planes should work, but you would have to work out the math
for each union and my math is not up to that. I am sure one of the vector
functions will do it, but someone else will have to answer that question.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Lt. Kettch" wrote:
>
> I am trying to put two cylinders together, but the red over laps onto
> the gray(90) and vice-verca. How do I crop the over lapping parts with
> out leaving a big hole in the finished item? BTW the gray that sticks
> out the back of the red doesn't matter.
Here is one possible way to do it:
camera {location < 0, 0, -2 >look_at 0}
light_source{<0,0,-10>rgb 1}
#declare Cy1 = cylinder{ x*-1,x*0,.25 pigment{red 1}}
#declare Cy2 = cylinder{ x* 0,x*1,.25 pigment{blue 1}}
intersection {
object {Cy1}
plane { x,-.125 translate y*-.25 rotate 22.5*z pigment {red 1}}
rotate 22.5*-z translate<.125,0,0>
}
intersection {
object {Cy2}
plane { x,.125 translate y*-.25 inverse rotate 22.5*-z pigment {blue 1}}
rotate 22.5*z translate x*-.125
}
--
Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
Attachments:
Download 'test1.jpg' (5 KB)
Preview of image 'test1.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Oooh, you stinker. my friend and I are trying the same thing after
trying boxes and the difference of the two cylinders.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Bill DeWitt wrote:
> union{
> difference
>
> object { Red1 }
> object { Grey1 }
> }
> difference
>
> object { Grey2 }
> object { Red2 }
> }
> } // end union
Umm, I don't think that's right...
--
___ _______________________________________________
| \ |_ <dav### [at] faricynet> <ICQ 55354965>
|_/avid |ontaine http://www.faricy.net/~davidf/
"The only difference between me and a madman is that I'm not mad." -Dali
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ross Litscher wrote:
> > Please! It was 31 kb! A tiny image no matter what the pixel count. Not
> > the smartest of whines, plus you misspelled Einstein.
Yup, don't you love it when people lose credibility? Oops, I should shut up
before I do. Whaddya mean, already have? ;-p
> hehehaha, the first time i read his posting, i misread "einstine" for
> "intestine"!
I did too!
--
___ _______________________________________________
| \ |_ <dav### [at] faricynet> <ICQ 55354965>
|_/avid |ontaine http://www.faricy.net/~davidf/
"The only difference between me and a madman is that I'm not mad." -Dali
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
The proper way to do this is to intersect (or difference) each cylinder with a
plane (or box) in which the face of the plane or box bisects the angle formed
by the cylinders.
Hope that explain it well enough. :-)
--
___ _______________________________________________
| \ |_ <dav### [at] faricynet> <ICQ 55354965>
|_/avid |ontaine http://www.faricy.net/~davidf/
"The only difference between me and a madman is that I'm not mad." -Dali
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
David Fontaine <dav### [at] faricynet>
> > hehehaha, the first time i read his posting, i misread "einstine" for
> > "intestine"!
>
> I did too!
>
aaaaahahahahhah!!! rofl
great minds think alike... much like "einstine"
ross.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
how about posting just a close up of the object in question, i dont really
care for star fields..
Rick
"Lt. Kettch" <AKK### [at] aolcom> wrote in message
news:38CAEA76.9158EDAC@aol.com...
> I am trying to put two cylinders together, but the red over laps onto
> the gray(90) and vice-verca. How do I crop the over lapping parts with
> out leaving a big hole in the finished item? BTW the gray that sticks
> out the back of the red doesn't matter.
>
----------------------------------------------------------------------------
----
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |