[Bf-python] Render baking with python.

Emanuel Greisen blender at emanuelgreisen.dk
Tue Feb 12 09:45:37 CET 2008


Hi Michael,

We have the exact same request for our content-pipeline. Currently we do
all the baking by hand, which is tiresome - thus leading to incomplete
results being accepted in the final game. I posted a question about this
on the forums:

http://www.blender.org/forum/viewtopic.php?t=12603

But there has been no reply. I also added this as a feature request to
the "what are you missing in the gamedev toolchain"-question on the
apricot game project, but it does not seem to be included in any
todo-lists or anything.

http://apricot.blender.org/?p=37

I have not had my hands real dirty with actual blender-coding (I only
write python plug-ins), so I don't think I can implement this fast
enough for it to make sense in our production. But i really am looking
forward to this feature being added as this will enable the writing of
some real nice model-exporting scripts.

./Emanuel


On Sat, 2008-02-02 at 10:59 +0000, Michael Williamson wrote:

> I'm currently working on a game project for Sony and am trying to use
> blender for as much of the pipeline as I can.
> I've written some scripts to automate as much of the pipeline as I can
> but am stumbling on automatically baking lightmaps
> 
> I'd really like to be able to do this. Theres a windows build on
> graphicall
>  that has been modified to do this, but I'm wondering if the
> functionality could be added to the svn version 
> (I'm generally using linux 64bit)
> 
> http://www.graphicall.org/builds/builds/showbuild.php?action=show&id=555
> 
> http://blenderartists.org/forum/showthread.php?t=92364
> 
> 
> the author had the following notes for usage:
> -Add a py function to call render Baking of the selected objects and
> is use like this.
> 
> 
> 
>         scn = Scene.GetCurrent() 
>         context = scn.getRenderingContext() 
>         context.renderBake()
> 
> 
> That's nice and simple! This functionality would be a big help.
> I tried to contact the original author to get a patch both in his
> thread and through private message and have had no response
> Could someone add this functionality to blender python?
> 
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://lists.blender.org/mailman/listinfo/bf-python
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20080212/087d5d4e/attachment.html>


More information about the Bf-python mailing list