-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add example 42 : BunnyLOD #2155
Conversation
There is utility function |
I'll improve this example tomorrow.
If there are holes in the mesh, the hole would enlarge when the mesh collapse to lower version. The mesh |
Makes sense. Switched to bunny_patched and it works now. |
I want to use
|
None. I'll update API to be 32-bit. |
Updated: 977188e |
Done #2156 |
I reimplement https://github.com/dougbinks/BunnyLOD in bgfx today.
There are still some issues:
vs_picking_shaded
andfs_picking_shaded
of30-picking
.bunny.bin
have many vertices with the same posiotions (different normals). I wrote functionsfindDuplicateVertices
andmergeVertices
to merge these vertices. It's O(n^2) , too. But I think it can be done offline.