Opened 7 years ago

Last modified 7 years ago

#1263 closed defect

Setting view background color changes clipping — at Version 1

Reported by: hl2368@… 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 Eric Pettersen)

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&nbspinfo...;]  
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

Screen Shot 2018-08-22 at 2.28.01 PM.png

Change History (2)

by hl2368@…, 7 years ago

Added by email2trac

comment:1 by Eric Pettersen, 7 years ago

Component: UnassignedGraphics
Description: modified (diff)
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionSetting view background color changes clipping

Reported by Haotian Li

Note: See TracTickets for help on using tickets.