|
|
Simon Lemieux wrote:
>
> I was wondering if it was possible to simply have an infinite
> cylinder?
> Without any tricks... this should normally be trivial for the
> renderer... but was this coded?
I think this ought to work. It uses the Reorient() macro from my
Thoroughly Useful Macros file:
#macro InfiniteCylinder(PointA,PointB,Radius)
quadric { <1,0,1>,<0,0,0>,<0,0,0>,-Radius*Radius
Reorient(y,vnormalize(PointB-PointA))
translate PointA
}
#end
Hope this helps,
John
--
ICQ: 46085459
Post a reply to this message
|
|