ronbunny
03-04-2009 08:32:33
just to check with u guys is there anything that is similar to visual debugger for 0.9-38?
betajean help !
betajaen
03-04-2009 08:59:03
Should be, it's in World.
ronbunny
03-04-2009 09:19:22
Do u know what is the exact function for the visual debugger ?
ronbunny
03-04-2009 09:45:31
isit under the fucntion render in the NxOgreScene.cpp?
spacegaier
03-04-2009 10:16:46
void World::createDebugRenderer(Ogre::SceneManager* s)
ronbunny
03-04-2009 15:55:49
Hi do i use this line to set NX_USE_DEBUG_RENDERER_API to 1 ?
new NxOgre::World->getPhysXDriver()->getSDK()->setParameter(NX_USE_DEBUG_RENDERER_API, 1.0f);
if i put that line in, i will get this error
error C2664: 'NxPhysicsSDK::setParameter' : cannot convert parameter 1 from 'int' to 'NxParameter'
or do i just dump this line in?
#define NX_USE_DEBUG_RENDERER_API 1
betajaen
03-04-2009 16:20:53
No, you do what spacegaier said.
ronbunny
03-04-2009 18:08:58
yes i got what he is trying to say but then for createRenderDebug to work i have to activate NX_USE_DEBUG_RENDERER_API 1
so i have added this NxOgre::World->reateDebugRenderer(mSceneMgr);
but... i have the following error
error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall NxOgre::World::createDebugRenderer(class Ogre::SceneManager *)" (__imp_?createDebugRenderer@World@NxOgre@@QAEXPAVSceneManager@Ogre@@@Z) referenced in function "private: void __thiscall Application::Setup_NxOgre(void)" (?Setup_NxOgre@Application@@AAEXXZ) Application.obj
betajaen
03-04-2009 19:34:48
Then it's not in for 0.9-38.
Can't you use 1.0.22'T5 where it's actually in?
ronbunny
09-04-2009 04:34:34
betajaen can i just ask another question?
so there isnt any visual debugger for 0.9-38, so how do people check graphically draw out their bounding box with the NxOgre::CubeShape? i need to know that because i want to check their positions and sizes. I have not use the later version because i think the tutorials are not sufficient enough for me to understand the collision trigger part. In the past i am using <setcallback>, but in the later version the one u have mentioned(bleeding) did not use that anymore.
my point is still the same, there must be a way to check the position and size of the box graphically?
spacegaier
09-04-2009 14:15:44
AFAIK there is no build in functionalty but you can use the RemoteDebugger that comes with the PhysX SDK. There are some few lines of NxOgre code you have to enter to get them running toghether. Search on the forum. Had been asked a dozen times.
EDIT: Just recognized, that this RemoteDebuger Tool isn't included in the newest SDK anymore. Try to grab an older one or check whether it can be downloaded independently.
betajaen
09-04-2009 14:26:20
EDIT: Just recognized, that this RemoteDebuger Tool isn't included in the newest SDK anymore. Try to grab an older one or check whether it can be downloaded independently.
Are you sure? I'm using 2.8.1 which as I understand is the most recent public release, and I use the RemoteDebugger tool all the time.
spacegaier
09-04-2009 14:35:04
Ah...they changed the folder! In the older versions it was in the
tools folder and not in
bin. My fault

...
betajaen
09-04-2009 14:36:19
You should just pin it to the Start Menu like I do with the SDK documentation CHM; You should never root through the PhysX SDK folder without a guide.