honya Posted December 17, 2012 Posted December 17, 2012 Hi, i found interest bug when i merge skinend mesh to one surface via function addMeshSurface on ObjectMeshSkinned class. When i merge skinend mesh in update() function, after when i add second skinned mesh, i get this: Under horse is person after merge to one surface, next of it is same skinned mesh that i export from Editor and add as skinned mesh to the scene. Can you check it or anyone know why this happen? Function for merge it is: void addToOneSurface(ObjectMeshSkinned equiped[], ObjectMeshSkinned newBody) { // ignore main body forloop(int j = 1; equiped.size()) { ObjectMeshSkinned mesh = equiped.get(j); forloop(int i = 0; mesh.getNumSurfaces()) { newBody.addMeshSurface(0, mesh, i); mesh.setEnabled(0, i); } } } If you will want whole scene, tell me, i add it on the ftp. Thanks for reply.
necris Posted December 18, 2012 Posted December 18, 2012 Honya, Can you please send us whole test scene?
honya Posted December 18, 2012 Author Posted December 18, 2012 Honya, Can you please send us whole test scene? Hi Necris, i send you link with more description as messages here.
necris Posted December 19, 2012 Posted December 19, 2012 Thanks, Honya We've passed this information to our developers.
manguste Posted December 21, 2012 Posted December 21, 2012 Honya, We need a MINIMAL scene -- a case for clear reproduction. In the scene you've provided there are a number of bones that cannot be found, nodes cannot be deleted by the editor... As much as we would like to help, finding the culprit in it is a bit of a hard task.
honya Posted December 21, 2012 Author Posted December 21, 2012 Manguse, That interesting that you get errors with bones. Dont inteference old smesh with this test scene that we send to you before 2-3 mounts (that have different bones name), because i check smesh that send to you and there have right bones name. And i send you whole pack, because each combination do some different issues.
manguste Posted December 21, 2012 Posted December 21, 2012 And i send you whole pack, because each combination do some different issues. Well, the problem is both showcase and showcase_1 are constantly crashing. So there's no way we can check for a bug under these conditions.
honya Posted December 21, 2012 Author Posted December 21, 2012 Manguste, ok i now get where it crashing, so i clean scripts from unnecessary code and send it to you via messages tonight. Meanwhile when you change combo box in "Equip/Unequip animated armors on the character" panel, this panel should not lead to a crash.
manguste Posted December 22, 2012 Posted December 22, 2012 Nope, still crashes, still nodes are not removed correctly. Cannot reproduce anything.
honya Posted December 22, 2012 Author Posted December 22, 2012 Manguste, messages that node are not removed correctly i getting, but i don't get crash on it... so what now? Do you have any idea how resolve this?
honya Posted December 23, 2012 Author Posted December 23, 2012 Manguste, i can finally reproduce your crash, so i can fix it and create new scene for you. When i finish it, i will send you link for download it.
necris Posted December 25, 2012 Posted December 25, 2012 Honya, Scene still crashes :( There will be an optimal solution if you send us MINIMAL test-scene. Very simple scene based on update() function which allows to reproduce this issue clearly and nothing else. One surface and 3-5 meshes for merging on it, without unnecessary materials, models etc.
Recommended Posts