On Tue, Jun 5, 2012 at 5:49 PM, David Lonie <[email protected]> wrote: > On Tue, Jun 5, 2012 at 5:40 PM, Geoffrey Hutchison <[email protected]> wrote: >> >> I just finished a new revision of the polymer builder, which embeds >> previews of the monomers using SVG and QtWebKit (see attached). >> >> Now, this does add a small dependency, since we did not previously require >> QtWebKit, but I think the benefit is high, and we'll probably start to use >> embedded web views more. (For example, perhaps the input generators could be >> done with HTML + JavaScript?) > > > Very cool! I don't think it will be a problem, I'd imagine that most > packagers build Qt with webkit anyway, but Marcus would know more for sure. > Was there no other way to display an SVG? > > Now the important question: Can it use this openbabel > painter? http://baoilleach.blogspot.com/2012/04/painting-molecules-your-way-introducing.html > It is a fairly large dependency (I think QtWebKit is a similar size to the rest of Qt), but most people who have Qt have it installed. There are some SVG rendering classes in Qt, but I think they were deprecated in Qt5 and don't handle all of SVG very well.
I don't see the value in using webkit for the input generators, but don't object to using webkit for these in a plugin. It looks great, and I think for interactive web pages with teaching material etc this could be interesting. I would like to focus on fixing some of the crashes reported by Michael before adding new features for 1.1.0, but remain flexible. Once we have this release out it would be good to discuss some of the new work we have been doing for Avogadro 2.0. I have been seeing some great rendering performance increases using GLSL/impostor spheres, it leads to a simpler but quite different API for engines too. Marcus ------------------------------------------------------------------------------ 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/ _______________________________________________ Avogadro-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/avogadro-devel
