<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.16.1">
</HEAD>
<BODY>
Wov, that was fast!<BR>
<BR>
I will see if I can build blender from source today, currenlty on the stable Ubuntu-distribution - no bleeding edge here :)<BR>
<BR>
./Emanuel<BR>
<BR>
On Tue, 2008-02-12 at 15:49 +0100, Campbell Barton wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">just committed baking api. all are prefixed with bake*</FONT>
<FONT COLOR="#000000">all render.bake() - and render.bakeMode, bakeNormalSpace, bakeClear etc</FONT>

<FONT COLOR="#000000"><A HREF="http://www.blender.org/documentation/246PythonDoc/">http://www.blender.org/documentation/246PythonDoc/</A></FONT>
<FONT COLOR="#000000"><A HREF="http://www.blender.org/documentation/246PythonDoc/Render.RenderData-class.html">http://www.blender.org/documentation/246PythonDoc/Render.RenderData-class.html</A></FONT>
<FONT COLOR="#000000"><A HREF="http://www.blender.org/documentation/246PythonDoc/bpy_api_2_46.zip">http://www.blender.org/documentation/246PythonDoc/bpy_api_2_46.zip</A></FONT>

<FONT COLOR="#000000">On Feb 12, 2008 11:51 AM, Campbell Barton <<A HREF="mailto:ideasman42@gmail.com">ideasman42@gmail.com</A>> wrote:</FONT>
<FONT COLOR="#000000">> Just discussed this with caedes and brecht, we'll need this for</FONT>
<FONT COLOR="#000000">> apricot so I'll start working on this today, shouldn't take too long.</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> On Feb 12, 2008 9:45 AM, Emanuel Greisen <<A HREF="mailto:blender@emanuelgreisen.dk">blender@emanuelgreisen.dk</A>> wrote:</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> >  Hi Michael,</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> >  We have the exact same request for our content-pipeline. Currently we do</FONT>
<FONT COLOR="#000000">> > all the baking by hand, which is tiresome - thus leading to incomplete</FONT>
<FONT COLOR="#000000">> > results being accepted in the final game. I posted a question about this on</FONT>
<FONT COLOR="#000000">> > the forums:</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> >  <A HREF="http://www.blender.org/forum/viewtopic.php?t=12603">http://www.blender.org/forum/viewtopic.php?t=12603</A></FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> >  But there has been no reply. I also added this as a feature request to the</FONT>
<FONT COLOR="#000000">> > "what are you missing in the gamedev toolchain"-question on the apricot game</FONT>
<FONT COLOR="#000000">> > project, but it does not seem to be included in any todo-lists or anything.</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> >  <A HREF="http://apricot.blender.org/?p=37">http://apricot.blender.org/?p=37</A></FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> >  I have not had my hands real dirty with actual blender-coding (I only write</FONT>
<FONT COLOR="#000000">> > python plug-ins), so I don't think I can implement this fast enough for it</FONT>
<FONT COLOR="#000000">> > to make sense in our production. But i really am looking forward to this</FONT>
<FONT COLOR="#000000">> > feature being added as this will enable the writing of some real nice</FONT>
<FONT COLOR="#000000">> > model-exporting scripts.</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> >  ./Emanuel</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> >  On Sat, 2008-02-02 at 10:59 +0000, Michael Williamson wrote:</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> >  I'm currently working on a game project for Sony and am trying to use</FONT>
<FONT COLOR="#000000">> > blender for as much of the pipeline as I can.</FONT>
<FONT COLOR="#000000">> >  I've written some scripts to automate as much of the pipeline as I can but</FONT>
<FONT COLOR="#000000">> > am stumbling on automatically baking lightmaps</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> >  I'd really like to be able to do this. Theres a windows build on graphicall</FONT>
<FONT COLOR="#000000">> >   that has been modified to do this, but I'm wondering if the functionality</FONT>
<FONT COLOR="#000000">> > could be added to the svn version</FONT>
<FONT COLOR="#000000">> >  (I'm generally using linux 64bit)</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> > <A HREF="http://www.graphicall.org/builds/builds/showbuild.php?action=show&id=555">http://www.graphicall.org/builds/builds/showbuild.php?action=show&amp;id=555</A></FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> >  <A HREF="http://blenderartists.org/forum/showthread.php?t=92364">http://blenderartists.org/forum/showthread.php?t=92364</A></FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> >  the author had the following notes for usage:</FONT>
<FONT COLOR="#000000">> >  -Add a py function to call render Baking of the selected objects and is use</FONT>
<FONT COLOR="#000000">> > like this.</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> >  scn = Scene.GetCurrent()</FONT>
<FONT COLOR="#000000">> >  context = scn.getRenderingContext()</FONT>
<FONT COLOR="#000000">> >  context.renderBake()</FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> >  That's nice and simple! This functionality would be a big help.</FONT>
<FONT COLOR="#000000">> >  I tried to contact the original author to get a patch both in his thread</FONT>
<FONT COLOR="#000000">> > and through private message and have had no response</FONT>
<FONT COLOR="#000000">> >  Could someone add this functionality to blender python?</FONT>
<FONT COLOR="#000000">> > _______________________________________________</FONT>
<FONT COLOR="#000000">> > Bf-python mailing list</FONT>
<FONT COLOR="#000000">> > <A HREF="mailto:Bf-python@blender.org">Bf-python@blender.org</A></FONT>
<FONT COLOR="#000000">> > <A HREF="http://lists.blender.org/mailman/listinfo/bf-python">http://lists.blender.org/mailman/listinfo/bf-python</A></FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> > _______________________________________________</FONT>
<FONT COLOR="#000000">> > Bf-python mailing list</FONT>
<FONT COLOR="#000000">> > <A HREF="mailto:Bf-python@blender.org">Bf-python@blender.org</A></FONT>
<FONT COLOR="#000000">> > <A HREF="http://lists.blender.org/mailman/listinfo/bf-python">http://lists.blender.org/mailman/listinfo/bf-python</A></FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">> ></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">Bf-python mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:Bf-python@blender.org">Bf-python@blender.org</A></FONT>
<FONT COLOR="#000000"><A HREF="http://lists.blender.org/mailman/listinfo/bf-python">http://lists.blender.org/mailman/listinfo/bf-python</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>