Am 29.09.2012 04:38, schrieb Robert Hanson:
Oh, yes. That could be. Right those are the only variables that are static. I'll see what I can do about that. But lighting is very special. I guess I was thinking that once you set that you want it to be the same, but zShadePower is a lot different from specular issues. What do you think? Can some of those remain static?Could become problematic when my rendering instance is working and the user tries to change graphic settings for the displaying isntance. I can fix it by locking the graphic settings. But I am glad that this is the only problem. Thanks for the fast response. Have a nice weekend.
Kind regards, Andreas
On Fri, Sep 28, 2012 at 9:52 AM, Andreas Truszkowski <[email protected] <mailto:[email protected]>> wrote:Hi Bob, it seams that the first instance is updated by the executed scripts of the second instance. E.g. lightning settings like set zShadePower, set ambientPercent,... Kind regards, Andreas Am 28.09.2012 16:31, schrieb Robert Hanson:On Fri, Sep 28, 2012 at 8:39 AM, Andreas Truszkowski <[email protected] <mailto:[email protected]>> wrote: Hi, instanciating several JmolViewer instances leads in overwritin of each other. Am I right that Jmol is not thread safe? No. We do all sorts of things with multiple viewers. There are no static objects, only static constants. What I am going to do: I will use one instance of the JmolViewer for displaying structures whereby another instance shall render images in a background thread. The code forinstantiation is viewer = JmolViewer.allocateViewer((panel or null), new SmarterJmolAdapter(), null, null, null, null, null); Is it possible to get it work in a single virtual machine or have I to run a second JVM to get this work? just allocate another viewer, and you should be fine. What exact problems are you seeing? Bob Hanson Kind regards, Andreas ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Jmol-users mailing list [email protected] <mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/jmol-users-- Robert M. HansonLarson-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 ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Jmol-users mailing list [email protected] <mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/jmol-users------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Jmol-users mailing list [email protected] <mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/jmol-users -- 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 ------------------------------------------------------------------------------ How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------ How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

