# Dual Contouring - what is it and how to use it?

I'm having trouble understanding Dual Contouring yet and I need some explanations from someone who has first hand experience.

I searched all I could before writing this question. I've already read:

And I'm currently working through:

I'm not used to all the calculus and math and the information doesn't get into my brain. I really need some clarification, or a tutorial, please.

I'm creating a 3D game with destructible map in Unity 5. I implemented a Minecraft-like voxel system. But how does Dual Contouring work (and how do I implement it in C#)? I don't want to reinvent the wheel, I want to USE it, but if I can't find a ready-made solution in Unity then I need a grounding in how this algorithm works so I can implement it myself.

Not solutions:

Can someone explain dual contouring? is not a duplicate... It's not for me! That question is too straight to the result as the person already mostly understands the proccess. I need help understanding the roles of each function and math components, like the QEF and density.

Also, I looked into Marching Cubes but that won't work for me as I read that it doesn't allow having cubic parts of the mesh in the middle of the smooth ones, and I will use "blocks" in some parts.

• How many questions are in this?
– Almo
Commented Dec 16, 2015 at 22:50
• There are way too many questions in only one question-post. You should edit and focus it. Then later post again. Besides, the "what is it part" is a duplicate post; see: gamedev.stackexchange.com/questions/83457/…
– MAnd
Commented Dec 17, 2015 at 4:13
• Ok, going to edit ASAP. But do I need to create a question for each problem? I kind of needed some explanation around the subject. I'm just newbie on this (Dual Contouring) like that. Commented Dec 17, 2015 at 6:30
• It's clear that you are an amateur programmer, because one of the first things that one looks for in a moderately experienced problem-solver is the ability to breaks things down and ask one question / solve one problem at a time. That is a fault with your level of experience as a problem solver, not a problem with this site which aims to keep issues focused for good reason (reuse). Don't worry, most of us start that way. Let me edit your question to what I think you need answered most fundamentally. If you don't like it, we can roll back those changes. Commented Dec 17, 2015 at 7:12
• Ok, got it! Clean, without explanations, one piece of the subject at a time. Ok, next time I'll try it. By the way, THANKS! You were the only one who helped me. [It's not easy being depressed and exposing myself in internet to see how people can be cold] Commented Dec 17, 2015 at 7:44