Digital Anthology http://mpan3.homeip.net/ A Blender related site en-us Depth of Field http://mpan3.homeip.net/perma/0807031619_Depth_of_Field <p>&nbsp;</p> <p>Teasers first, details will emerge shortly.</p> <p>&nbsp;</p> <p><img src="../content/blog/img/dof.jpg" alt="" /></p> <p>&nbsp;</p> <p><img src="../content/blog/img/dof2.jpg" alt="" /></p> <p>&nbsp;</p> <p>Rest assured what you are seeing is REALTIME and running under Blender 2.46 SVN.&nbsp; Sample files, videos, and source codes to follow.</p> http://mpan3.homeip.net/perma/0807031619_Depth_of_Field Video of OceanViz in action http://mpan3.homeip.net/perma/0806201210_Video_of_OceanViz_in_action <p>&nbsp;</p> <p>&nbsp;</p> <p>Sorry I've been pretty busy recently and hence did not find many opportunity to post new entries.&nbsp; Meanwhile, here is a video that documents the <a href="http://on10.net/blogs/tina/Creating-virtual-databases/">OceanViz project</a> using the Blender Game Engine.&nbsp; <a href="http://mschnlnine.vo.llnwd.net/d1/on10/8/6/5/2/2/Ocean_on10.mp4">Direct MP4 Download</a></p> <p>&nbsp;</p> <p>It goes into the backend of the visualization quiet a bit, and you can see how everything fits together nicely.&nbsp; What you are seeing is a rather old iteration of the release, the current file already looks and performs so much better.</p> <p>&nbsp;</p> <img src="http://mpan3.homeip.net/content/blog/img/fish.jpg"> <p>&nbsp;</p> http://mpan3.homeip.net/perma/0806201210_Video_of_OceanViz_in_action random thoughts on the OceanViz project http://mpan3.homeip.net/perma/0805202332_random_thoughts_on_the_OceanViz_project <p><strong>On using beta software:</strong><br />As any seasoned Blender user would know, the Game Engine is in a constant state of flux, between the sporradic, and often poorly documented, improvements and the long promised overhaul, it is sometimes difficult to keep up with everything that is going on in the source code.<br /><br />Because of this, for the <a href="../perma/0805122213_What_I_am_up_to">OceanViz</a> project, we decided early on that we would stay on top of things by developing the game on SVN and RC builds.&nbsp; While the decision will certainly be frowned upon by any 'real' developers, this is a concious decision that proved to be beneficial so far, as there is some significant speed/feature improvement between version 2.45 and 2.46.&nbsp; Plus, doing a lot of small changes to make sure the blender file is up-to-date with the latest version of blender is always better than trying to resolve all the new issues in one go.</p> <p>&nbsp;</p> <p>Hey, if <a href="http://apricot.blender.org/">Apricot</a> is developing codes as they go, maybe using RC release for real work isn't that dangerous after all.</p> <p>&nbsp;</p> <p><img src="../content/blog/img/ocean4.jpg" alt="Blender Ocean Sim" /></p> <small>Screenshot of the work-in-progress OceanViz.</small> <p><br /><strong>On version control:</strong><br />Blender file is a self-contained binary file that does not work very effectively with revision control systems such as CVS or SVN.&nbsp; With several people having write access to the blender file, we had to improvise and pull out as much stuff as possible from the main blender file.&nbsp; Textures, Video and Audio are the first to get pulled out, packing is somethine one should do only for a real release anyways.&nbsp; We also decided to seperate all the python scripts from the blender file, and use a simple 'hook' to load the scripts:</p> <p>&nbsp;</p> <pre>import myscripts</pre> <pre>myscripts.run()</pre> <p><br />then the external scripts (myscripts.py) will look like this:</p> <pre>def run():</pre> <pre> print "foo"</pre> <pre> print "bar"</pre> <p><br />I guess we could have gone one step further and utilize the 'Link' Function to dynamically merge several files into the main blender file.&nbsp; But so far, that doesn't seems to be necessary.<br /><br />It would be interesting to hear what professional studios like the Blender Institute do to manage large projects.</p> <p>&nbsp;</p> http://mpan3.homeip.net/perma/0805202332_random_thoughts_on_the_OceanViz_project What I am up to http://mpan3.homeip.net/perma/0805122213_What_I_am_up_to <p>What do I, a Computer Engineering Undergrad from Canada, and an architecture and urbanism undergrad from Brazil have in common? We are both working at Canada's University of British Columbia Fisheries Centre doing data visualization using Blender:</p> <p><img src="/content/blog/img/ocean2.jpg" alt="Lenfest Ocean Future Project Ocean visualization project" /></p> <small>This is no Finding Nemo, but hey it is in realtime!</small><br/><br/> <p><a href="http://www.blendernation.com/2008/04/09/fish-population-data-visualisation-internships-at-great-northern-way-campus-vancouver/">BlenderNation </a>ran an article on this project a while back, in a nutshell the Fisheries Centre wants to use scientific simulation data to drive a realistic 3d visualization of an underwater ecosystem.&nbsp; A complex simulation program provides Blender with the fish population and other environment variables, Blender uses this data to display an animated view of the ocean in realtime.&nbsp; A <a href="http://mdm.gnwc.ca/?q=blog/20080328/collaborative-data-visualization">team of 6 </a>had been working on it for the past few month.&nbsp; <a href="http://blenderecia.orgfree.com/ ">Dalai Felinto</a> and I are fortunate enough to step in and take over the Blender component of the project.</p> <br/> <p>I have worked with UBC for just over a week on this project, but I am developing even more respect for the do-it-all philosophy of Blender.&nbsp; It is a joy to have the prototyping, modeling, texturing, animation, game design and python scripting functionality all accessible within a single UI.&nbsp; I am happy because I don't have to learn 20 different applications.&nbsp; My employer is happy too because productivity is through the roof!&nbsp; I don't even think Hollywood production is this streamlined.</p> <br/> <p>Another aspect of this project that excites me is the fact that I have never seen the Blender GameEngine pushed so far.&nbsp; AI, culling, flocking, GLSL, LOD, network, UI, sound, XML parser, we got all that.</p> <p><img src="/content/blog/img/ocean1.jpg" alt="underwater visualization" /></p> <small>Swimming in dangerous water</small><br/><br/> <br/> <p>Blender is without its flaws.&nbsp; Because of the nature of this project, the focus is on automation and dynamic generation of entities.&nbsp; With about 2000 lines of python code that is executed roughly 30 times a second to ensure an independent AI for each fish; ~100,000 triangles on screen at any given time; we are seeing some serious performance bottlenecks.&nbsp; Python can't be easily parallelized, duplicate objects can't be batched, and there is currently no support for DDS texture compression.&nbsp; So far, we are managing fine, but I can't stop asking myself the 'what if blender...?' questions. <br /> <br />Of course, with all the features that <a href="http://apricot.blender.org/">Project Apricot</a> promises to deliver, we will definetly see significant improvement in the Blender GameEngine before the end of the summer. &nbsp;<br /><br /></p> <p>And lastly, here is a video teaser of what we have done. Remember this is REALTIME stuff!</p> <p><a href="http://video.google.com/videoplay?docid=1534529108915875646"><img src="/content/blog/img/ocean3.jpg" alt="" /></a></p> Stay tuned. I'll keep you informed! <br/><br/> http://mpan3.homeip.net/perma/0805122213_What_I_am_up_to Looking for talents http://mpan3.homeip.net/perma/0805052123_Looking_for_talents <p>Recently BlenderNation ran an article on <a href="http://www.blendernation.com/fish-population-data-visualisation-internships-at-great-northern-way-campus-vancouver">University of British Columbia</a>'s (Vancouver, Canada) data visualization project that uses Blender as the main tool to render a dynamic fish population based on scientific driven simulation data.</p> <br/> <p>At the time, they were looking for a summer intern to to oversee the Blender - <a href="http://www.ecopath.org/">EwE</a> integration, and I was fortunately enough to be that person.&nbsp; Now UBC is expanding the arena to render terrestrial aspect of the data visualization and is looking for more Blender experts to coordinate this effort.&nbsp; The University is looking for people to work full or half time experts for this summer who are proficient with Blender GameEngine and Python. Understanding of VB.Net is a bonus.<br /> <br /> Based in Vancouver is a plus but not necessary. If interested, please send an email to me at <b>madonions@gmail.com</b></p> <p>&nbsp;</p> http://mpan3.homeip.net/perma/0805052123_Looking_for_talents no time for haiku. http://mpan3.homeip.net/perma/0804092314_no_time_for_haiku. <p>Most of the time I come up with a scene idea, put it off for 2 month. Get half-way through.&nbsp; Stops.&nbsp; Resuming working on it a full 6 month later, and grind out the final product after the earth has completed a full rotation around the sun.&nbsp; Very occasionally, the celestial bodies just line up for the perfect shot, without any earthly intervention.</p> <p>This is what I set out to create(and I did, in the end):</p> <p><img src="../content/misc/col.jpg" alt="" /></p> <p>But this is what turned out first when I changed the color of the sky and added a halo lamp:</p> <p><img src="../content/misc/bw.jpg" alt="" /></p> <p>Don't you miss winter already?</p> <br/><br/> http://mpan3.homeip.net/perma/0804092314_no_time_for_haiku. Even faster Blender. http://mpan3.homeip.net/perma/0804011950_Even_faster_Blender. <p>Now compiled with VS9 (aka Visual Studio 2008).</p> <p><img src="../content/misc/benchmark.png" alt="" width="359" height="220" /></p> <p>Get it from <a href="http://graphicall.org/builds/builds/showbuild.php?action=show&amp;id=622">Graphicall.org</a></p> <p>&nbsp;</p> http://mpan3.homeip.net/perma/0804011950_Even_faster_Blender. Site Migration (again) http://mpan3.homeip.net/perma/0803182236_Site_Migration_(again) <p>Hello all.&nbsp; I was bored enough to go through with another website re-design this week.&nbsp; As a result, many pages might get displaced or deleted.&nbsp; I tried my best to minimize navigation problems, but if you find anything strange, please drop me a comment.</p><br/><br/><br/> http://mpan3.homeip.net/perma/0803182236_Site_Migration_(again)