Search the Community
Showing results for tags 'jenny craig'.
-
I know I have been a little obsessive about the size of geometry files. In fact, the latest version of Tower of Babel exporter in dev is taking it to the next level. A hint for one of the tricks is 0's are FREE for typed arrays (think about matrix weights / indices). BJS 3.0's waist line has just top the 1300 kb. It is starting to get my attention as being a pig. Mind you the recent breaking out of stuff into other files is good. All the stuff in the main file is also good. Unfortunately, no one ever really needs more than 2 cameras, is not using all 4 types of lights, shadows, using actions / animations, post processes, physics, all the different types of textures & materials, and on and on in the same scene. WebGL being locked out social media, is sure to remain too obscure for CDN to really be of any use. Almost worthless for just BJS which has 1 CDN with and 1 without https (not to mention a new version every 6 mos). The build your own Babylon is more of a file combiner for the kiddy end of the pool. Not a "static linker" type utility. - - - - - - - - - - - - - - - - Here is my idea. Use one of the Browser's writing of profiling files to know what a given scene is actually using. Firefox is writing a JSON file. Worst case is the file can be regex mined to find all the objects with the name of BABYLON.xxxx that got instanced. If that file could used as input, to generate a boolean for each line in files section of the config.json file. Output a modified config.json file to gulp where only the files with a hit get included. There would be issues with objects in files like Math.ts. There might be some mandatory files, though I think math.ts is too big and should be broken out. I am not ready to do this, but thought I would bring it up before I was going to do it. If anyone wants to work on this, reply to thread. If I end up doing this myself, I'll probably cut many corners, so I would be unlikely to publish it.