Tutorial Request

Problems building or running the engine, queries about how to use features etc.
Post Reply
NIKI_MC
Halfling
Posts: 62
Joined: Fri Jun 25, 2010 3:15 pm
Location: Macedonia

Tutorial Request

Post by NIKI_MC »

Can anyone give me a step by step tutorial for integrating any physical engine in ogre,I have tried everything,even make a video of what am i doing to ask someone to tell me where am I making mistake (http://www.ogre3d.org/addonforums/viewt ... =4&t=13231) but no answer,and now I am stack with my project ,and cannot continue without physics.

I have tried also to compile OgreBullet,nxogre,ogre ode... and still nothing because every time I am getting errors.

I am using Windows 7 Ultimate (64-bit) ;Visual Studio 2010 Ultimate ;Ogre 1.7.1.If there is a good tutorial for linux please recommend it to me.
User avatar
chaosavy
Silver Sponsor
Silver Sponsor
Posts: 578
Joined: Mon Jun 15, 2009 8:29 pm
x 64
Contact:

Re: Tutorial Request

Post by chaosavy »

I had similar struggles getting physics engines integrated, this one I was able to get to work:

http://www.ogre3d.org/forums/viewtopic.php?f=5&t=46856

If you try this and have problems let me know and I'll try to think back on how I got it working.
Visit http://www.VoidDestroyer.com to check out my space sim project - Void Destroyer
NIKI_MC
Halfling
Posts: 62
Joined: Fri Jun 25, 2010 3:15 pm
Location: Macedonia

Re: Tutorial Request

Post by NIKI_MC »

Tanks for the replay :)

I want to ask you ,does BtOgre support RidgedBodies and Collision Detection,because it is everythink I need for my game project.Also I want to mention that I have readed a lot of tutorials about OgreNewt ,and I can write my code ,and everything I need,but I cannot compile it :S
User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4304
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 135
Contact:

Re: Tutorial Request

Post by spacegaier »

Ever had a look at NxOgre? Should support the points you mentioned.
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
User avatar
chaosavy
Silver Sponsor
Silver Sponsor
Posts: 578
Joined: Mon Jun 15, 2009 8:29 pm
x 64
Contact:

Re: Tutorial Request

Post by chaosavy »

Yes it does.

btOgre is basically some functions and utilities to make life with the Bullet Physics engine and Ogre a bit easier. It converts some basic types and makes Ogre meshes into collision shapes. The bonus is that you will only have to compile Bullet and not btOgre so this may save some of the frustrations you are having with other physics engines.
Visit http://www.VoidDestroyer.com to check out my space sim project - Void Destroyer
NIKI_MC
Halfling
Posts: 62
Joined: Fri Jun 25, 2010 3:15 pm
Location: Macedonia

Re: Tutorial Request

Post by NIKI_MC »

can you give me a quic guide what do do after I compile Bullet?
iWillSpeak
Kobold
Posts: 27
Joined: Thu Dec 10, 2009 4:51 pm

Re: Tutorial Request

Post by iWillSpeak »

If you're planning on using BtOgre then after compiling Bullet you just need to:
* Link bullet into your project as a library
* Add the location of the BtOgre headers to the search path and include them:

Code: Select all

#include "BtOgreGP.h"
#include "BtOgrePG.h"
#include "BtOgreExtras.h"
* Compile and link BtOgre.cpp with the rest of your project.
NIKI_MC
Halfling
Posts: 62
Joined: Fri Jun 25, 2010 3:15 pm
Location: Macedonia

Re: Tutorial Request

Post by NIKI_MC »

tnx a lot :)
I will try this
jonathan_blacknight
Kobold
Posts: 32
Joined: Sun Mar 21, 2010 8:42 am
Location: Brazil
x 2

Re: Tutorial Request

Post by jonathan_blacknight »

I have ogre 1.7.1 and ogre bullet in my ubuntu

this can help you

http://www.ogre3d.org/forums/viewtopic.php?f=1&t=56799
Brazilian blog about game programming
http://www.pontov.com.br/

My develop blog:
http://shydsgames.com/
NIKI_MC
Halfling
Posts: 62
Joined: Fri Jun 25, 2010 3:15 pm
Location: Macedonia

Re: Tutorial Request

Post by NIKI_MC »

great tutorial :) I should tried when my laptop came back from servicing (my motherboard died :( )
Post Reply