Re:Things You Can Do with Python and POV-Ray
by bhouston on Monday December 01, 2014 @09:39AM
(#8681156)
OT: Having a python interface to Blender would be amazing.
[ Parent
| on HN ]
Re:Things You Can Do with Python and POV-Ray
by agentultra on Monday December 01, 2014 @09:42AM
(#8681184)
As linked by the OP: https://developer.blender.org/T22328
I think that's kind of silly. What if I am a Blender user and want to do some batch-manipulations using an external script?
Yeah, the bug report response is a little silly.
But the OP's complaint is also a little silly, given that his Vapory library works by writing a temporary scene file, then running the POVRay renderer executable to generate an image file. The same technique can be done with any renderer with a standalone executable, which includes Blender -- you don't need direct access to Blender's internal Python API.
In Blender's case, you might need to write a library to author .blend files, which is non-trivial. But it might also be possible to use Blender's .py script files as an ad-hoc scene description format.
Re:Things You Can Do with Python and POV-Ray
by mcphage on Monday December 01, 2014 @10:21AM
(#8681447)
Plus, isn't "Blender is for Blender users" kinda redundant? If you're using Blender through an API, you're still a 'Blender user'.
Re:Things You Can Do with Python and POV-Ray
by lotsofmangos on Monday December 01, 2014 @10:27AM
(#8681488)
It would be pretty easy to make a blender plugin that pipes stuff to blender's internal python console.