[Bf-python] Re: [Bf-committers] python callbacks

dunk at dunkfordyce.co.uk dunk at dunkfordyce.co.uk
Wed Jan 7 01:43:03 CET 2004


at the moment i have :

Render.Render(anim=bool) to render an image or animation. this uses the function BIF_do_render(anim).

Render.WriteImage(filename) to save a rendered image using write_image(fn) ( well a ssmall variation that does not prompt to overwrite

Render.HideOutput() which calls mainwindow.raise() and then mainwindow_make_active().

I realise all this may be hideously wrong but it works for me ;) i would like to be able to render an image/anim without the render window but havent delved that far yet. 

i was also trying to get the "render state". i think this is in the global var R.flag? but it doesnt seem to work so i need to look at that more.

------------------------------------------------

http://30bentham.homelinux.org
http://www.dunkfordyce.co.uk



More information about the Bf-python mailing list