On Mon, Apr 16, 2012 at 2:42 PM, Tuukka Verho <[email protected]> wrote:
> David Lonie kirjoitti 16.4.2012 kello 20.19:
>> My only concern with this approach is that it won't close off the
>> cylinders, leading to odd backface culling artifacts.
>
> No, you can also close the cylinders. First you draw the pixels of the
> cylinder that are inside the clipping box, then you draw the parts of the
> clipping box that are inside the cylinder. Voila!

Ah, good point :-) That will work for the GL backend. Not sure if the
other renderers will support non-planar clip operations, but we can
always emulate it if needed.

Dave

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Avogadro-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avogadro-devel

Reply via email to