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.
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
What I am going to do:
I will use one instance of the JmolViewer for
whereby another instance shall render images in a
The code forinstantiation is
viewer = JmolViewer.allocateViewer((panel or
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?