GameKit: Irrlicht + Bullet + readblend + CMake

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
erwincoumans
Posts: 46
Joined: Tue Oct 02, 2007 6:46 am
Contact:

GameKit: Irrlicht + Bullet + readblend + CMake

Post by erwincoumans »

This alpha version of GameKit can read a .blend file from Blender 3D modeler directly, just drag a .blend over the executable.
It uses a small readblend library that can extract arbitrary information directly from a .blend file. Right now it can extract meshes, camera position, textures and physics/collision detection information. Screenshot of Club Silo running in GameKit is here:

Image

You can download source code and precompiled Windows executable preview here:
http://code.google.com/p/gamekit/downloads/list

It uses Irrlicht 1.5, Bullet Physics SDK 2.74 and readblend. Windows projectfiles are included, as well as CMake build system support for cross-platform building. Currently only Windows and Mac OSX are supported, Linux and iPhone are planned.

Feedback is welcome.
Enjoy,
Erwin
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Post by Nadro »

Great work Erwin! It looks like very usefull app.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
anoki
Posts: 58
Joined: Fri May 05, 2006 8:31 am

Post by anoki »

Hey this looks really great .
The Demo works with no problems.
Gelu
Posts: 3
Joined: Fri Dec 12, 2008 4:42 pm

Post by Gelu »

Totally awesome dude!
IrrNoob
Posts: 110
Joined: Sun Nov 16, 2008 8:01 pm
Location: Fort Collins, Us

Post by IrrNoob »

Any plans to release a gamekit with irrlicht 1.5?
netpipe
Posts: 670
Joined: Fri Jun 06, 2008 12:50 pm
Location: Edmonton, Alberta, Canada
Contact:

hey :)

Post by netpipe »

i cant understand it, only your blend files work with this it wont read any of mine from 64 bit linux 2.48 blender. what version were you using ?

running the testreader shows this.
(gdb) bt
#0 0x00000000004078f6 in blend_read ()
#1 0x0000000000400e03 in main ()
(gdb)

to test my blender files out use this blend file



after a bit of putting fprintf's all over the segfault was comming from htere

Code: Select all

 
  fprintf(stderr, "reading the STRC table\n");
 
  MY_SEEK(file, strc_offs);
 
  {
 
    int i,j;
 
    for (i=0; i<strc_ents; ++i) {
 
      unsigned short struc_type_index, num_fields;
 
      struc_type_index = read_ushort(file);
 
      num_fields = read_ushort(file);
 
      bf->types[struc_type_index].is_struct = 1;
 
      EXPANDO(bf->strc_indices, struc_type_index);
 
      /*dprintf(stderr, "\n%s: ", bf->types[struc_type_index].name); */
 
      for (j=0; j<num_fields; ++j) {
 
    unsigned short ftype = read_ushort(file);
 
    unsigned short fname = read_ushort(file);
 
    EXPANDO(bf->types[struc_type_index].fieldtypes, ftype);
 
    EXPANDO(bf->types[struc_type_index].fieldnames, fname);
 
    /*dprintf(stderr, "%s %s ,  ", bf->types[ftype].name, bf->names[fname]); */
 
      }
 
    }
 
  }
 
it seems to work good till it hits GPdata
after commenting out dprintf i get

bGPdata: ListBase layers , int flag , short sbuffer_size , short sbuffer_sflag , void *sbuffer , Segmentation fault
Last edited by netpipe on Sun May 31, 2020 4:54 pm, edited 4 times in total.
netpipe
Posts: 670
Joined: Fri Jun 06, 2008 12:50 pm
Location: Edmonton, Alberta, Canada
Contact:

cool

Post by netpipe »

http://www.xup.in/dl,12216820/IRRBulletBlend.7z << here is how i got it to compile on linux, first cmake . the bullet then use the CB project for gamekit
dlangdev
Posts: 1324
Joined: Tue Aug 07, 2007 7:28 pm
Location: Beaverton OR
Contact:

Post by dlangdev »

I'm a big Blender fan and seeing this demo is definitely a big help and an addition to my toolbox. Thanks for the Demo, really appreciate it.

Image
Image
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

looks good. keep it up.
dlangdev
Posts: 1324
Joined: Tue Aug 07, 2007 7:28 pm
Location: Beaverton OR
Contact:

Post by dlangdev »

Here's another screenshot from compiled code...

Image
Image
erwincoumans
Posts: 46
Joined: Tue Oct 02, 2007 6:46 am
Contact:

Post by erwincoumans »

IrrNoob wrote:Any plans to release a gamekit with irrlicht 1.5?
Latest trunk uses Irrlicht-1.5, and FPS camera, VBOs.
Posted: Sat May 30, 2009 6:29 pm Post subject: hey :)
i cant understand it, only your blend files work with this it wont read any of mine from 64 bit linux 2.48 blender. what version were you using ?
It is easy to make it work: just load the 64-bit/big-endian .blend file in a Blender version running on 32-bit little-endian system and save it again. If anyone has a patch to directly read 64-bit/big-endian .blend files, please share it on http://code.google.com/p/gamekit/issues/list

Hope this helps,
Erwin
anoki
Posts: 58
Joined: Fri May 05, 2006 8:31 am

Post by anoki »

Hello,

are there any news about the gamekit with irrlicht ?
The project looks really promising for irrlicht and blender.
I am really curious what`s new ...

Anoki
Vox
Posts: 47
Joined: Fri Apr 01, 2005 5:25 pm

Post by Vox »

anoki wrote:Hello,

are there any news about the gamekit with irrlicht ?
The project looks really promising for irrlicht and blender.
I am really curious what`s new ...

Anoki
http://code.google.com/p/gamekit/updates/list
neoncore
Posts: 14
Joined: Wed Jun 10, 2009 9:09 am

Thanks For This Great Kit

Post by neoncore »

can we create vehicle that we can control in other blender scene?
netpipe
Posts: 670
Joined: Fri Jun 06, 2008 12:50 pm
Location: Edmonton, Alberta, Canada
Contact:

hey

Post by netpipe »

Post Reply