Benn,
Also -- so that I can learn what you are doing there -- could you add some
inline comments in MoleK.java that explain exactly what each of the calls
to OpenNI are doing? There's a great teaching opportunity for you here....
Oh, my. Looking at the code now, I can tell you that you have opened up a
whole new world for us. What you have done is to write a stand-alone app.
Perfect. Now what I would like to do is to pull all this into Jmol so that
with the flip of a switch the applet or app can have all these gestures. In
that case, this should go in org.jmol.multitouch. Looks sweet!
Can you explain how the platform-dependence works? You have to also start
a platform-specific C++ based driver, right? Like we do with SparshUI?
Have you checked this out on Windows and Mac or just one of those?
Bob
On Tue, Aug 28, 2012 at 6:50 AM, Robert Hanson <hans...@stolaf.edu> wrote:
> Benn, could you do me a favor? Could you replace
>
> import org.OpenNI.*;
>
>
>
> with actual import references and not ".*" ? This will help other
> developers see where the dependencies are and where they are coming from.
>
> Thanks,
>
> Bob
>
>
> On Tue, Aug 28, 2012 at 12:45 AM, Benn Snyder <benn.sny...@gmail.com>wrote:
>
>> Hello all,
>>
>> I posted to this list near the beginning of the summer about developing a
>> gesture-based control interface to Jmol (a la Molecular
>> Playground<http://molecularplayground.org/>).
>> My early attempts in C++ using Jmol's socket scripting interface got me on
>> the right track and thanks to Robert Hanson's assistance, the project made
>> steady progress. However, headaches arose when I tried to get the project
>> running on different platforms.
>>
>> A rewrite in Java resulted in cleaner, more modular code with fewer
>> dependencies. I just published this Java port, dubbed
>> moleK<https://github.com/piedar/moleK>,
>> on github. It's far from complete, but I think it provides a good basis.
>> When we last corresponded Robert expressed interest in getting this into
>> Jmol, so here I am to ask - how do I do that?
>>
>> As it is now, I've embedded a JmolPanel in my app using
>> org.jmol.api.JmolViewer and I control it with that class's functions, most
>> commonly with scripting via evalString(). The part of my code that
>> controls Jmol can be found in moleK.JmolScripter.
>>
>> One major issue is that adding moleK to Jmol would introduce a dependency
>> on OpenNI, which hasn't been officially packaged for many (any?)
>> distributions. I'm currently experimenting with packaging OpenNI along
>> with my app, which will hopefully yield me some insight toward solving this
>> problem.
>>
>> As I said above, moleK is far from complete but AFAIK it's the only Free
>> project to link a sensor like the Kinect with a molecular modeler
>> (Molecular Playground perhaps, but I couldn't find their code). I've
>> invested enough time and effort to become quite attached to it and I think
>> it has the potential to add some useful and interesting functionality to
>> Jmol. I begin work on my senior thesis this fall; this project has piqued
>> my interest in gesture-based interaction and I want to explore related
>> topics. My thesis won't be focused on molecular modeling, but I expect
>> that my research efforts will allow me to continue improving this project.
>>
>>
>> Best Regards,
>>
>> Benn Snyder
>>
>>
>> ------------------------------------------------------------------------------
>> 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/
>> _______________________________________________
>> Jmol-developers mailing list
>> Jmol-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>>
>>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> Chair, Chemistry Department
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> If nature does not answer first what we want,
> it is better to take what answer we get.
>
> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>
>
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
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/
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers