Re: [Jmol-developers] optimization of VRML

2009-07-19 Thread Robert Hanson
Yes, I see that, too. There is more to do there ... OK, I think I've got it pretty close. Give that some testing and adjust the X3d. 2009/7/19 Angel Herráez > Bob, the new orientation in vrml is giving me trouble; if I rotate the > model before export, in > the vrml the model is often out of s

Re: [Jmol-developers] optimization of VRML

2009-07-19 Thread Angel Herráez
Bob, the new orientation in vrml is giving me trouble; if I rotate the model before export, in the vrml the model is often out of sight. Sometimes it comes into view by rotating around in the vrml viewer, other times it's hard to catch it. It may be correctly reproducing the orientation in Jm

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 i

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 coul

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 th

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 > Bob, can you supervise my last commit? Thanks > > I read about compacting VRML files, one trick is to reduce

[Jmol-developers] optimization of VRML

2009-07-17 Thread Angel Herráez
Bob, can you supervise my last commit? Thanks I read about compacting VRML files, one trick is to reduce precision in numbers, i.e. write less decimals. I've chosen 3, which applies to xyz coords, cylinder lengths, and colors. I'm not sure if the same should be done for POV-Ray (I don't know t