Implement Marching Cubes as mesh extractor#89
Implement Marching Cubes as mesh extractor#89jclarkk wants to merge 2 commits intomicrosoft:mainfrom
Conversation
Use MC by default
|
Do you have image comparison of the results between FlexiCubes and this marching cubes implementation ? |
|
@tomgelu |
|
I've done some raw undecimated mesh comparisons with this and while it's not 100% identical, I can't really judge if either flexicubes or this outputs nicer looking mesh. I'd say it's close enough and actual raw mesh face count is very close on both, in fact was identical on one test when I just used merge vertices import option on blender. What's noteworthy about this though, is that in my brief testing, it's seems to use less VRAM to decode mesh with this than it does with flexicubes, so I'm merging this on my low-vram fork for now. Thanks for sharing this! |
|
@0lento |
|
I have to change 2 places in
They affect vertex colors, which is hidden by the texture. So not easy to be seen. And yes, I can confirm the VRAM consumption drops. It was 13GB with Flexicubes. Now it's 10.1GB, right below 12GB threshold. |
|
@gongminmin |
Use MC by default