POV-Ray : Newsgroups : povray.general : Joining cylinders with a miter-join : Re: Joining cylinders with a miter-join Server Time
31 Jul 2024 14:28:01 EDT (-0400)
  Re: Joining cylinders with a miter-join  
From: Nicolas George
Date: 22 Dec 2006 06:10:01
Message: <458bbd09$1@news.povray.org>
"Paul Bourke"  wrote in message
<web.458b8ec21e412a2be5a039020@news.povray.org>:
> In any case, how about taking the intersection of the two cylinders extended
> past each other, that gives you the end piece.

<thinking hard>
<doing a sketch on the white board to be really sure>

Yes! Great idea! That is just the right piece to make the perfect join.

Anyway, I have the impression that the construct

union {
  intersection {
    object { A }
    object { L }
  }
  intersection {
    object { A }
    object { L inverse }
  }
}

is quite common, and may benefit from a specific optimization.


Post a reply to this message

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