Thanks for the button Paul. Although, I had already put this code in my config
file ~/.config/Coot/config.py so that I can just press shift-N to set
everything the way I like. Unfortunately, I have to run this shortcut every
time I open a new model. Is there a way to set the default values for all new
models instead of having to run a function? Or to have a hook for loading a new
model?
import coot
import coot_utils
def set_all_model_matte():
"""Set model material specular values to intensity 0.4 and shininess 30 for
all loaded coordinate models."""
for imol in range(coot.get_number_of_molecules()):
if coot.is_valid_model_molecule(imol):
coot.set_model_material_specular(imol, 0.0, 30)
coot.set_bond_thickness(imol,4)
add_key_binding("Make all models matte","N", set_all_model_matte)
I think the main issue is the very strong specular highlight of models.
Reducing the value from 1.0 to even e.g. 0.3 or so makes a huge difference. The
new diffuse and ambinent defaults are fine in my opinion and give a bit of
extra depth.
The default clipping is also too shallow when zoomed in, so I set these values:
coot.set_clipping_front(1.4)
coot.set_clipping_back(1.0)
Best regards,
Daniel
On 2026-09-21, 15:43, "Mailing list for users of COOT Crystallographic
Software on behalf of Paul Emsley" <[email protected]
<mailto:[email protected]> on behalf of
[email protected]
<mailto:[email protected]>> wrote:
Hello,
By now I have been told by several people that the current
lighting/materials in Coot 1.3.x is not to their taste.
Here is a script that provides a button that makes the graphics image
more Old School.
Paul.
########################################################################
To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1
<https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1>
This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list
hosted by www.jiscmail.ac.uk, terms & conditions are available at
https://www.jiscmail.ac.uk/policyandsecurity/
<https://www.jiscmail.ac.uk/policyandsecurity/>
VARNING: Klicka inte på länkar och öppna inte bilagor om du inte känner igen
avsändaren och vet att innehållet är säkert.
CAUTION: Do not click on links or open attachments unless you recognise the
sender and know the content is safe.
När du har kontakt med oss på Uppsala universitet med e-post så innebär det att
vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du
läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/
E-mailing Uppsala University means that we will process your personal data. For
more information on how this is performed, please read here:
http://www.uu.se/en/about-uu/data-protection-policy
########################################################################
To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1
This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list
hosted by www.jiscmail.ac.uk, terms & conditions are available at
https://www.jiscmail.ac.uk/policyandsecurity/