reptor
18-06-2008 19:24:00
Log file NxOgre.html says:
Why does it think that I probably have PhysX hardware? I certainly don't have it.
Edit: it's because the function looks like this:
It doesn't check if there is PhysX hardware or not.
Is the NxOgre able to use the PhysX hardware at all?
NxOgre::PhysXDriver::_dumpVersionsToConsole
NxOgre 1.0.20 Bleeding Edge (Debug) started. Working with
- PhysX => 2.8.1 (281)
- Ogre => 1.4.8 (Eihort)
- Hardware => Probably
- Platform => Windows (Debug)
Why does it think that I probably have PhysX hardware? I certainly don't have it.
Edit: it's because the function looks like this:
void PhysXDriver::_dumpVersionsToConsole() {
char* version_string = (char*) malloc(sizeof(char) * 1024);
unsigned int compiled_string_length = 0;
compiled_string_length =
sprintf(version_string,
"%s started. Working with \n"
" - PhysX => %i.%i.%i (%i)\n"
#if (NX_USE_OGRE == 1)
" - Ogre => %i.%i.%i (%s)\n"
#endif
" - Hardware => Probably\n"
" - Platform => "
#ifdef NX_PLATFORM_WINDOWS
"Windows"
#else
#ifdef NX_PLATFORM_LINUX
"Linux"
#else
"Unknown"
#endif
#endif
#ifdef NX_DEBUG
" (Debug)"
#else
" (Release)"
#endif
"\n"
, Nx_Version_Full,
NX_SDK_VERSION_MAJOR, NX_SDK_VERSION_MINOR, NX_SDK_VERSION_BUGFIX, NX_SDK_VERSION_NUMBER,
#if (NX_USE_OGRE == 1)
OGRE_VERSION_MAJOR, OGRE_VERSION_MINOR, OGRE_VERSION_PATCH, OGRE_VERSION_NAME
#endif
);
char* compiled_string = (char*) malloc(sizeof(char) * compiled_string_length + 1);
memcpy(compiled_string, version_string, sizeof(char) * compiled_string_length);
compiled_string[compiled_string_length] = 0;
NxDebug(compiled_string);
free(compiled_string);
free(version_string);
}
It doesn't check if there is PhysX hardware or not.
Is the NxOgre able to use the PhysX hardware at all?