game workshop with Bullet

Show what you made with Bullet Physics SDK: Games, Demos, Integrations with a graphics engine, modeler or any other application
mi076
Posts: 144
Joined: Fri Aug 01, 2008 6:36 am
Location: Bonn, Germany

game workshop with Bullet

Post by mi076 »

Hello,

this is my first post here. Bullet is great software!

Please kindly look at the first snapshot of my application. It is in development.
Vehicle and CharacterController (Press F5) are used. Look for short instructions and
download link.

http://code.google.com/p/game-ws


Thank you. Feedback is welcome..

Regards,

Mihail
mi076
Posts: 144
Joined: Fri Aug 01, 2008 6:36 am
Location: Bonn, Germany

Re: game workshop with Bullet

Post by mi076 »

Here is the screenshot how it currently does look like. The quad in the corner is FBO mirror. The cubemap is for testing now. The car model and character are temporary for testing too.
Last edited by mi076 on Sun Oct 12, 2008 7:46 am, edited 1 time in total.
mi076
Posts: 144
Joined: Fri Aug 01, 2008 6:36 am
Location: Bonn, Germany

Re: game workshop with Bullet

Post by mi076 »

Hello,
i've put new update. It is done with 2.72-alpha and uses
soft bodies and clamped ccd motion feature. Please kindly let me know
if you have problems with it.

F1 : fly mode, click RMB to shoot spheres ("clamped ccd")
F2 : view from inside of the vehicle
F3 : rear vehicle view
F4 : rear vehicle view with interpolation (test)
F5 : character mode (add character with F11 first)
F6 : show/hide FPS
F7 : show/hide information
F8 : toggle debug draw mode (press 1,2,3 to show more/less)
F9 : toggle mirror (in vehicle camera modes)
F10 : toggle CEGUI gui (currently disabled)
F11 : Add/remove dynamic character
F12 : Restart level
Thank you very much for looking at it and testing.

BTW. I am running sometimes in strange issues in "softworld" configuration (looks like stack problems). I'll check it again and write separate about it.
Last edited by mi076 on Sun Oct 12, 2008 8:53 am, edited 2 times in total.
mi076
Posts: 144
Joined: Fri Aug 01, 2008 6:36 am
Location: Bonn, Germany

Re: game workshop with Bullet

Post by mi076 »

screens of normal and debug mode
Last edited by mi076 on Tue Mar 24, 2009 2:41 am, edited 2 times in total.
mi076
Posts: 144
Joined: Fri Aug 01, 2008 6:36 am
Location: Bonn, Germany

Re: game workshop with Bullet

Post by mi076 »

source (build gcc 4.1, Visual Studio 2008) is available for download, all dependencies for win32 VisualStudio 2008 build are included.
Don't see any problems just now - build with newest rev. 1336, debug with all possible checks runs without problems.
mi076
Posts: 144
Joined: Fri Aug 01, 2008 6:36 am
Location: Bonn, Germany

Re: game workshop with Bullet

Post by mi076 »

Written CreatePatch modification with UV calculation. Look latest binary download.
(RMB to shoot sphere).
You do not have the required permissions to view the files attached to this post.
mickey
Posts: 107
Joined: Fri Sep 19, 2008 6:08 pm

Re: game workshop with Bullet

Post by mickey »

Hi

Apparently its very slow in my computer.

DirectX Geforce 8800 GT on WinXP.

I got a 0.5 Fps.

Also, did you use a btBvhTriangleMeshShape for the level? My character controller seems to get stuck and does not slide according to the kinematic character controller example.

Let me know if you need any other details.
mi076
Posts: 144
Joined: Fri Aug 01, 2008 6:36 am
Location: Bonn, Germany

Re: game workshop with Bullet

Post by mi076 »

Thank you for looking into it. I have not seen the app so slow. I have 150-250 fps on WinXP and Linux with single core P4 3000Hz, 1GB RAM and GF 6800 Ultra. I have tested it on another PC with older P4 PC / 512 GB RAM with cheap ATI Card - about 75 fps in minimal configuration (withou FBOs, shadow, etc.). I shall compile binary with min graphics to test and give a link today. Is it slow in debug mode (press F8) too?
mi076
Posts: 144
Joined: Fri Aug 01, 2008 6:36 am
Location: Bonn, Germany

Re: game workshop with Bullet

Post by mi076 »

> Also, did you use a btBvhTriangleMeshShape for the level? My character controller seems to > get stuck and does not slide according to the kinematic character controller example.

there is static plane now, but it is possible to switch to heightfield or bvh mesh. Have not had
problems with bvh mesh ground, but there is dynamic character controller from examples, very simple test, so don't know exactly about kinematic, have tried it but it didn't respond to dynamic object in that version. As far as i remember had no problem with sliding. I'll check
kinematic again.
mi076
Posts: 144
Joined: Fri Aug 01, 2008 6:36 am
Location: Bonn, Germany

Re: game workshop with Bullet

Post by mi076 »

> Apparently its very slow in my computer.

Could you kindly check?
http://game-ws.googlecode.com/files/gws ... n_r340.zip
No FBOs and shaders, run on my PC at 700-800 FPS. It runs also on Linux
with Wine - cd into folder, "wine game.exe".

Thank you very much.
mickey
Posts: 107
Joined: Fri Sep 19, 2008 6:08 pm

Re: game workshop with Bullet

Post by mickey »

works perfect now! running at 1200+ fps on application start. I have a quad 2.4 cpu. Putting it in debug mode cuts the fps by 75%.

Pretty nice demo. your skeleton is funny. I guess what's missing on your demo is the rag doll physics for your character and maybe a deformable mesh.

Feel free to upload other builds for me to test on so we can eliminate which part brings my machine to its knees.
mi076
Posts: 144
Joined: Fri Aug 01, 2008 6:36 am
Location: Bonn, Germany

lamp

Post by mi076 »

Hello,


http://game-ws.googlecode.com/

Take lamp_rXXX.7z.exe (selfextracting archive).

Actually runs only on NVIDIA hardware, GF 6800 or better (VP40/FP40 shader profiles).
Runs on GF 6800 Ultra (AGP 8x, 256 MB VRAM) and 3 GHz Northwood (HT) at about 100 FPS.



Controls:

Hit ESC to toggle GUI mode or release mouse.

Views
* F1 : camera : FREE mode
* F5 : camera : CHARACTER MODE
Default mode is character.

Character control
* LMB click to shoot sphere
* A, S, D, W to move. Move mouse to turn and look up/down.

Free mode ( camera: F1)
* LMB click to shoot sphere
* W, S to move forward/backward. Move mouse to turn.
You do not have the required permissions to view the files attached to this post.
Last edited by mi076 on Wed Apr 08, 2009 12:24 am, edited 2 times in total.
OSasuke
Posts: 47
Joined: Tue Dec 09, 2008 10:12 am

Re: game workshop with Bullet

Post by OSasuke »

I have a question.

What you do for the camera to make collision between it and the other bodies.

For me the camera pass on the walls. But you, No.

Thanks.
mi076
Posts: 144
Joined: Fri Aug 01, 2008 6:36 am
Location: Bonn, Germany

Re: game workshop with Bullet

Post by mi076 »

What you do for the camera to make collision between it and the other bodies.
Hello,

It is btKinematicCharacterController.
Thank you for looking at the demo.