If we use AddMesh, it seems, surfaces propertys are not preserved...
Is my code wrong ?
we should have 6 surfaces Input, and 6 output, but, the result is a single surface mesh :/
Is my code wrong ?
Graphics3D 300,200,0,2 Mesh1 = CreateMesh() For n=1 To 6 s=CreateSurface(Mesh1) AddVertex(s,-1,+1,0) AddVertex(s,+1,+1,0) AddVertex(s,+1,-1,0) AddVertex(s,-1,-1,0) AddTriangle(s,0,1,2):AddTriangle(s,0,2,3) Next Print "Mesh1 Count S:"+CountSurfaces(mesh1) Mesh2 = CreateMesh () AddMesh (Mesh1, Mesh2) Print "Mesh2 Count S:"+CountSurfaces(mesh2) WaitKey
we should have 6 surfaces Input, and 6 output, but, the result is a single surface mesh :/