ozRocker Posted July 30, 2015 Share Posted July 30, 2015 I did a search on the forum and saw some things about binary format but I think they were related to incremental loading. Is there any way to convert the .babylon scene file to binary for faster download times? Quote Link to comment Share on other sites More sharing options...
ozRocker Posted July 30, 2015 Author Share Posted July 30, 2015 or does this not matter because web server GZIP compression will already take care of that? Quote Link to comment Share on other sites More sharing options...
jerome Posted July 30, 2015 Share Posted July 30, 2015 YepWeb servers usually zip files... if they are set to do it : they usually compress text mime-type contents like html, javascript, json -not jpg, not png-As "babylon" is not standard mime type, I guess the setting has to be added server side. You can check it in the development tools in your favorite browser : network tab. Just check the http request and answer headers of the babylon file. If you see that the compression was done (something like g-zip, etc) it's ok Quote Link to comment Share on other sites More sharing options...
ozRocker Posted July 30, 2015 Author Share Posted July 30, 2015 yeh, its GZIPing it. Actually got it down to a third of the original file size. So I'm guessing there isn't a way to reduce file size more than that? Quote Link to comment Share on other sites More sharing options...
davrous Posted July 30, 2015 Share Posted July 30, 2015 Hi, Yes, our binary format is for incremental scene only. Using gzip is very efficient on top of our JSON .babylon format. There is currently no way to reduce the size more than that. Bye, David 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.