[Bf-python] scn.render.render() doesn't work with yafray when called from a command line script.
Dietrich Bollmann
diresu at web.de
Wed Aug 15 09:22:11 CEST 2007
Hi,
When trying to render the default scene with yafray from the command
line, only a white image is generated. Using the [RENDER] button
directly after the image is rendered correctly.
I used the command
blender -P render.py
with 'render.py' being as follows:
import Blender
scn = Blender.Scene.GetCurrent()
scn.render.renderer = Blender.Scene.Render.YAFRAY
scn.render.render()
Do I have to do something else to make yafray render correctly?
Thanks,
Dietrich
More information about the Bf-python
mailing list