Re: [Jmol-developers] optimization of VRML

2009-07-18 Thread Robert Hanson
The round() business was a great idea. Molecule name -- I see -- as part of the header comments, right? viewer.getModelSetName() that can come back null. Bob 2009/7/17 Angel Herráez angel.herr...@uah.es Bob, can you supervise my last commit? Thanks I read about compacting VRML files, one

Re: [Jmol-developers] optimization of VRML

2009-07-18 Thread Angel Herráez
On 18 Jul 2009 at 9:12, Robert Hanson wrote: Molecule name -- I see -- as part of the header comments, right? Right viewer.getModelSetName() that can come back null. Oh yes, I found out yesterday after several blind trials. At first I was trying Viewer.getModelSetName() --following the

Re: [Jmol-developers] optimization of VRML

2009-07-18 Thread Angel Herráez
Bob wrote (on jmol-users): also put on your list getting the perspective right. Does the VRML use a 4x4 matrix to define the orientation, by chance? I assume you mean the user's point of view fo the model. There is a viewpoint orientation in vrml that takes 4 values. I imagine that could be

Re: [Jmol-developers] optimization of VRML

2009-07-18 Thread Robert Hanson
I'm starting to enjoy looking at these VRML pages. I got the rotation in, so the view should (almost) match -- camera is still not quite right, and I don't know if we really care about that or not. I think I have all the DRAW objects working, DOTS are working, BACKBONE is in, and DOUBLE BONDS are