{"id":228,"date":"2011-02-22T14:13:03","date_gmt":"2011-02-22T14:13:03","guid":{"rendered":"http:\/\/www.funkboxing.com\/wordpress\/?p=228"},"modified":"2021-01-03T18:16:08","modified_gmt":"2021-01-03T18:16:08","slug":"physics-and-algorithm-based-animation","status":"publish","type":"post","link":"http:\/\/funkboxing.com\/wordpress\/?p=228","title":{"rendered":"Physics and Algorithm Based Animation"},"content":{"rendered":"<p>There&#8217;s a lot of Kinect-driven mocap development going on and that is fantastic. I also wanted to show off a couple of other animation tools out there. I&#8217;d like to see more physics and algorithmic animation tools available and I found a couple of very promising pieces of open-source software.<\/p>\n<p><a href=\"http:\/\/code.google.com\/p\/cartwheel-3d\/\" target=\"_blank\" rel=\"noopener noreferrer\">cartwheel-3d<\/a> &#8211; Physics Based Character Animation Framework<\/p>\n<p><a href=\"http:\/\/www.funkboxing.com\/wordpress\/wp-content\/uploads\/2011\/02\/cart-3d1.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-230\" title=\"cart-3d1\" src=\"http:\/\/www.funkboxing.com\/wordpress\/wp-content\/uploads\/2011\/02\/cart-3d1-300x187.jpg\" alt=\"\" width=\"300\" height=\"187\" \/><\/a><a href=\"http:\/\/www.funkboxing.com\/wordpress\/wp-content\/uploads\/2011\/02\/cart-3d2.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-231\" title=\"cart-3d2\" src=\"http:\/\/www.funkboxing.com\/wordpress\/wp-content\/uploads\/2011\/02\/cart-3d2-300x199.jpg\" alt=\"\" width=\"300\" height=\"199\" \/><\/a><br \/>\n<a href=\"http:\/\/www.arishapiro.com\/dance\/\" target=\"_blank\" rel=\"noopener noreferrer\">DANCE<\/a> &#8211; Dynamic Animation and Control Environment<\/p>\n<p><a href=\"http:\/\/www.funkboxing.com\/wordpress\/wp-content\/uploads\/2011\/02\/dance1.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-229\" title=\"dance1\" src=\"http:\/\/www.funkboxing.com\/wordpress\/wp-content\/uploads\/2011\/02\/dance1-300x212.jpg\" alt=\"\" width=\"300\" height=\"212\" \/><\/a><a href=\"http:\/\/www.funkboxing.com\/wordpress\/wp-content\/uploads\/2011\/02\/dance2.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-229\" title=\"dance2\" src=\"http:\/\/www.funkboxing.com\/wordpress\/wp-content\/uploads\/2011\/02\/dance2-300x212.jpg\" alt=\"\" width=\"300\" height=\"212\" \/><\/a><br \/>\nBoth can be used to create animation with a combination of physics and scripted control. The details of how they work are beyond me, but what they do is pretty amazing. Both are written in c++ but they both heavily use python for scripting and UI.<\/p>\n<p>&#8212;<\/p>\n<p>I am working with cartwheel-3d to try and use some of the features in Blender. I could try to work out a simple BVH exporter for cartwheel, or maybe an OSC server to send animation data to be recorded in Blender. Or simply try to use the functions direction in Blender. Still haven&#8217;t got that far. So far all I&#8217;ve done is compile cartwheel-3d. So I&#8217;ve included some notes on how I did it so if anyone else wants to work on this too they can get started easier.<\/p>\n<p>COMPILE NOTES:<br \/>\n-Basically I followed the instructions on the &#8216;<a href=\"http:\/\/code.google.com\/p\/cartwheel-3d\/wiki\/GettingStarted\" target=\"_blank\" rel=\"noopener noreferrer\">Get Started<\/a>&#8216; page for cartwheel-3d with a few important exceptions.<\/p>\n<p>COMPILING C++ : MS VStudioExpress2010<br \/>\n*no spaces in paths!<br \/>\n*lib folder in workspace ie. &#8220;C:workspacelib&#8221;<br \/>\n*glew32.dll and glut32.dll lib and lib in PATH variable<\/p>\n<p>-After getting repository and opening- VS2010 converts and messes up target and extensions. To fix this.<br \/>\n&gt;VIEW&gt;PROJECT PAGE&gt;CONFIGURATION PROPERTIES&gt;GENERAL&gt;<br \/>\n-Change Target Name from $(ProjectName) to _$(ProjectName)<br \/>\n-Change Target Extension to .pyd<br \/>\n-Repeat on all projects except ode and gls<br \/>\n-Repeat on debug and release<\/p>\n<p>-Make sure BROWSE INFORMATION is OFF on all projects<br \/>\n&gt;VIEW&gt;PROJECT PAGE&gt;CONFIGURATION PROPERTIES&gt;C\/C++&gt;BROWSE INFORMATION<br \/>\n&gt;ENABLE BROWSE INFORMATION &#8211; &#8220;NO&#8221;<\/p>\n<p>DEBUGGING PYTHON: ECLIPSE (CLASSIC) + PYDEV<br \/>\n-Open eclipse (classic)<br \/>\n-Install pydev<br \/>\n-Set interpreter to py26<br \/>\n-Make a copy of &#8216;cartwheel-3d&#8217; project folder- rename &#8216;simbicon&#8217;<br \/>\n-Install wxpython<br \/>\n-Install pyopengl<\/p>\n<p>-Got some error about Core.py returning _mod before assignment. not sure what I did to siz it- sorry. I remember I opened core.py in the editor to look for the error, then ran again and it worked&#8230; weird.<\/p>\n<p>&#8212;<\/p>\n<p>So that&#8217;s it for now. Hope to do something constructive with this.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s a lot of Kinect-driven mocap development going on and that is fantastic. I also wanted to show off a couple of other animation tools out there. I&#8217;d like to see more physics and algorithmic animation tools available and I found a couple of very promising pieces of open-source software. cartwheel-3d &#8211; Physics Based Character <a href='http:\/\/funkboxing.com\/wordpress\/?p=228' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,5,47],"tags":[28],"_links":{"self":[{"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/228"}],"collection":[{"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=228"}],"version-history":[{"count":1,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/228\/revisions"}],"predecessor-version":[{"id":2638,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/228\/revisions\/2638"}],"wp:attachment":[{"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=228"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}