demostenes Posted February 25, 2018 Share Posted February 25, 2018 (edited) When merging surfaces via addMeshSurface for standard mesh, it breaks mesh. For skinned mesh everything is OK. Just merge 2. and 4. surface in attached file and meshe will break. SM_BaseWallArchLarge6m_merged.mesh Edited February 25, 2018 by demostenes Link to comment
silent Posted February 26, 2018 Share Posted February 26, 2018 Hi Jirka, Any exact script / C++ code that you are using for merging? Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
honya Posted February 26, 2018 Share Posted February 26, 2018 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
silent Posted February 27, 2018 Share Posted February 27, 2018 Got it, thanks! Looks like an issue that should be very easy to fix. Let's see what developers will think about it :) How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
silent Posted March 15, 2018 Share Posted March 15, 2018 Jirka, This bug is fixed. Fix will be available in 2.7 SDK update. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts