Page 2 of 3

Posted: Sun Jun 01, 2008 4:33 pm
by night_hawk
Mine didn't work either? Mine is bound to work with the latest version (2.8.1).

Posted: Sun Jun 01, 2008 9:23 pm
by frostysnowman
Your irrlicht & physX examples give me exceptions on startup as well
Unhandled exception at 0x004012fa in project.exe: 0xC0000005: Access violation reading location 0x00000000.
(from first example)

So do both of the precompiled examples crash on startup.

Posted: Mon Jun 02, 2008 9:04 am
by night_hawk
Oh, it's obvious then. You don't have the system software installed :D (or you have an older version of it...)

Posted: Mon Jun 02, 2008 6:17 pm
by frostysnowman
Well, that sort of explains it :roll:

I had been able to run physX examples from the control panel, and run the precompiled example from here, so my mind never went to consider that it was a problem with the software runtime! However, I still cannot justify my stupidity. 8)

I downloaded the new version and it seems that everything works now.

Thanks night_hawk, Problem solved. :D

Posted: Mon Jun 02, 2008 9:40 pm
by Dark_Kilauea
Nvm.... Someone beat me to the punch.

Posted: Fri Jun 13, 2008 2:34 pm
by bruno.arruda
Nice examples.

Could you please let me know if there are any documentation(guide, tutorials) about physX(not counting the samples that come with the SDK) cause I can´t find any theory about it, and I would like to study it.

Thanks very much

Posted: Fri Jun 13, 2008 6:23 pm
by frostysnowman
bruno.arruda wrote:Nice examples.

Could you please let me know if there are any documentation(guide, tutorials) about physX(not counting the samples that come with the SDK) cause I can´t find any theory about it, and I would like to study it.

Thanks very much
At
C:\Program Files\NVIDIA Corporation\NVIDIA PhysX SDK\v2.8.1\SDKs\Docs
there is a lot of documentation that is very helpful. Your filepath may be a little different depending on how you chose to install the sdk.

Posted: Fri Jun 13, 2008 8:11 pm
by bruno.arruda
Thanks, those are a little introduction and the API.

I´ve found here: http://developer.nvidia.com/forums/inde ... topic=1640

that there were learning lessons, and they are remaking them, they were distibuted since 2.72, so u can get them here:
http://developer.nvidia.com/object/physx_downloads.html

If you want to check out the topics, check here:
http://www.hardforum.com/archive/index. ... 78262.html

Hope that it helps the ones in the same situation. Happy learning :)

Posted: Sat Jun 21, 2008 10:24 pm
by m506
hi,

I was able to successfully compile the code but when I click any mouse buttons the program crashes to desktop in the following line:
>> actor->addForce(forceVec);

I am using irrlicht 1.4 and Physx 2.81 with the latest system software drivers installed (8.04.25).

Any help would be appreciated.

Regards

Posted: Sun Jun 22, 2008 4:34 am
by frostysnowman
I was going to make a post on this bug earlier.... :P

There are two problems I am having.

1.) after a number of boxes are stacked on top of each other, certain boxes start to flicker and disappear. Some disappear completely and re-appear when struck by another box/sphere.

2.) The same error m506 says. I investigated into this, and with the doc example of a NxUserOutputStream implementation, it brought up this:

Image

This was the code for the NxUserOutputStream implementation:

Code: Select all

class MyOutputStream : public NxUserOutputStream
{
        void reportError (NxErrorCode code, const char *message, const char* file, int line)
        {
            //this should be routed to the application
            //specific error handling. If this gets hit
            //then you are in most cases using the SDK
            //wrong and you need to debug your code!
            //however, code may  just be a warning or
            //information.
        
            if (code < NXE_DB_INFO)
            {
                MessageBox(NULL, message, "SDK Error", MB_OK)/*,
                exit(1)*/;
            }
        }
                
        NxAssertResponse reportAssertViolation (const char *message, const char *file,int line)
        {
            //this should not get hit by
            // a properly debugged SDK!
            assert(0);
            return NX_AR_CONTINUE;
        }
                
        void print (const char *message)
        {
            printf("SDK says: %s\n", message);
        }

} myOutputStream;
then when you call NxCreatePhysicsSDK...

Code: Select all

	MyOutputStream* ptr = &myOutputStream;
	gPhysicsSDK = NxCreatePhysicsSDK(NX_PHYSICS_SDK_VERSION, 0, ptr);
Any expert around on PhysX?

Posted: Sun Jun 22, 2008 11:42 pm
by monkeycracks
I get random crashes, generally when I spawn things too quickly. Not sure if it's fixable at all but I figured I'd just let you know. Also, it seems to be mostly the cubes that make it crash.

Posted: Fri Jun 27, 2008 8:20 am
by frostysnowman
bump for importance

Posted: Fri Jun 27, 2008 2:14 pm
by acropole
Physix is now the property of NVidia

I build it with the latest Versions 1.4x and 2.8x

Posted: Mon Jun 30, 2008 10:58 pm
by PhilippT
And after spawn 100 or up spheres i got a crash with similar results >> actor->addForce(forceVec)

looks like the actors are out of predefined memory.

Has some fixes for a stable implementation?

Posted: Tue Jul 01, 2008 6:50 am
by char
the bug is caused when creating device with openGL try to change EDT_OPENGL into EDT_DIRECT3D9.