POV-Ray : Newsgroups : povray.binaries.images : I need to fix this.. Server Time
20 Oct 2026 15:14:28 EDT (-0400)
  I need to fix this.. (Message 1 to 26 of 26)  
From: Lt  Kettch
Subject: I need to fix this..
Date: 11 Mar 2000 19:51:28
Message: <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


Attachments:
Download 'falcon.jpg' (22 KB)

Preview of image 'falcon.jpg'
falcon.jpg


 

From: Bill DeWitt
Subject: Re: I need to fix this..
Date: 11 Mar 2000 20:02:34
Message: <38caecaa@news.povray.org>
"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.

The direct way is to duplicate both objects, then use one red to cut the
gray and one gray to cut the red

union{
difference

                     object { Red1 }
                     object { Grey1 }
                  }
difference

                     object { Grey2 }
                     object { Red2 }
                  }
        } // end union


Post a reply to this message

From: Noah A
Subject: Re: I need to fix this..
Date: 11 Mar 2000 20:45:52
Message: <38CAF752.B181FF54@powersurfr.com>
thank you einstine for the big image i REALLY liked downloading a 1024x768
image to see a tinny little foul up. was it so hard to use an image editor and
crop it?!

"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.
>
>   ------------------------------------------------------------------------
>  [Image]


Post a reply to this message

From: Lt  Kettch
Subject: Re: I need to fix this..
Date: 11 Mar 2000 20:56:05
Message: <38CAF9A3.1D73B047@aol.com>
Sorry, didn't know you could do that .


Post a reply to this message

From: Lt  Kettch
Subject: Re: I need to fix this..
Date: 11 Mar 2000 20:56:34
Message: <38CAF9C0.236568E4@aol.com>
Thanx


Post a reply to this message

From: Lt  Kettch
Subject: Re: I need to fix this..
Date: 11 Mar 2000 21:04:55
Message: <38CAFBB4.FBEE6E5C@aol.com>
Didn't work. hmm...


Post a reply to this message


Attachments:
Download 'image3.jpg' (4 KB)

Preview of image 'image3.jpg'
image3.jpg


 

From: Bill DeWitt
Subject: Re: I need to fix this..
Date: 11 Mar 2000 21:23:10
Message: <38caff8e@news.povray.org>
"Noah A" <vip### [at] powersurfrcom> wrote :
>
> thank you einstine for the big image i REALLY liked downloading a 1024x768
> image to see a tinny little foul up. was it so hard to use an image editor
and
> crop it?!
>

    Please! It was 31 kb! A tiny image no matter what the pixel count. Not
the smartest of whines, plus you misspelled Einstein.


Post a reply to this message

From: Bill DeWitt
Subject: Re: I need to fix this..
Date: 11 Mar 2000 21:25:30
Message: <38cb001a$1@news.povray.org>
"Lt. Kettch" <AKK### [at] aolcom> wrote in message
news:38CAFBB4.FBEE6E5C@aol.com...
> Didn't work. hmm...
>


Sorry, you would have to widen the ones that you use to cut with so that
they cut everything... my mistake...


Post a reply to this message

From: Ross Litscher
Subject: Re: I need to fix this..
Date: 11 Mar 2000 22:14:19
Message: <38cb0b8b@news.povray.org>
Bill DeWitt <the### [at] earthlinknet> wrote in message
>
>     Please! It was 31 kb! A tiny image no matter what the pixel count. Not
> the smartest of whines, plus you misspelled Einstein.
>
>

hehehaha, the first time i read his posting, i misread "einstine" for
"intestine"!

ah,  the human brain is an interesting glob of goop.

ross.


Post a reply to this message

From: Lance Birch
Subject: Re: I need to fix this..
Date: 12 Mar 2000 05:21:41
Message: <38cb6fb5@news.povray.org>
Stop whining and start tracing :P

It took all of 6 seconds to download here, 31 KB isn't big.


Post a reply to this message

From: Anton Sherwood
Subject: Re: I need to fix this..
Date: 12 Mar 2000 07:08:46
Message: <38CB89DE.5E11B30F@pobox.com>
"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

From: Chris Huff
Subject: Re: I need to fix this..
Date: 12 Mar 2000 10:19:42
Message: <chrishuff_99-B9C806.10213212032000@news.povray.org>
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

From: Bill DeWitt
Subject: Re: I need to fix this..
Date: 12 Mar 2000 11:12:45
Message: <38cbc1fd@news.povray.org>
"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

From: Ken
Subject: Re: I need to fix this..
Date: 12 Mar 2000 11:31:20
Message: <38CBC566.1122524A@pacbell.net>
"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'
test1.jpg


 

From: Lt  Kettch
Subject: Re: I need to fix this..
Date: 12 Mar 2000 13:56:17
Message: <38CBE8C0.3FDAA8F1@aol.com>
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

From: David Fontaine
Subject: Re: I need to fix this..
Date: 12 Mar 2000 18:38:22
Message: <38CC2993.FEFC22B5@faricy.net>
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

From: David Fontaine
Subject: Re: I need to fix this..
Date: 12 Mar 2000 18:40:59
Message: <38CC2A30.8B08544@faricy.net>
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

From: David Fontaine
Subject: Re: I need to fix this..
Date: 12 Mar 2000 18:43:26
Message: <38CC2AC2.3128C94D@faricy.net>
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

From: Ross Litscher
Subject: Re: I need to fix this..
Date: 12 Mar 2000 19:12:40
Message: <38cc3278$1@news.povray.org>
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

From: Rick [Kitty5]
Subject: Re: I need to fix this..
Date: 13 Mar 2000 10:39:21
Message: <38cd0ba9@news.povray.org>
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

From: Steve
Subject: Re: I need to fix this..
Date: 13 Mar 2000 11:10:37
Message: <slrn8cq23u.k8.sjlen@zero-pps.localdomain>
On Sun, 12 Mar 2000 19:28:30 -0500, Ross Litscher wrote:
>
>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... 

Fools seldom differ. 


-- 
Cheers
Steve              email mailto:sjl### [at] ndirectcouk

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

web http://www.ndirect.co.uk/~sjlen/

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

  1:40pm  up 18 min,  4 users,  load average: 1.04, 1.06, 0.75


Post a reply to this message

From: Ross Litscher
Subject: Re: I need to fix this..
Date: 13 Mar 2000 17:30:55
Message: <38cd6c1f$1@news.povray.org>
Steve <sjl### [at] ndirectcouk> wrote
> On Sun, 12 Mar 2000 19:28:30 -0500, Ross Litscher wrote:
> >
> >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...
>
> Fools seldom differ.
>

The brilliant...um...drink...   ...coffee?


?ross?


Post a reply to this message

From: Lars Luthman
Subject: Re: I need to fix this..
Date: 13 Mar 2000 18:33:36
Message: <38cd7ad0@news.povray.org>
Ross Litscher skrev i meddelandet <38cd6c1f$1@news.povray.org>...
>The brilliant...um...drink...   ...coffee?
>
>


No. Coffee is bad.


Post a reply to this message

From: Ross Litscher
Subject: Re: I need to fix this..
Date: 13 Mar 2000 22:34:00
Message: <38cdb328@news.povray.org>
Lars Luthman <no### [at] spamse> wrote in message news:38cd7ad0@news.povray.org...
>
> Ross Litscher skrev i meddelandet <38cd6c1f$1@news.povray.org>...
> >The brilliant...um...drink...   ...coffee?
> >
> >
>
>
> No. Coffee is bad.
>
>

oh no!!


I must convert you!


Post a reply to this message

From: Jerome
Subject: Re: I need to fix this..
Date: 14 Mar 2000 07:55:25
Message: <38CE36B1.B2F934DF@iname.com>
Chris Huff wrote:
> 
> 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.
> 
	A plane should be faster provided that you use manual
bounding on the resulting object...

	Jerome
-- 
******************************* Jérôme M. BERGER
* Doctor Jekyll had something * mailto:ber### [at] inamecom
* to Hyde...                  * http://www.enst.fr/~jberger
*******************************


Post a reply to this message

From: David Fontaine
Subject: Re: I need to fix this..
Date: 15 Mar 2000 18:17:14
Message: <38D0190E.421B6ABA@faricy.net>
Ross Litscher wrote:

> The brilliant...um...drink...   ...coffee?

How 'bout some ginko-ginseng-St. John's Wort-Omega 3 tea?
Nah...

--
___     _______________________________________________
 | \     |_          <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

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