bioicons / pdb2vector

https://bioicons.github.io/pdb2vector/
MIT License
1 stars 0 forks source link

ToDo before publication #13

Open duerrsimon opened 10 months ago

duerrsimon commented 10 months ago
duerrsimon commented 10 months ago

Add functions to set illustrative or stylized styles using this code Reference see here: https://github.com/molstar/molstar/blob/6edbae80db340134341631f669eec86543a0f1a8/src/mol-plugin-ui/structure/quick-styles.tsx#L84C11-L84C19

viewerInstance.plugin.canvas3d.setProps({ postprocessing: { outline: { name: 'on', params: { scale: 1, color: {r:0,b:0, g:0}, threshold: 0.25, includeTransparent: true, } }, occlusion: { name: 'on', params: { multiScale: { name: 'off', params: {} }, radius: 5, bias: 0.8, blurKernelSize: 15, samples: 32, resolutionScale: 1, color: {r:0,b:0, g:0}, } }, shadow: { name: 'off', params: {} }, } });