This paper describes an approach to construct unstructured tetrahedral and hexahedral meshes for a domain with multiple materials. We have developed an octree-based isocontouring method to construct unstructured 3D meshes for a single material domain. Based on it, we analyze each material change edge instead of sign change edge to figure out interfaces between two materials, and mesh each mater...