|
|
In article <web.3ea6463e139c24052b26ab750@news.povray.org>,
"Tabea" <hio### [at] webde> wrote:
> except of a difference between two cylinders?
I'm not sure what you expect to be better. It is the most common way of
doing it. You could generate a mesh or use a lathe, but why?
> things that are allready exist.
Well, they are well documented. Here's an example that does what you
asked about:
#macro Tube(Start, End, IRad, ORad)
#local Axis = vnormalize(End - Start);
difference {
cylinder {Start, End, ORad}
cylinder {Start - Axis*0.001, End + Axis*0.001, IRad}
}
#end
If you still have problems, you are going to need to be more specific.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|