[chimerax-users] Silhouettes cause fill

Daniel Asarnow asarnow at msg.ucsf.edu
Wed May 6 15:54:55 PDT 2020


Thanks, Tom - depthJump fixes the problem completely!

Are there other thresholds to trigger silhouette drawing? I'm thinking of
instances like the shifted helices in the lower right here, where there's
no silhouette between the khaki and salmon models. BTW the upper left helix
shows how well depthJump 0.1 works here.

[image: image.png]

Best,
-da


On Mon, May 4, 2020 at 11:48 AM Tom Goddard <goddard at sonic.net> wrote:

> Hi Daniel,
>
>   It is the silhouette depth jump parameter that is causing this.  The
> default values is 0.03 and if you increase it
>
>         graphics silhouette depthJump 0.1
>
> that might solve your issue.  Let me explain what this parameter means.  A
> black silhouette edge is drawn at a pixel if a neighbor pixel differs in
> depth by 0.03 times the full depth of the scene (between near and far clip
> planes).  It is surprising to me that your helix has neighboring 2d pixels
> that differ in depth by more than 3% of the scene depth.  But the helix
> axis is almost aligned with the view direction so two adjacent pixels on
> the helix can be at quite different depths.  But also the full depth of
> your scene must be quite small, only a few times deeper than the length of
> the entire helix I guess.  Maybe there is a bug here.
>
>         Tom
>
> > On May 4, 2020, at 10:20 AM, Elaine Meng <meng at cgl.ucsf.edu> wrote:
> >
> > Hi Daniel,
> > Another parameter to play with is the graphics silhouettes "depthJump"
> value.  In this case you could try increasing it.  I've had similar
> problems, and at least part of the time, could solve them by fiddling with
> this value.
> >
> > <
> http://rbvi.ucsf.edu/chimerax/docs/user/commands/graphics.html#silhouettes
> >
> >
> > I hope this helps,
> > Elaine
> > -----
> > Elaine C. Meng, Ph.D.
> > UCSF Chimera(X) team
> > Department of Pharmaceutical Chemistry
> > University of California, San Francisco
> >
> >
> >> On May 3, 2020, at 7:38 PM, Daniel Asarnow <asarnow at msg.ucsf.edu>
> wrote:
> >>
> >> Hi,
> >> Is there any way to avoid this effect where silhouettes lead to an
> apparent flood fill? The helix in the upper left of this clip shows what I
> mean:
> >> <image.png>
> >>
> >> I was able to work around it a bit by making the silhouettes thinner
> than I'd like, and aggressively supersampling. It seems severe with any
> silhouette width greater than 1.
> >>
> >> Thanks and best,
> >> -da
> >
> >
> > _______________________________________________
> > ChimeraX-users mailing list
> > ChimeraX-users at cgl.ucsf.edu
> > Manage subscription:
> > http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20200506/2844e111/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 13101 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20200506/2844e111/attachment-0001.png>


More information about the ChimeraX-users mailing list