[Bf-python] Render baking with python.

Emanuel Greisen eg at gamalocus.com
Wed Feb 20 09:34:33 CET 2008


Wov, that was fast!

I will see if I can build blender from source today, currenlty on the
stable Ubuntu-distribution - no bleeding edge here :)

./Emanuel

On Tue, 2008-02-12 at 15:49 +0100, Campbell Barton wrote:

> just committed baking api. all are prefixed with bake*
> all render.bake() - and render.bakeMode, bakeNormalSpace, bakeClear etc
> 
> http://www.blender.org/documentation/246PythonDoc/
> http://www.blender.org/documentation/246PythonDoc/Render.RenderData-class.html
> http://www.blender.org/documentation/246PythonDoc/bpy_api_2_46.zip
> 
> On Feb 12, 2008 11:51 AM, Campbell Barton <ideasman42 at gmail.com> wrote:
> > Just discussed this with caedes and brecht, we'll need this for
> > apricot so I'll start working on this today, shouldn't take too long.
> >
> >
> > On Feb 12, 2008 9:45 AM, Emanuel Greisen <blender at emanuelgreisen.dk> wrote:
> > >
> > >  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
> > >
> > >
> > >
> > > _______________________________________________
> > > Bf-python mailing list
> > > Bf-python at blender.org
> > > http://lists.blender.org/mailman/listinfo/bf-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/20080220/318ede65/attachment.html>


More information about the Bf-python mailing list