fabmax / physx-jni

Java JNI bindings for Nvidia PhysX
MIT License
89 stars 9 forks source link

Does it support OmniPvd (Omniverse PVD)? #66

Open singlerr opened 7 months ago

singlerr commented 7 months ago

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

but it returns null.

EricApostal commented 4 months ago

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

singlerr commented 4 months ago

Ok. I will do it later

pcloves commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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

ItsFlare commented 1 month ago

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

Same issue here, were you able to resolve it?