-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
panics when I try to pick & mesh glitch #395
Comments
Thanks for reporting 🙏 Just wanted to let you know that I'm looking at it. However, I can't reproduce (it's probably a difference in shader compilers, some compilers are more aggressive to remove unused variables), but it sort of makes sense. The color attribute is not used when picking, so it shouldn't be sent. |
works Thank you for quickly resolving this issue; it now works smoothly. However, I have another question that is not related to the issue at hand. Parts of my meshes occasionally glitch, and I'm not sure what could be causing it. Once again, thanks for promptly fixing the problem. glitch: 2023-09-23_22-51-05.mp4I am building my own slicer for 3d printing to display gcode. |
So I started to change my depth buffer values from the default of 24, but with any other bit value the application crashes. For example with 32 |
Great, thanks for testing 👍 I'll make a new release with the fix.
Could it be that the triangles that you're trying to render are smaller than a pixel when you zoom out? If they are, then some of them will not be covering the center of a pixel and will not be drawn and it then looks like there's holes in the mesh. You could try to use MSAA (see the
What did you change exactly, this value? It works for me, so I need more information to be able to debug that. Also please make sure that your system support 32 bit depth buffers. |
I display some custom meshes with Trimesh from three-d-assets crate.
create my model
The rendering works just fine:.
At the time I call the function pick with this geometry I got this panic
thanks for your help
The text was updated successfully, but these errors were encountered: