[Bf-python] some missing things from the api

Austin Benesh bfdeveloper at gmail.com
Sat Apr 30 20:50:42 CEST 2005


Hi Campbell,

My work on the Blender.Image module will allow a person to set the pixel
values of an image buffer and then save that to an image. However, I don't
know if there is any work on the Render part of the API. That will need some
help.

-- Austin

-----Original Message-----
From: bf-python-bounces at projects.blender.org
[mailto:bf-python-bounces at projects.blender.org] On Behalf Of Campbell Barton
Sent: Saturday, April 30, 2005 10:05 AM
To: Blender Foundation Python list
Subject: [Bf-python] some missing things from the api

Hi, there are 2 missing functions in the Python API

1) Texture accsess in world data
2) it is impossible to render an image and save it to a name you want.
...render is only possible with renderAnim which adds numbers  to the image.
...the only solution is to render the animation as 1 frame and then 
rename it
(requiring the os module, and sombody to have a python install), 
impracticle fopr such a simple feature.

# This renames a newly rendered file, requires the os module.
    os.rename( sys.expandpath(outfile+'#'), outfile )

- Cam
_______________________________________________
Bf-python mailing list
Bf-python at projects.blender.org
http://projects.blender.org/mailman/listinfo/bf-python




More information about the Bf-python mailing list