- Use svg
- If I can’t use a vector, I use a 4k resolution (PNG)
Rendering an image from VMD falls into the second category, but without setting it up correctly just rendering at 4k doesn’t look very great. Proper rendering in VMD requires the use of a ray tracing engine. Ray tracing is essentially a method that simulates the path of light in a scene and the interactions of these paths with the materials in the scene. I’ll provide an example here of rendering a water molecule.
Steps:
- Load a PDB and set the axes off and the background to white.
- Choose the orthographic view.
- Navigate to the “Display Settings” options.
- Turn “Shadows” and “Ambient Occlusion” on.
- Navigate to the “Materials” options.
- Navigate to the “Render” options
- Duplicate a material so you can modify the settings. Here I duplicated and modified the “AOChalky” material.
- Select the tachyon ray tracing option.
- Resize the display window using the console because you can make it bigger than the size of your screen this way - display resize 3840 2160. This may cause the view window to go blank. Don't panic that's fine. Render using the tachyon setting. This may take some time.
- Save the visualization state for future renders.
Load visualization state saves the current visualization
- Drawing Method: CPK
- Sphere schale: 1.4
- Sphere resolution: 100
- Bond radius: 0.9
- Bond resolution: 100
para as imagens das folhas para a parte da introdução, foi utilizado os arquivos de termalização.lammpstrj, pois os arquivos .xyz estavam com problemas de formatação.
-fullshade -auto_skylight 0.7 -aasamples 12 %s -format PNG -res 6000 4000 -o %s.png
x_axis = 4 y_axis = 1