On Mon, Apr 16, 2012 at 12:50 PM, Tuukka Verho <[email protected]> wrote: > David Lonie kirjoitti 16.4.2012 kello 18.39: > > With up to 3 clipping planes there are so many possibilities and corner > cases that it is virtually impossible to avoid all artifacts. We just have > to settle how many cases we want to cover (we don't want to end up in a > situation where 90% of drawing code in Avogadro is related to this). I was > actually a bit unsure whether drawing those "isolated" bond segments is a > good idea because they often end up being clipped in complicated ways. > Is this going into a specialized plugin, or straight into bsdyengine? I didn't look at the code, but it seems pretty specialized and I wondered what (if any) impact this would have where there is no periodic boundary. > > Maybe Avogadro 2.0 painters could have a set of clipping planes so > that we could more easily draw these structures? Then we could just > use native GL clipping and emulate it somehow for the other > paintdevices... > > > I would vote for this option... > I think this would be reasonable, and I think virtually all rendering engines have some form of clipping support that we could map to.
Marcus ------------------------------------------------------------------------------ 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
