Jump to content

Found a serializer bug.


MasterK
 Share

Recommended Posts

in line 119 & 120
rotation: 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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...