Opened 6 years ago

Closed 6 years ago

#2361 closed enhancement (fixed)

Silhouette edges not shown on molecule under transparent surface

Reported by: yaohe@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: Graphics Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-18.7.0-x86_64-i386-64bit
ChimeraX Version: 0.91 (2019-08-30)
Description
Silhouette edges are not shown on molecules behind transparent surfaces.  Reported by Yao He.

Log:
UCSF ChimeraX version: 0.91 (2019-08-30)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open /Users/goddard/ucsf/chimerax/src/core/test.cxs format session

opened ChimeraX session  




OpenGL version: 4.1 ATI-2.11.20
OpenGL renderer: AMD Radeon Pro Vega 20 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

Attachments (1)

Screen Shot 2019-08-30 at 9.33.44 AM.png (409.5 KB ) - added by Tom Goddard 6 years ago.
Chimera on left, ChimeraX on right.

Download all attachments as: .zip

Change History (3)

comment:1 by Tom Goddard, 6 years ago

Component: UnassignedGraphics
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Reporter: changed from goddard@… to yaohe@…
Status: newassigned
Summary: ChimeraX bug report submissionSilhouette edges not shown on molecule under transparent surface
Type: defectenhancement

Begin forwarded message:

From: YAO HE
Subject: [chimerax-users] silhouette of transparent density
Date: August 30, 2019 at 12:21:05 AM PDT
To: chimerax-users@…

Hi,

I am using ChimeraX now to show the overlay between atomic model and transparent EM densities. However, when I enable the silhouette feature, only the transparent EM densities are affected. I am wondering if it is possible to also silhouette the atomic model inside. Just like "setattr M silhouette true #3" in Chimera.

Best,
Yao

by Tom Goddard, 6 years ago

Chimera on left, ChimeraX on right.

comment:2 by Tom Goddard, 6 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

ChimeraX is not showing silhouette edges on molecules behind transparent surfaces. This is because ChimeraX silhouette edges are drawn where the depth of the scene makes a jump. The depth at a pixel is the depth of the front-most object, so the transparent surface causes ChimeraX not to see the depth of the molecule, hence no silhouette edge on the molecule.

I added some code that separately draws the silhouette edges for opaque models and transparent models, so in tonight’s ChimeraX daily build it will draw silhouettes on molecules under transparent surfaces.

Note: See TracTickets for help on using tickets.