good morning,

at 11:09 am EDT on (Saturday) 22 November 2003 Miguel said:

[...]
> > what font face is used for labels,
> You can pick your font face. My plan was to use set fontface
> "helvetica"
> 
> But I don't remember if I exposed the scripting language or not. If
> not, it is a trivial addition.
> 
helvetica as a default font is acceptable to me, but it would be nice to
be able to change the font face via script command.  


> The fonts are taken directly from the platform, and you can make them
> whatever size you want.
> 
> > and is antialiasing a possibility?
> 
> Unfortunately, not at this time; there is no antialiasing with the 3D
> buffer.
> 
> (Actually, full scene antialiasing is partially implemented, but it is
> turned off in the code. Performance was not good on slower platforms
> and I couldn't figure out what to do about pixel alignment with fonts
> and wireframe lines.)
> 
no big deal; I was just curious.  I wouldn't expect to see paragraphs of
text in atom labels ;-)

it would be *very* helpful if one could change the color, size, and
fontface of individual labels.  for example, I may want to label the alpha
carbon in 14pt red, but label the other carbons in 11pt gray.  could this
be done simply, by making the font operators dependent on the current
selection?  this is not possible in Chime or RasMol.


> > it might be nice to have this accessible, too - some fonts that look
> > great on the mac are trash on windows, and vice versa.  I'm usre the
> > same is true for other OS.
> 
> One thing I wondered about was an option to display labels in a little
> frame, like a balloon in a cartoon. That would make them easier to
> read. (If we did that then the background color around the text would
> always be the same ... that would make it easier to reintroduce
> antialiasing for text characters.)
> 
> What do you think?
> 
I'd be afraid that decorating the label would be visually distracting.
this might have some appeal as an option but I'm not sure if it would get
much play.  unless...

> Something related to this ... note that Jmol does not handle these
> labels the same way that RasMol does. In Jmol the labels are positioned
> in 3-space. If there is an atom in front of it then you won't see the
> label.
> 
...if one could control the translucency of the label (and 'balloon').
and then if the label could be tethered to the atom somehow, say via a
visible but very discrete thread...

but this may be going off the deep end.  ;-)



> Finally, previous versions of Jmol handled labels in a different way.
> It put the 'labels' directly on top of the atom. I changed this for
> compatibility with RasMol.
> 
> I think this type of labeling is very effective for the atom type. The
> atoms look like billard balls with the element symbol in the middle.
> Probably not important for experienced users and for macromolecules,
> but very valuable for high-school students working with smaller
> molecules.
> 
> I think we need to reintroduce this functionality. We can't call it a
> 'label', but could call it a 'typetag' or something else.
> 
I agree; there are situations where it helps a lot to put the label right
on the atom.

what about an offset operator?

   set label offset [bool]

this allows the user to choose how to display the label without having to
write a new one.

regards,

:tim

-- 
timothy driscoll
molvisions - molecular graphics & visualization
<http://www.molvisions.com/>
usa:north carolina:wake forest


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to