Next: , Previous: Screenshot, Up: General Features


3.6 Raster3D output

Output suitable for use by Raster3D's “render” can be generated using the scripting function

(raster3d file-name)

where file-name is such as "test.r3d" 1.

There is a keyboard key to generate this file, run “render” and display the image: Function key F8.

You can also use the function

(render-image)

which will create a file coot.r3d, from which “render” produces coot.png. This png file is displayed using ImageMagick's display program (by default). Use something like:

(set! coot-png-display-program "gqview")

to change that to different display program ("gqview" in this case).

(set! coot-png-display-program "open")

would use Preview (by default) on Macintosh.

To change the widths of the bonds and density “lines” use (for example):

(set-raster3d-bond-thickness 0.1)

and

(set-raster3d-density-thickness 0.01)

Similarly for bones:

(set-raster3d-bone-thickness 0.05)

To turn off the representations of the atoms (spheres):

(set-renderer-show-atoms 0)


Footnotes

[1] Povray support is only semi-working, there is a problem with the orientation of the image.