On the home page of vpython.org is a new version of povexport, the
module which lets you export a VPython scene as a POV-ray file, from
which POV-ray can make a high-quality ray-traced scene.
The only new feature as far as Visual 3 is concerned is that it now
handles ellipsoids. But the major development is that it is compatible
both with Visual 3 and the upcoming Visual 5, with support in the latter
case for transparency and local lights.
I'll mention that there has been available for some time in povexport an
option to specify "shadowless" operation by POV-ray (don't create
shadows). Here is sample usage:
...code to make a scene, then:
from povexport import export
export(scene, shadowless=True)
Bruce Sherwood
|