Live data from Hacker News

Things You Can Do with Python and POV-Ray

zulko.github.io

1–10 of 26 posts

Re: Things You Can Do with Python and POV-Ray

#2
I enjoyed this article but I think it's worth pointing out that for simple animations like those shown in example 1 you may not even need Python - POVRay lets you use clock-dependent variables in your scene files and then set off a batch render.

http://wiki.povray.org/content/HowTo:Create_animations http://wiki.povray.org/content/HowTo:Encode_animations_as_Og...

Re: Things You Can Do with Python and POV-Ray

#6
It is interesting to hear that the author would prefer Blender over POV-ray in some way, and there are links in the comments to make that work (in terms of running Blender in a headless-like way).

I wonder if there are good resources to create Blender scenes in Python with the full rendering step.

Re: Things You Can Do with Python and POV-Ray

#7
post #4

OT: Having a python interface to Blender would be amazing.

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?

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

#8
post #4

OT: Having a python interface to Blender would be amazing.

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?

It would be pretty easy to make a blender plugin that pipes stuff to blender's internal python console.

Re: Things You Can Do with Python and POV-Ray

#9
POV-ray is cool. I remember first using it back in high school when one of my friends introduced me to it. Back in the day, it was a total blessing for me as using a 3D modeling software would COMPLETELY slow down my Intel Celeron powered PC. :-)

Now, this tutorial gives me a good excuse to try out POV-ray once again...

Re: Things You Can Do with Python and POV-Ray

#10
post #4

OT: Having a python interface to Blender would be amazing.

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.

Post reply on HN