[FAQ] The unofficial FAQ written by the NxOgre Zombies.

KevinMulder

11-09-2008 16:39:24

The NxOgre User FAQ

This topic goal is to collect all insights, hints and everything that makes easier to implement and use NxOgre. This is opened for 2 reasons: to avoid the same mistakes questioned over and over again in the forum, 2nd: to ease the load on betajaen, so he can use the time for implementing nicer features not wasting the time answering the same thing over and over again.

Rules:

1. Post one reply with one trick.
2. No comments, questions, quotes or so forth. They will be deleted by Betajaen.
3. Start a new thread regarding a comment, question or quote
4. Use the same style of posting in this thread.
5. You agree for Betajaen or one of the moderators to clean up your English, language structure, phpBB code errors or mistakes.
6. When using a fact, code or anything from another person. Remember to use the quote tab, and provide a source link (bold,size 10) of that quote.
7. Turn OFF your signature; Untick - Attach signature, when posting.

KevinMulder

11-09-2008 16:42:15

NxOgreStable.h(165) : fatal error C1083: Cannot open include file: 'OgreNoMemoryMacros.h': No such file or directory

From the Shoggoth porting notes

Header changes
* OgreMemoryMacros.h and OgreNoMemoryMacros.h no longer exist, you should delete any reference you have to them. Simply just comment out like:

// #include <OgreNoMemoryMacros.h>

Will NxOgre be fine if i just remove the references? how should I go about this?

After removing or commenting the offending lines, NxOgre should compile clean.

betajaen

11-09-2008 17:14:38

Character System? Where is it?

Not in 1.0'22 at the moment. Betajaen is working on it but if you NEED it now you have two options.

- Write your own; either from scratch or writing some code to wrap the functions and classes using NxOgre for helper functions and classes.

- Migrate to NxOgre 0.9; However Betajaen doesn't support it anymore, so on your own.

KevinMulder

16-09-2008 20:47:40

Is it bad to mix Physx with NxOgre?

Source
No, it's fine. Just don't use the userData in the PhysX classes, it's used by NxOgre for storage and identification.

Prophet

17-09-2008 21:04:03

Can I import a whole scene with physics from 3ds Max or Blender?

Yes you can!
3ds Max: Read more here. It uses Ogre Max.
Blender: Read more here.

Prophet

17-09-2008 21:51:16

Help! My mesh is somewhat displaced! It's moving accordingly to my Actor/Body but has an offset!

This is a fairly commons problem when working with exporters from 3d-modelling programs. There is basically two work-arounds:
MeshMagick: Download MeshMagick and pass this argument: "transform -xalign=center -yalign=center -zalign=center <meshname>" (without quotes).
Boxtrick: (3dsMax)BoxTrick:
Place your object where you want it in the result.
Create a new box and set position and rotation to zero.
Select EditMesh modifier of this box and attach your object to this box.
Now select the box (still in mesh modifier) and delete it. Now you have to
rename your object (because it is still named box_xx or so).
Every previous transformation is gone and you have a clean mesh in terms of transformation.

Cause: This is usually caused by the 3d-program way to place pivots. When you create a box, it is usually set the base, not center. Centring the pivot before exporting will most likely solve this. In 3ds Max you can simply pass the script $.pivot = $.center to center the selected geometry.

TechnoBulldog

12-11-2010 19:18:36

Why doesn't NxOgre render my scene anymore?!

As of NxOgre 1.6 (Detritus) the render system is no longer included in NxOgre. This has been forked off into Critter.