Skip to main content

History: MogreNewt

Source of version: 5

Copy to clipboard
            {maketoc}

!!Introduction
MogreNewt is a C++/CLI port of ((OgreNewt|OgreNewt)) which, in turn, is a C++ ((wrapper)) for the [http://www.newtondynamics.com|Newton Game Dynamics] physics library. In plain words, MogreNewt integrates with ((MOGRE)) and brings physics to the .NET world using the Newton library.

!!Precompiled Binaries
You can find precompiled binaries of MogreNewt in the latest [http://sourceforge.net/project/showfiles.php?group_id=174997|MOGRE SDK]. __You also need the 'Newton.dll' from the [http://www.newtondynamics.com/downloads.html|Newton Game Dynamics SDK 1.53]. 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].

!!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]. You will need a SVN client like [http://tortoisesvn.tigris.org|TortoiseSVN] to download the files.

For __Newton 2.0__ you will find the samples here [https://mogre.svn.sourceforge.net/svnroot/mogre/trunk/MogreNewt/Samples]

!!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]

The current source of MogreNewt on SVN are for the __Newton 2.10 beta__ [https://mogre.svn.sourceforge.net/svnroot/mogre/trunk/MogreNewt].
Or download the tarball archive [http://mogre.svn.sourceforge.net/viewvc/mogre/trunk/MogreNewt|here].

The __Newton 2.0 library__ you find here: [http://www.newtondynamics.com/forum/viewtopic.php?f=9&t=4922] 

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
* Some violation exception in treecollision class: [http://www.ogre3d.org/addonforums/viewtopic.php?f=8&t=10997]            
* ''MogreNewt::CollisionPrimitives::ConvexHull'' exception if the entity is a ((ManualObject)).
* ''MogreNewt::CollisionPrimitives::ConvexHull'' exception if the Mogre object has a scale of 0
* ''MogreNewt::World::SetThreadCount(2)'' produces a bug with bounding box updating of Ogre object: [http://www.ogre3d.org/addonforums/viewtopic.php?f=8&t=11247&p=64439]

!!See also
* ((OgreNewt))
* [http://www.ogre3d.org/addonforums/viewtopic.php?f=8&t=9193|MogreNewt for Newton 2.0] - forum thread - __ask questions here__
* ((Ray query with MOGRE))
* ((Ray classes in MOGRE))
* ((Collision detection with Newton))
* [http://ogreaddons.svn.sourceforge.net/viewvc/ogreaddons/trunk/ogrenewt/demos/|Example code] (Ogre)
* [http://www.runehunter.phpnet.us/NewtonHelp.html|Documentation of Newton API] - good to understand the functionality
* [http://www.ogre3d.org/addonforums/viewtopic.php?p=52521#p52521|Use buoyancy] - code snippet
* [http://www.newtondynamics.com|newtondynamics.com] - website of the physics library
* [http://www.newtondynamics.com/wiki|Newton wiki]
* [http://www.ogre3d.org/addonforums/viewtopic.php?p=58876#p58876|Mogre snippet] - how to enable the new debugging system (outdated?)
* ((Mogre XML commentation tool)) - can create commentations in Visual Studio for MogreNewt class members

        

History

Information Version
Mon 10 of Feb, 2014 18:45 GMT-0000 Beauty added link for MogreNewt build instructions 20
Thu 09 of Jan, 2014 07:09 GMT-0000 Beauty updated link to a binary bundle (with Newton 2.35) and added a note for the MogreBuilder option 19
Mon 29 of Oct, 2012 16:13 GMT-0000 Beauty Notes for compiling MogreNewt 18
Sun 24 of Jun, 2012 13:45 GMT-0000 Beauty added notes for MogreBuilder 17
Mon 19 of Mar, 2012 21:26 GMT-0000 Beauty added "Binary notes" 16
Thu 26 of Jan, 2012 18:56 GMT-0000 Beauty added link to BulletSharp 15
Mon 12 of Sep, 2011 23:32 GMT-0000 Beauty text improvements 14
Mon 12 of Sep, 2011 23:30 GMT-0000 Beauty updated newest download link 13
Sun 19 of Dec, 2010 22:50 GMT-0000 Beauty added link 12
Sun 19 of Dec, 2010 22:40 GMT-0000 Beauty 11
Sun 19 of Dec, 2010 22:33 GMT-0000 Beauty improved introduction + moved outdated sections to the bottom 10
Wed 15 of Dec, 2010 22:53 GMT-0000 sarcacid fixed lexicon link 9
Wed 15 of Dec, 2010 11:54 GMT-0000 Beauty added link to PhysX Candy Wrapper 8
Wed 15 of Dec, 2010 11:42 GMT-0000 Beauty added link for demo application 7
Mon 06 of Sep, 2010 10:40 GMT-0000 Beauty added section "where to get help" 6
Wed 14 of Jul, 2010 19:36 GMT-0000 Beauty 5
Wed 14 of Jul, 2010 19:35 GMT-0000 Beauty 4
Wed 14 of Jul, 2010 19:24 GMT-0000 Beauty update of download notes / links -- but much update work is needed anymore on this wiki page 3
Sun 27 of Dec, 2009 17:39 GMT-0000 jacmoe 2
Sun 29 of Nov, 2009 04:31 GMT-0000 Beauty added link 1