- A few additional improvements to outline rendering quality
- Made a few tweaks to documentation
Downloads
- Implement screen-door transparency as an alternative to alpha-based transparency. To enable screen-door transparency, pass transparency : 'screendoor' when constructing the viewer.
- Added special selection highlighting render mode.
- Improve handling of click event by only firing click events when the mouse button is pressed/released within a short timespan.
- Improve rendering of outline by properly scaling the extrusion factor based on the size of the GL canvas.
- Added more sample code to documentation
Downloads
This dot release adds a bower.json to the release package, so that PV can be installed using bower.
Downloads
- PDB import: Improved code to guess element from atom name. This fixes issues in correctly detecting hy
drogen atoms for some cases. - Add support for click events on custom meshes
- Deprecated atomDoubleClick/atomClick events in favor of click/doubleClicked to make it clearer that th
e target of the click event might be objects other than atoms. - Simplified the picking results object. The picking results now provides the position of the clicked ob
ject as thepos()property. It is no longer required to transform the atom position by the symmetr
y transformation matrix when displaying biological units. - Support for loading multi-model pdb files.
- Added functionality to superpose two structures using least-square fitting
Downloads
- Added Viewer.spin command to spin the camera around an axis
- Relax some limits on number of elements that could be rendered at full connectivity level. Now it would theoretically be possible to render 2^24 atoms, even though the amount of geometry is likely to take down the browser.
- Fix rendering for very long RNA molecules that broke some assumptions in the cartoon rendering code (1J5E, for example see issue #82).
- Improve heuristics to determine whether two residues belong to the same trace by not introducing trace breaks in case the residues are connected by a bond. This allows users to manually set bonds in case they have other means of knowing that two residues are to part of the same trace (#83).
Downloads
- Basic support RNA/DNA rendering for all render modes
- Multi-touch support for iOS and Android (with contributions by @kozmad, @lordvlad)
- improved visual clarity of text labels
- use correct line width when manual anti-aliasing is enabled.
- text labels can now be styled (color, font-family, font-weight, size)
- reduced file size of minified JavaScript file by a little more than 10%
- ability to add geometric shapes to the 3D scene through customMesh
- ability to specify custom color palettes (@andreasprlic)
- viewerReady event (@andreasprlic)
- PV can optionally be used as an AMD module without polluting the global namespace
- added more unit and functional tests. The tests reach a coverage of 80% of the total number of exectuable lines of code.
- support for loading small molecules from SDF files
Downloads
v1.3 is an incremental release and contains the following new features/fixes:
- publish it as an npm module
- PDB IO: parse insertion codes
- add method to retrieve current color of atom. This is useful for highlighting purposes, where the color of certain atoms is temporarily changed and then reverted back to the original.
- smoothing of strands when rendering as helix, strand, coil cartoon
- implement proper strand "arrows"
- improved auto-slabbing when the rendered objects are off-center
Downloads
PreviousNext