On Mar 25, 2006, at 8:44 a, Miguel wrote:
On Mar 25, 2006, at 7:33 a, Bob Hanson wrote:
There is too much of a restriction in Xyzd.
I like Xyzd; I suspect that really is one of the secrets to the fast
rendering.
Actually, I would say that the Xyzd is causing more trouble than it is
worth. I added it relatively recently (1 year ago? 18 mos ago?).
At a minimum we can go back to storing the screen coordinates as 4
shorts.
That is an easy change that will increase the range and will not
increase
memory consumption for macromolecules.
So I'd propose:
a) in Atom.java, remove the z limitations.
b) in Xyzd.java, remove the two "guard/overflow" bits. They are NEVER
checked.
c) in Xyzd.java, remove the zero offset -- just store the int values
directly.
This then allows a range of -2^15+1 to 2^15-1 -- -32767 to 32767.
For an
800x800 applet, that will allow a zoom of 40, roughly.
If that is only going to give a zoom of 40 then clearly that is
insufficient.
I think this should be 40x, not just 40. yes?
tim
--
Timothy Driscoll em: [EMAIL PROTECTED]
Virginia Bioinformatics Institute ph: 540-231-3007
Bioinformatics I im: molvisions
Washington St., Blacksburg, VA 24061
"Let my Cameron go."
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers