7
\$\begingroup\$

I'm looking for a tool or script that takes a 3D object (any format) and makes multiple renders of it automatically (using a raytracer or other high-quality offline renderer). It would then save the output as a series of PNG files.

Example: let me render a car from angles 0,90,180,270 and save the images to car0.png, car1.png, car2.png and car3.png with a single command.

Is there such a tool?

\$\endgroup\$

3 Answers 3

5
\$\begingroup\$

How about POVRay? It's free and can be automated.

http://www.povray.org/documentation/view/3.6.0/792/

See this page for info on generating several different images:

http://www.povray.org/documentation/view/3.6.0/109/

\$\endgroup\$
4
  • \$\begingroup\$ Looking at that page, is it possible to set the camera angle as a parameter or would I have to generate a separate scene file for each? \$\endgroup\$ Jan 6, 2012 at 10:45
  • \$\begingroup\$ I haven't used it myself, but i guess the camera location is in the pov file, so you'd need to create as many files are there are camera locations. \$\endgroup\$ Jan 6, 2012 at 10:47
  • 3
    \$\begingroup\$ You can use the clock variable to automate it povray.org/documentation/view/3.6.0/109 \$\endgroup\$
    – Adam
    Jan 6, 2012 at 11:28
  • \$\begingroup\$ Aha! The clock variable looks like it's exactly what I need. Thanks! \$\endgroup\$ Jan 6, 2012 at 12:32
2
\$\begingroup\$

Checkout Blender, it's an OSS 3D modeling and animation suite scriptable with Python

\$\endgroup\$
1
  • \$\begingroup\$ There is a nice tutorial for Blender on TigSource \$\endgroup\$
    – thalador
    Apr 9, 2013 at 15:08
0
\$\begingroup\$

3D Studio Max ,

Maya

Both are quite expensive though

\$\endgroup\$
2
  • \$\begingroup\$ You forgot to mention that both can be scripted, using MaxScript for 3ds max, MEL or Python for Maya. I've written scripts to do this exact task. \$\endgroup\$
    – jhocking
    Jan 6, 2012 at 13:01
  • \$\begingroup\$ Thanx for the comment, I knew scripting was possible to some degree, but not that it would be possible to do exactly this \$\endgroup\$
    – Thomas
    Jan 7, 2012 at 16:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .