Results 1 to 15 of 15
  1. #1

    Addon, control gameengine objects and videoplayback from the blender ui

    I've started to wite an addon, which allows to control objects and videoplayback in the gameengine from the blender gui by using OSC (pyOSC). I call it BLive.

    Possible applications are Videomapping and Projections on stages.

    History of this project:

    Last year I used the bge for projections in a small dance project. The bge was controlled by puredata and OSC. It turned out, that the setup of the gamelogic was too complicated for that purpose. So I decided to use the blender ui to control the bge. Here's a first screenshot:

    BLive-2012-04-29-17:13:52.png

    You can move, rotate, scale change colors and edit vertex coords of objects. Animatons / Actions can be setup and changed in blender and will be send immediately, no need to setup or change the gamelogic for this and restart the gameengine. The videoplayback is triggered from timelinemarkers. This makes setting up a playlist on a plane with in and outfades very easy.

    At the moment the code is not more then a proof of concept. You can get it from:

    http://github.com/offtools/BLive

    download: https://github.com/offtools/BLive/archive/master.zip

    small demofile: https://github.com/downloads/offtools/BLive/demo.blend

    If you grab the source from git, you have to rename BLive-master in the zip archive to blive, otherwise it will not work.

    offtools.
    Last edited by offtools; 04-Dec-12 at 05:23.



  2. #2

    short demo video

    BLive Test:

    Last edited by offtools; 30-Apr-12 at 18:55.



  3. #3
    Member JohnnyBlack's Avatar
    Join Date
    Nov 2009
    Location
    Earth>Romania
    Posts
    1,777
    Wow, that's quite a cool addon.
    One question though: Does it works in viewport and bge too?



  4. #4
    Member dfelinto's Avatar
    Join Date
    Jun 2005
    Location
    Rio de Janeiro, Brasil
    Posts
    641
    Nice project and application, congrats
    www.dalaifelinto.com - @dfelinto
    Game Development with Blender [released June 2013]
    Latest BGE Project: Dome+Cosmic Rays+Blender = Cosmic Sensation (2010):BN - files - presentation



  5. #5

    wow

    I work exactly in the same

    My problem is to interact with de BGE in live mode too, but I don't understand very well how you do it.
    Did I need to put all the pyhton scripts in a blive folder, and after in the blender scripts folder?

    I still tryiing

    Amazing!!



  6. #6
    Hi,

    sorry for delay. A quick answer: yes. If you run a animation or simply move object, its visible in blender and the bge.



  7. #7
    Originally Posted by BlendingBGE View Post
    Wow, that's quite a cool addon.
    One question though: Does it works in viewport and bge too?
    Hi,

    sorry for delay. A quick answer: yes. If you run a animation or simply move object, its visible in blender and the bge.



  8. #8
    Hello,

    I updated the addon and switched from pyliblo to pyosc (https://gitorious.org/pyosc/devel/commits/python3). I added the OSC module directly into the addon, it should work now without external depencies on all plattforms. I couldnt check it . It would be great to get some feedback from windows or mac users.



  9. #9
    Member
    Join Date
    Aug 2011
    Location
    Sweden
    Posts
    468
    I've put the "BLive-master" folder in the addons-folder of my 2.63a for win 32 install. It shows up in the list, but it's one of those cases where nothing happens when I click the checkbox. It doen't get checked.

    The project is very interesting, this sort of stuff is why I want to learn BGE though I'm not really interested in making games. And makes me want to introduce Blender to artschooly artists, though they're not necessarily interested in digital 3d in general.
    "...or am I just missing something obvious?"



  10. #10
    I'm not sure if it works with 2.63, I used 2.64. Start Blender from the commandline. Most of the python error goes their.
    If you want you can send me the output. I can try the addon under windows next week.
    (One other thing: rename BLive-master.zip to BLive)



  11. #11
    Member
    Join Date
    Aug 2011
    Location
    Sweden
    Posts
    468
    I just chose 2.63 based on the original instructions, maybe should have realized you're keeping it current.
    Anyway... went with 2.64a and renamed the addon folder to BLive.
    This is what I get in the console when clicking the addon-checkbox

    Traceback <most recent call last>:
    File "D:\[filepath]\2.64\scripts\modules\addon_utils.py", line 264, in enable
    mod = __import__<module_name>

    File "D:\[filepath]\2.64\scripts\addons\BLive\__init__.py", line 57, in <module>
    from . import logic
    ImportError: cannot import name logic
    "...or am I just missing something obvious?"



  12. #12
    I fixed it for windows.
    Last edited by offtools; 20-Nov-12 at 08:05.



  13. #13
    I connected the QLightcontroller, OLA with the OLA OSC Plugin and Blender to run a simple Lighting Visualisation Test. I think I will move this to a separate addon later, because OLA is not platform-independent. Here's a video.




    offtools
    Last edited by offtools; 20-Dec-12 at 12:50.



  14. #14
    hello, first off all.. really great work, finally Video mapping in the BGE, All that I have dreamed
    I Have tried to download the demo.blend file but no luck, can you please share it again.
    Many thanks,



  15. #15
    Hello,

    sory for the late post. I added a Wiki which describes how to use addon. A recent demofile will come soon.

    Wiki:
    https://github.com/offtools/BLive/wi...l:-setup-BLive

    offtools



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •