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

DebugView and PhysX integration #112

Open
stezkmil opened this issue Jun 2, 2022 · 1 comment
Open

DebugView and PhysX integration #112

stezkmil opened this issue Jun 2, 2022 · 1 comment

Comments

@stezkmil
Copy link

stezkmil commented Jun 2, 2022

Hi,

in the videos embedded in the docs, I have seen that an app DebugView is used to integrate with the PhysX engine and to present the results. Is the source of this app available? I am interested in the PhysX integration, because so far I was getting poor results (simple cube was falling through with one vertex and generating nonsense impulses with its edges) when supplying 3-vertex polygons (triangles in other words) into the PxConvexMeshDesc. I was using the indices and vertices from VHACD. I believe I had the plane equation set up correctly in the polygon part of the PxConvexMeshDesc structure. Another problem was that on some meshes VHACD produces vertices which are not used by any triangles and PhysX also can not digest that. So this makes me interested in the DebugView app. So far I have worked around that by only supplying the vertices from VHACD and adding the PxConvexFlag::Enum::eCOMPUTE_CONVEX. But that is suboptimal and generates work which could be avoided.

@jratcliff63367
Copy link
Collaborator

Yes, using the eCOMPUTE_CONVEX flag is probably the best way to integrate this into the PhysX SDK.

With the version4 release I was trying to simplify this package as much as possible so I completely removed all of the debug view stuff as it was extremely large.

That said, perhaps if anyone finds it useful, what I might do is create a new separate GitHub repot with just the DebugView app revised to work with version4. It would probably only take me about a day to do this.

I will let you know if and when I get around to doing 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

2 participants