Opened 7 years ago
Closed 7 years ago
#1263 closed defect (not a bug)
Setting view background color changes clipping
Reported by: | Owned by: | Tom Goddard | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Graphics | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description (last modified by )
The following bug report has been submitted: Platform: Darwin-18.0.0-x86_64-i386-64bit ChimeraX Version: 0.8 (2018-08-09) Description When Creating a plugin I used a function: def change_bgcolor(session): from chimerax.core.graphics.view import View view = session.main_view # type: View view.set_background_color([255, 255, 255, 1]) After running this function as a command and change the lighting the camera would clip in the middle of the protein Log: UCSF ChimeraX version: 0.8 (2018-08-09) OpenGL version: 4.1 ATI-2.0.36 OpenGL renderer: AMD Radeon Pro 580 OpenGL Engine OpenGL vendor: ATI Technologies Inc. How to cite UCSF ChimeraX open 1ycr format mmCIF fromDatabase pdb Summary of feedback from opening 1ycr fetched from pdb --- notes | Used PDBx fixed column width tables to speed up reading mmCIF file Used PDBx keywords to speed up reading mmCIF file 1ycr title: MDM2 bound to the transactivation domain of P53 [more info...;] Chain information for 1ycr #1 --- Chain | Description A | MDM2 B | P53 Opened mmCIF data containing 818 atoms and 835 bonds select up 64 atoms, 66 bonds selected select up 113 atoms, 116 bonds selected toolshed show "Command Line Interface" toolshed show "File History" name frozen lig sel select up 23 atoms, 23 bonds selected select up 705 atoms, 719 bonds selected name frozen prot sel change_bgcolor lighting full help help:contact.html toolshed show "Bug Reporter" OpenGL version: 4.1 ATI-2.0.36 OpenGL renderer: AMD Radeon Pro 580 OpenGL Engine OpenGL vendor: ATI Technologies Inc. File attachment: Screen Shot 2018-08-22 at 2.28.01 PM.png
Attachments (1)
Change History (3)
by , 7 years ago
Attachment: | Screen Shot 2018-08-22 at 2.28.01 PM.png added |
---|
comment:1 by , 7 years ago
Component: | Unassigned → Graphics |
---|---|
Description: | modified (diff) |
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
Summary: | ChimeraX bug report submission → Setting view background color changes clipping |
Reported by Haotian Li
comment:2 by , 7 years ago
Resolution: | → not a bug |
---|---|
Status: | assigned → closed |
You set the background color RGBA to (255,255,255,1). This is almost entirely transparent (A = 1). Completely opaque would be RGBA = (255,255,255,255). And there is depth cuing where the back of the model blends with the background so it is made completely transparent. This has nothing to do with clipping or lighting. It does not make much sense to use a transparent background.
Note:
See TracTickets
for help on using tickets.
Added by email2trac