In the contributed section of vpython.org there is a new version of the
POV-Ray export module, povexport-2009-06-14.zip, that lets you export a
VPython scene to POV-Ray, which can generate a high-resolution
ray-traced version of the image.
You have always been able to specify that a scene be "shadowless", which
meant that lights didn't cast shadows. What's new is that you can now
you can be more selective by specifying "no_shadow=1" as an attribute
for individual objects in your VPython scene. Any VPython object which
has the attribute "no_shadow=1" won't cast a shadow in POV-Ray.
Also, in the new povexport module there's a minor fix to handle
arrow.fixedwidth correctly.
Bruce Sherwood
|