On Sat, Jun 30, 2012 at 1:14 PM, phoenix <[email protected]> wrote:

> That sounds like a good idea. But I wonder how we can represent the cline
> primitive with pipe? As mentioned above, the raytrace of cline is view
> dependent, but pipe is not. I still cannot imagine what the shape of cline
> should really be on earth.

My take on it is not to worry about the raytrace visuals for this
case, since a NURBS based BRep can't reproduce them anyway - instead,
if you look at the diagram on the last page of this pdf:

http://bzflag.bz/~starseeker/cline.pdf

you'll see that the figure more or less resembles a simple pipe.  So
from the definition of rt_cline_internal in rtgeom.h, you have a
vertex, height, radius, and thickness (e.g. thickness of the wall).
That seems to map fairly well to variations on a straight pipe
segment, even if the cline shotline has different interpretations in
some situations to match other software - so for these purposes, I'd
say use those parameters to make a pipe with one linear segment would
make the most sense.

Cheers,
CY

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to