Closed duerrsimon closed 2 years ago
Shapes have an updateStyle method: https://3dmol.org/doc/$3Dmol.GLShape.html#updateStyle You can use this to change the color etc, but any change to the actual geometry requires creating a new surface. Example: https://3dmol.org/tests/auto/generate_test.cgi?test=updateiso
I want to dynamically change an isosurface but it seems that there is no equivalent of
setSurfaceMaterialStyle(surf, style)
for isosurfaces.I currently delete and readd the isosurface using the following command
I modify the isovalue using: