irrBullet 0.2.0

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki

irrBullet 0.2.0

Postby bkeys » Mon May 09, 2016 5:29 am

Image

irrBullet 2.0 is an attempt at me and my friend Nicolas Ortega to revive the irrBullet wrapper by making the code more stable and better documented. Here are some of the things we still have to do
    Add to the examples on how to create a vehicle that is not a tank (has wheels and the bouncy suspension everyone loves)
    The Doxygen documentation could be a bit nice
    Create a video tutorial as well as text ones and publish them alongside the Irrlicht tutorials
Other than that this is going to be your same old irrBullet, it is licensed under the GNU GPL v3. We are always looking for contributors so if you have any examples feel free to add them and I would be glad to attribute you.
The source code is being hosted here:
https://github.com/CollectiveTyranny/irrBullet
Last edited by bkeys on Tue May 10, 2016 5:47 pm, edited 1 time in total.
- Brigham Keys, Esq.
User avatar
bkeys
 
Posts: 42
Joined: Sat Feb 27, 2016 9:06 pm

Re: irrBullet 2.0

Postby AReichl » Mon May 09, 2016 7:21 am

Yeehaa!
I have a small wishlist for IrrBullet:
1) moving the point of world-origin ( i think Bullet has a funktion for that ).
2) compile Bullet ( and IrrBullet ) with double-support ( i know i know - evryone tells me that it does not make sense, because the final grafics stage is still working with float, but there are situations where it can make life easier ).

Another question: here you write about version 2.0, but the readme says version 0.2.0 ?
AReichl
 
Posts: 227
Joined: Wed Jul 13, 2011 2:34 pm

Re: irrBullet 2.0

Postby bkeys » Mon May 09, 2016 5:32 pm

AReichl wrote:Yeehaa!
I have a small wishlist for IrrBullet:
1) moving the point of world-origin ( i think Bullet has a funktion for that ).
2) compile Bullet ( and IrrBullet ) with double-support ( i know i know - evryone tells me that it does not make sense, because the final grafics stage is still working with float, but there are situations where it can make life easier ).

Another question: here you write about version 2.0, but the readme says version 0.2.0 ?

I never get this stuff right on the first try I will go through and clean a lot of this stuff up today :x
1) If you know anything about that functionality it would be great if you contributed it to irrBullet.
2) What do you mean with double support?
We are in the process today of putting a build system on it (CMake) and trying to get it packaged and possibly submitting it in the repositories of Debian and Fedora. At first it will be a static library, however we want to look into making a dynamic version of it.
- Brigham Keys, Esq.
User avatar
bkeys
 
Posts: 42
Joined: Sat Feb 27, 2016 9:06 pm

Re: irrBullet 2.0

Postby AReichl » Tue May 10, 2016 8:33 am

With "double" i mean the C/C++ type 'double' ( instead of type 'float' ). You can compile Bullet with 'double' support, meaning all internal calculations are done with type 'double'. This should help to solve some precision problems. But let's forget this point, because for HUGE dimensions ( e.g. in a space game ) there are better ways to solve precision problems, and as far as i know, type 'double' is not even supported on all platforms ( e.g. XBox ).

About "moving the point of world-origin": This is of interest if you don't want to move the camera through the scene but instead move the scene around the camera ( so camera is always at position 0,0,0 ). In Irrlicht i can do that ( with a trick ) and i know it is possible in Bullet. I once saw a piece of code about it and i am still searching for it. If we are lucky it's only one more function in IrrBullet ( something like "setWorldOrigin( X, Y, Z )" ).
AReichl
 
Posts: 227
Joined: Wed Jul 13, 2011 2:34 pm

Re: irrBullet 2.0

Postby Locien » Tue May 10, 2016 12:50 pm

If you compile Bullet with the preprocessor BT_USE_DOUBLE_PRECISION it uses doubles internally for all calculations instead of floats. Basically it changes vectors, scalars, et.c into double. This makes raycasts much more accurate among other things.
Locien
 
Posts: 25
Joined: Wed Jul 10, 2013 2:43 am

Re: irrBullet 0.2.0

Postby devsh » Tue May 10, 2016 7:58 pm

Doubles are a really bad idea, trust us :D

Unless you have an AVX CPU with 256bit registers, then by all means go ahead
We chose to stream mesh data from Multiple OpenGL Contexts in many threads and do the other things, not because they are easy, but because they are hard! - JFK
User avatar
devsh
Competition winner
 
Posts: 1736
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK

Re: irrBullet 0.2.0

Postby The_Glitch » Wed May 18, 2016 6:18 pm

Great.
I have not implemented physics into my app but It's on my list nice to see things will be more up to date.
User avatar
The_Glitch
Competition winner
 
Posts: 521
Joined: Tue Jan 15, 2013 6:36 pm

Re: irrBullet 0.2.0

Postby jorgerosa » Sat May 21, 2016 9:26 am

Great to see irrBullet alive again! Well done! :D
-I dont know if you received my sent URL, as you asked for, so I´ll post it here too. The ZIP file has all the models and code included, the CODE::BLOCKS project file is there too (all can be used freely, with no restritions at all, since all was made by me). Please download it now, since I will have to remove that file from that server as soon as possible. Download: (~13Mb) http://www.angelimoto.com/wp-content/up ... -SHARE.zip
User avatar
jorgerosa
Competition winner
 
Posts: 104
Joined: Wed Jun 30, 2010 8:44 am
Location: Portugal

Re: irrBullet 0.2.0

Postby bkeys » Sun May 22, 2016 2:04 am

jorgerosa wrote:Great to see irrBullet alive again! Well done! :D
-I dont know if you received my sent URL, as you asked for, so I´ll post it here too. The ZIP file has all the models and code included, the CODE::BLOCKS project file is there too (all can be used freely, with no restritions at all, since all was made by me). Please download it now, since I will have to remove that file from that server as soon as possible. Download: (~13Mb) http://www.angelimoto.com/wp-content/up ... -SHARE.zip


I appreciate your willingness to share, but a friendly critique is man is that some cryptic stuff in there. I am still trying to parse through all of it
- Brigham Keys, Esq.
User avatar
bkeys
 
Posts: 42
Joined: Sat Feb 27, 2016 9:06 pm

Re: irrBullet 0.2.0

Postby GameDude » Thu May 26, 2016 10:08 pm

Amazing! Will this work with Irrlicht 1.8.3? Just read it was made to work with the most recent versions of Irrlicht and Bullet Physics. Kudos.

EDIT: Any chance for a Windows build, like visual studio? I tried building my own irrBullet project in Visual Studio 2015, but keep getting linker errors.
GameDude
 
Posts: 488
Joined: Thu May 24, 2007 12:24 am

Re: irrBullet 0.2.0

Postby The_Glitch » Fri May 27, 2016 6:56 pm

^^ Yeah I second that I would like to implement some basic physics in my app just never got around as most of the physics wrappers for irrlicht were outdated.
User avatar
The_Glitch
Competition winner
 
Posts: 521
Joined: Tue Jan 15, 2013 6:36 pm

Re: irrBullet 0.2.0

Postby Vectrotek » Sun May 29, 2016 7:37 pm

This is fantastic! You should be sainted for sharing your code! Good Job!
User avatar
Vectrotek
Competition winner
 
Posts: 1056
Joined: Sat May 02, 2015 5:05 pm
Location: South Africa

Re: irrBullet 0.2.0

Postby The_Glitch » Mon May 30, 2016 3:43 pm

Does this work for Visual Studio or just Linux.
User avatar
The_Glitch
Competition winner
 
Posts: 521
Joined: Tue Jan 15, 2013 6:36 pm

Re: irrBullet 0.2.0

Postby GameDude » Mon May 30, 2016 8:06 pm

As far as I know, it is currently only supported under Linux for now, but hopefully soon a Visual Studio project will be made. I tried making one for VS, but I keep getting linker errors.
GameDude
 
Posts: 488
Joined: Thu May 24, 2007 12:24 am

Re: irrBullet 0.2.0

Postby AReichl » Wed Jun 01, 2016 6:44 am

It would be nice if you also could provide the right Bullet version together with IrrBullet (other projects sometimes provide all external libraries necessary for compiling).
Even better would be to integrate it into the cmake script, so e.g. compiler settings would be consistent.
AReichl
 
Posts: 227
Joined: Wed Jul 13, 2011 2:34 pm

Next

Return to Project Announcements

Who is online

Users browsing this forum: No registered users and 1 guest