Alexander Rose

Results 331 comments of Alexander Rose

read #493 for the current state of TS and NGL

The debug mode does not show the unitcell it is just a bounding box of the graphical elements (and its color is hardcoded). The color of the unitcell representation can...

hmm, than it is a bug (or missing feature)

Can reproduce. It only happens for `SphereGeometryBuffer` but not for `SphereImpostorBuffer` so the issue is in how the `SphereGeometryBuffer` positions are updated.

You can try to toggle the `depthWrite` representation parameter off. This may help a bit but will produce other artifacts. In molstar we essentially solved this, see https://github.com/molstar/molstar/issues/83#issuecomment-739452292.

Reading cif-core files in NGL is barely supported. One thing that is also wrong in Mol* is not taking the charge information in the type_symbol field into account (https://github.com/molstar/molstar/issues/31).

I am not familiar with vue but I imagine the process of using molstar would be similar to react in which case this repository https://github.com/samirelanduk/molstar-react might offer some ideas.

There is no support for that directly in NGL but you can load them yourself and then create a volume object or directly write a volume parser (see the dx...