This is going to look good:
http://www.molmod.com/~schraven/jmolscreenshot.jpg
http://www.molmod.com/~schraven/povrayscreenshot.jpg
(only atoms up to now)

Comments so far:

- We need the background color, viewer.getObjectColix(0) has it, but
should have a better name e.g. getBackgroundColix.

- PovrayExporter needs to get camera and lights position from viewer.
I think they are private now, or am I wrong. any hints? Maybe we can
even get ambient, diffuse, and specular values from Jmol? Povray also
has a 'roughness' factor and property metallic but I couldn't find
those.

- Povray camera should always be orthographic. Most users will want
WYSIWYG images, do a "write povray" and get the image as it was on the
screen (see screenshots above). Therefore all parameters used are
screen parameters. If perspective depth is turned on, the atoms will
be placed differently in the povray file to look like the jmol image.
This looks much better than doing it in povray itself. And you don't
lose time and nerves finding a suitable combination of zoom and camera
distance.

Anyone who wants to do editing in povray afterwards can output the
jmol file without perspective depth, do their edit thing, and can
always add the povray depth later on. These are probably the users
that should know how to do this anyway.

- The nice 2D double bonds should be shown exactly as it was in the
viewer. If it was turned off/on in the viewer it should be turned
off/on for povrayexport as well. For Maya and VRML it can be turned
off by default.

-- 
Greetings, Pim
http://www.molmod.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to