You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Avogadro, we can directly map to 2D using the camera.
One tricky thing would be working out z-depth mapping (i.e., write out the back atoms first) and scaling the radii of the atoms, but that shouldn't be too hard.
The text was updated successfully, but these errors were encountered:
Hi I've done a first template here. But I'm missing something, how the glwidget does the culling. I think this is because the m_camera->width() and m_camera->height() returns the pixel size but not the projection position? For the moment this is with a magic number. Any idea?
Open Babel supports an SVG "ball and stick" rendering style, which works well for 2D depiction of molecules.
https://pqr.pitt.edu/static/data/svg/IE/IEDVJHCEMCRBQM-UHFFFAOYSA-N.svg
For Avogadro, we can directly map to 2D using the camera.
One tricky thing would be working out z-depth mapping (i.e., write out the back atoms first) and scaling the radii of the atoms, but that shouldn't be too hard.
The text was updated successfully, but these errors were encountered: