Open zemlifr opened 1 year ago
Hello, heightfields get exported correctly both using PVD and OVD, would you mind sharing the code for the PVD setup? The samples are not automatically outputting to PVD nor OVD.
Here are some screens of using Kit and PVD2, to view heightfields from a heightfield UT
Realizing you want to actually modify the heightfield. Need to check up on this. I think the OVD viewer in Kit does not allow, or rather does not take such modifications into account. Need to see if to make a ticket for this.
Just FYI this is being worked on next. Thanks for exposing the issue!
So bug is on the side of PVD and there is nothing I can do to patch it myself?
Hello, I am using heightfield modification based on snippet provided here: https://gameworksdocs.nvidia.com/PhysX/4.1/documentation/physxguide/Manual/Geometry.html#heightfield-modification
It seem to work fine, however I don't see changes propagated to PVD which makes debugging a bit hard for me.
I can see there is some heightfield specific code in
void PvdMetaDataBinding::releaseAndRecreateGeometry(PvdDataStream& inStream, const PxShape& inObj, PxPhysics& /*ownerPhysics*/, PsPvd* pvd)
which is called, but it doesn't seem to work. Is there something that could be fixed in physx code, or there is issue on PVD side?