MasterK Posted December 2, 2015 Share Posted December 2, 2015 in line 119 & 120rotation: instance.rotation.asArray(),rotationQuaternion: instance.rotationQuaternion.asArray(), the instance mesh may only have one of above,so it will show wrong:babylon.sceneSerializer.js:120 Uncaught TypeError: Cannot read property 'asArray' of undefined Quote Link to comment Share on other sites More sharing options...
RaananW Posted December 2, 2015 Share Posted December 2, 2015 Hi masterK,I was pretty sure I already fixed this error. I'll check what happened :-) Quote Link to comment Share on other sites More sharing options...
MasterK Posted December 2, 2015 Author Share Posted December 2, 2015 Hi masterK,I was pretty sure I already fixed this error. I'll check what happened :-) i report bugs only when i download the latest github source... so at least the bug exists before today. ask another question: does the scene serializer can export texture to picture file?? i wonder when the babylon.js editor come out. Quote Link to comment Share on other sites More sharing options...
RaananW Posted December 2, 2015 Share Posted December 2, 2015 fixed - https://github.com/BabylonJS/Babylon.js/pull/849 There is no official editor, but there are many people creating editors (Like Dad72's CastorEngine). I am pretty sure they will jump in and explain.About texture serialization - no, the images are not being serialized. Their relative URL is being exported. Dad72 1 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 2, 2015 Share Posted December 2, 2015 Indeed, my editor CastorEngine has its own serializer and loader that allows the url in imports and textures. I work hard on it to make it efficient and bug free.I need testers now. Quote Link to comment Share on other sites More sharing options...
MasterK Posted December 3, 2015 Author Share Posted December 3, 2015 Indeed, my editor CastorEngine has its own serializer and loader that allows the url in imports and textures. I work hard on it to make it efficient and bug free.I need testers now. to be honest, to me, the editor is not very necessary. the scene can be hand to the 3d art designer. blender is nice. so i'll try the official editor if there is. other editor, i don't want to spend time... i don't know what other people think...but at least your editor can be useful in your hand. it's certainly good tool. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.