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

Heightfield modification & PVD #621

Open
zemlifr opened this issue Feb 10, 2023 · 6 comments
Open

Heightfield modification & PVD #621

zemlifr opened this issue Feb 10, 2023 · 6 comments

Comments

@zemlifr
Copy link

zemlifr commented Feb 10, 2023

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?

@pdherasciec
Copy link

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
heightfield_ut
heightfield_ut_pvd

@pdherasciec
Copy link

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.

@pdherasciec
Copy link

Just FYI this is being worked on next. Thanks for exposing the issue!

@zemlifr
Copy link
Author

zemlifr commented Mar 7, 2023

So bug is on the side of PVD and there is nothing I can do to patch it myself?

@MunoDevelop
Copy link

@pdherasciec hi , sorry to ask here. does pvd visualizer support real time debug render or you read after from ovd file? i tried before but nothing i can see in realtime

@pdherasciec
Copy link

@pdherasciec hi , sorry to ask here. does pvd visualizer support real time debug render or you read after from ovd file? i tried before but nothing i can see in realtime

Correct, at the moment the OVD reader in Kit/Composer that is omni.physx.pvd (or the OmniPVD extension) allows the import of an already finished OVD file.

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