Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it support OmniPvd (Omniverse PVD)? #66

Open
singlerr opened this issue Mar 4, 2024 · 5 comments
Open

Does it support OmniPvd (Omniverse PVD)? #66

singlerr opened this issue Mar 4, 2024 · 5 comments

Comments

@singlerr
Copy link

singlerr commented Mar 4, 2024

I saw several issues that pvd is not fully implemented about two years ago.
I tried
PxTopLevelFunctions.CreateOmniPvd(foundation);

but it returns null.

@EricApostal
Copy link

@singlerr Were you able to sort this out? I'm assuming it's just not implemented yet.

@singlerr
Copy link
Author

singlerr commented May 23, 2024

Ok. I will do it later

@pcloves
Copy link

pcloves commented May 23, 2024

I saw several issues that pvd is not fully implemented about two years ago. I tried PxTopLevelFunctions.CreateOmniPvd(foundation);

but it returns null.

Hi, have you tried PVD? I create PVD and connected PhysX Visual Debugger successfully as follows:

        final PxPvd pxPvd = PxTopLevelFunctions.CreatePvd(foundation);
        final PxPvdTransport pxPvdTransport = PxTopLevelFunctions.DefaultPvdSocketTransportCreate("10.12.16.218", 5425, 10);
        final PxPvdInstrumentationFlags pxPvdInstrumentationFlags = new PxPvdInstrumentationFlags((byte) PxPvdInstrumentationFlagEnum.eALL.value);
        //success is true
        final boolean success = pxPvd.connect(pxPvdTransport, pxPvdInstrumentationFlags);

but, the PhysX Visual Debugger show nothing.

I have tried build a debug native lib, it doesn't work either.

@pcloves
Copy link

pcloves commented May 24, 2024

I saw several issues that pvd is not fully implemented about two years ago. I tried PxTopLevelFunctions.CreateOmniPvd(foundation);
but it returns null.

Hi, have you tried PVD? I create PVD and connected PhysX Visual Debugger successfully as follows:

        final PxPvd pxPvd = PxTopLevelFunctions.CreatePvd(foundation);
        final PxPvdTransport pxPvdTransport = PxTopLevelFunctions.DefaultPvdSocketTransportCreate("10.12.16.218", 5425, 10);
        final PxPvdInstrumentationFlags pxPvdInstrumentationFlags = new PxPvdInstrumentationFlags((byte) PxPvdInstrumentationFlagEnum.eALL.value);
        //success is true
        final boolean success = pxPvd.connect(pxPvdTransport, pxPvdInstrumentationFlags);

but, the PhysX Visual Debugger show nothing.

I have tried build a debug native lib, it doesn't work either.

I have resolved the issue: when PxCreatePhysics is called, the PxPvd instance must be use as the last param.

@singlerr
Copy link
Author

@pcloves I see that it says successfully connected to pvd. But there's no difference in Physx Visual Debugger. Did you solved that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants