GameKit: Irrlicht + Bullet + readblend + CMake
-
- Posts: 46
- Joined: Tue Oct 02, 2007 6:46 am
- Contact:
GameKit: Irrlicht + Bullet + readblend + CMake
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:
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
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:
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
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
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 ?
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
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
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]); */
}
}
}
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.
cool
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
-
- Posts: 46
- Joined: Tue Oct 02, 2007 6:46 am
- Contact:
Latest trunk uses Irrlicht-1.5, and FPS camera, VBOs.IrrNoob wrote:Any plans to release a gamekit with irrlicht 1.5?
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/listPosted: 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 ?
Hope this helps,
Erwin
http://code.google.com/p/gamekit/updates/listanoki 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
Thanks For This Great Kit
can we create vehicle that we can control in other blender scene?
hey
i put this into my engino. http://www.sourceforge.net/projects/agnostic