MogreNewt        
Print

Introduction

MogreNewt is a an add-on for Mogre, which offers physics functionality and collision detection.

Internally it contains the free, closed-source physics library Newton Game Dynamics(external link) (often just called Newton).
By use of the wrapper MogreNewt it's possible to use the Newton library with Mogre (.NET). MogreNewt is a port of OgreNewt, which is a wrapper for using Newton with Ogre (C++).

The newest MogreNewt binaries you can download here:

 

Where to get help

When you need information how to do something with Newton or if you have problems by using Newton we would suggest this:

  • For general questions (how Newton works, its logic, etc.) you find good help in the external Newton forum(external link).

 

  • For questions how to do something in interaction with Ogre (and Mogre), you can use the OgreNewt section of the Ogre Add-ons forum. There is a better chance to get an answer, because there are much more users who know to handle with Newton. In the Mogre section are not so much people with Newton knowledge (because C++ Ogre is more common).

 

  • For question which are specific for Mogre and MogreNewt a good place is this topic in the Mogre forum. It also contains code snippets.

 


A good help could also be:

 

See also

 

Outdated information

Note:
These sections are foremost outdated, so they were moved to the bottom. Sorry that there is no fresh information on this wiki page.

 

Precompiled Binaries

You can find precompiled binaries of MogreNewt in the latest MOGRE SDK(external link). You also need the 'Newton.dll' from the Newton Game Dynamics SDK 1.53(external link). Install the Newton SDK and copy NewtonSDK\sdk\dll\Newton.dll to the OgreSDK\bin\debug and release folders.

For MogreNewt 2.0, you can find the SDK including binary http://newtondynamics.com/forum/downloads.php here(external link).

Samples

You can find the MogreNewt samples on MOGRE's SVN source on https://mogre.svn.sourceforge.net/svnroot/mogre/tags/MogreNewt-1.53/Samples(external link). You will need a SVN client like TortoiseSVN(external link) to download the files.

For Newton 2.0 you will find the samples here https://mogre.svn.sourceforge.net/svnroot/mogre/trunk/MogreNewt/Samples(external link)

MogreNewt Source

The full SVN source of MogreNewt for Newton 1.53 is on https://mogre.svn.sourceforge.net/svnroot/mogre/tags/MogreNewt-1.53(external link)

The current source of MogreNewt on SVN are for the Newton 2.10 beta https://mogre.svn.sourceforge.net/svnroot/mogre/trunk/MogreNewt(external link).
Or download the tarball archive here(external link).

The Newton 2.0 library you find here: http://www.newtondynamics.com/forum/viewtopic.php?f=9&t=4922(external link)

For Windows use the newton.dll file from package subdirectory sdk\x32\dll_vs9. (even if you have 64 bit Windows, because MogreNewt by default compiles against this)

Building MogreNewt 2.0 For Mogre 1.4

The current version of MogreNewt 2.0 is for the 1.6 version of Mogre.

To compile it for the Mogre 1.4 version you need to edit OgreNewt_Body.cpp:

Add #include "OgreNoMemoryMacros.h" before Joint::Destructor in OgreNewt_Joint.cpp and Body::NewtonDestructor.

Also add #include "OgreMemoryMacros.h" after the same functions.

Known bugs MogreNewt 2.0

 


Contributors to this page: Beauty5965 points  , sarcacid623 points  and jacmoe111451 points  .
Page last modified on Thursday 26 of January, 2012 18:56:36 GMT by Beauty5965 points .


The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.
As an exception, any source code contributed within the content is released into the Public Domain.