Jump to content

[SOLVED] addMeshSurface static mesh issue


photo

Recommended Posts

There is the code:

	// not working
	ObjectMeshStatic oldStatic = new ObjectMeshStatic("SM_BaseWallArchLarge6m_merged.mesh", 1);
	ObjectMeshStatic newStatic = new ObjectMeshStatic("SM_BaseWallArchLarge6m_merged.mesh", 1);

	newStatic.addMeshSurface(1, oldStatic, 3);

	newStatic.saveMesh("result_static.mesh");

	// working
	ObjectMeshSkinned oldSkinned = new ObjectMeshSkinned("SM_BaseWallArchLarge6m_merged.mesh", 1);
	ObjectMeshSkinned newSkinned = new ObjectMeshSkinned("SM_BaseWallArchLarge6m_merged.mesh", 1);

	newSkinned.addMeshSurface(1, oldSkinned, 3);

	newSkinned.saveMesh("result_skinned.mesh");

result_skinned.mesh have not artefact, result_static.mesh have artefact.

Link to comment
  • 3 weeks later...
  • silent changed the title to [SOLVED] addMeshSurface static mesh issue
  • 1 month later...
×
×
  • Create New...