molstar / molstar

A comprehensive macromolecular library

Home Page:https://molstar.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible way to clean transparent cylinders while on solidInterior mode.

giagitom opened this issue · comments

@arose, what do you think about the following patch to clean unwanted caps on transparent cylinders using solidInterior mode?
cylinders-solidInterior+transparency.diff.txt

Before

image

After

image

I like it.

I wonder if if we could also propagate a top/bottom-sphere-radius param and discard the pixels that intersect with the sphere.

I wonder if if we could also propagate a top/bottom-sphere-radius param and discard the pixels that intersect with the sphere.

@dsehnal I think I already discussed this with @arose some time ago #665 (comment)