Mars Posted December 20, 2016 Share Posted December 20, 2016 I am an Asia user. I need waiting "doc.babylonjs.com" to response about 20s per page. But the main site. Maybe the doc server need a cdn. I'm choosing a game framework from babylonJS and threeJS. I test babylon and three by create 10000 cube to render, very simple code use babylonJS getstart code and threeJS getstart code. BabylonJS only got 5 fps but threeJS got 27 fps. I almost choose the threeJS, but when I change babylon cude.clone to cube.createInstance, that save my life, babylonJS win. I think a lot of people will choose threeJS because they did the same test as I did, but they didn't find this tip. Because in the babylonJS doc I can't see any tip or performance part to help me to choosing the framework or what is the difference compared to other framework? ThreeJS's doc is very messy. Search from google I got the different versions answer, maybe work or not. I don't hope babylonJS following in the footsteps of threeJS. Maybe we can do the difference versions guides, tutorials, api and the releases cycle like EmberJS. http://emberjs.com/builds/ Some small suggestions. Now I need to convince my CTO use babylonJS not threeJS. Could you give me some advice? Thanks the awesome babylon framework and the forum. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 20, 2016 Share Posted December 20, 2016 Hello sorry about documentation performance. I'll try to see what we can do ( @Temechon any idea?) Regarding performance, we started this one: http://doc.babylonjs.com/tutorials/Optimizing_your_scene Please feel free to improve it To convince your CTO: Babylon.js has a brilliant and living community at one single place: this forum If you have questions you'll always find someone to help you here! Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted December 20, 2016 Share Posted December 20, 2016 I have the same problem with the docs loading slow. I think its public if I get a chance ill browse through and see if I can see the hitch, not promising anything I have like 4 projects I am on right now and I don't feel like taking up another. On second thought, I just looked at it and they are running Grunt and other things so I'm not touching it with a 10 foot pole... I don't feel like that headache today or ever. Quote Link to comment Share on other sites More sharing options...
Wink Posted December 20, 2016 Share Posted December 20, 2016 I'm a newbie too and I also was looking at ThreeJS but I decided BabylonJS. The primary reason it's built on Typescript instead of Javascript which I feel is vastly superior to Javascript because of its strict type checking. I would hope your CTO would also agree! And the second reason is the amazingly helpful forum and how unbelievably responsive the team managing BabylonJS is communicating on this forum and in particular how quick they are at accepting improvements from the community. -- A newbie's 2 cents Quote Link to comment Share on other sites More sharing options...
Wink Posted December 20, 2016 Share Posted December 20, 2016 @Pryme8 what would you suggest instead of Grunt? I found it odd but was able to contribute some changes to the docs and it seems better than coding in HTML. Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted December 20, 2016 Share Posted December 20, 2016 I stay away from compilers... Im a purest so you might wanna stay away from my opinions unless you have a great basis in vanilla js and css. I hate the idea of having to "build/compile" my websites... no thank you ctrl+s and refresh for me all day... don't get me wrong Grunt has its place, and I have worked on team projects that require it... but the whole time I was cussing at the screen so... and SASS is useless unless your doing complex CSS animations... and even then I prolly would not use it... I mean if you wanted a fancy css spinner or something... but I just write up JS to compile effects in css for me like that. Cat skinning my friend, cat skinning... Quote Link to comment Share on other sites More sharing options...
Wink Posted December 20, 2016 Share Posted December 20, 2016 So what is your opinion of Typescript? Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted December 20, 2016 Share Posted December 20, 2016 why learn another language to program a language? Absolute garbage. but its all in what makes more since in your head. I cant knock anyone who is more productive with it then vanilla.js In fact I believe you should not even use jQuery, and don't like the fact how widely people use it in BJS. its just more bloat. Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted December 20, 2016 Share Posted December 20, 2016 Well, I would not show the scene with 10000 cubes to your CTO. It does not represent a reasonable scene. A mesh has a certain amount over head in javascript & looks like more in BJS. No one is likely to build a scene with just a cube replicated 10000 times. Yes, it easy enough to code scenes to compare like this without diving deep into one or the other, but I would take a stab at something a little closer to what you might want to actually do. Perhaps start with what you're thinking is going to be your source for your geometry, then map out the work flow options for each resulting in either a BJS or Three scene. Make a crude mesh or grab an example from the web, then run it through each. More work, but also more valuable. Your CFO is also going to be interested in work flow, not just the fps of a single contrived scene. Pryme8 1 Quote Link to comment Share on other sites More sharing options...
Wink Posted December 20, 2016 Share Posted December 20, 2016 Why another language, a reasonable question. I'd say because languages are the foundation of thought and they provide different ways of organizing and communicating those thoughts to other people and machines. Keep an open mind I think someday you'll find the world is bigger than Javascript and CSS. In any case, as a old fart, I'd suggest just try using Typescript to add types to on your Javascript code, I think you'll find it enlightening. (Note: if you want to continue this discussion we should probably move it off this topic ) Quote Link to comment Share on other sites More sharing options...
adam Posted December 20, 2016 Share Posted December 20, 2016 28 minutes ago, Pryme8 said: why learn another language to program a language? Absolute garbage. https://www.google.com/#q=benefits+of+typescript Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 20, 2016 Share Posted December 20, 2016 https://www.eternalcoding.com/?p=103 PixelPush, Pryme8 and adam 3 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted December 20, 2016 Share Posted December 20, 2016 Class and Module Support. Just use contained functions... Static Type-checking. Just make sure you parse your variables... ES6 Feature Support just make a constants Object or prototype overwrite... Clear Library API Definition -irrelevant. Build-in Support for JavaScript Packaging -learn to package yourself... Syntax Similarity to Our Backend Languages (Java, Scala) Why use backend syntax for front end? Superset of JavaScript. Says it all... its just and extension of javascript... which means it would behoove one to learn the core system... Everything you can do in typescript you can do with regular js... and the quote of there is more then Javascript and CSS I know over 12 Programming languages fluently, and can read and pick up any structured language quicker then most... so yeah but no but yea... Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted December 20, 2016 Share Posted December 20, 2016 12 minutes ago, Deltakosh said: https://www.eternalcoding.com/?p=103 makes since. Quote Link to comment Share on other sites More sharing options...
adam Posted December 20, 2016 Share Posted December 20, 2016 5 minutes ago, Pryme8 said: Everything you can do in typescript you can do with regular js... Not as easily. Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted December 20, 2016 Share Posted December 20, 2016 I think that depends on how you were taught or learned. "Because tooling is awesome when working with a modern IDE" -- Touche... Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 20, 2016 Share Posted December 20, 2016 @Mars this should be better now Quote Link to comment Share on other sites More sharing options...
Wink Posted December 20, 2016 Share Posted December 20, 2016 @Deltakosh so what did you do? Quote Link to comment Share on other sites More sharing options...
Mars Posted December 21, 2016 Author Share Posted December 21, 2016 Hey everybody take easy About grunt I think that is a great tool (now we used "https://babeljs.io/", do the same thing but more performance), In the Ember world that call "ember-cli", it's a cmd tool. That can do "hot reload (you don't need press F5 all day)", "project init and update", "cmd generate code", "language translate". Perhaps this is an inappropriate example. I would like to express is "make the babylonJS more like a framework not a webgl tool". That is what I told my CTO this morning. By the way, do you use the babyonJS editor? Or everybody use blender? Now I use threeJS editor, because that looks more friendly. Update: (Wow, I found "http://editor.babylonjs.com/", but this is not show on babylonJS website) @Deltakosh It is still not working. Thanks again. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 21, 2016 Share Posted December 21, 2016 I use the editor obviously We also support blender, 3dsmax and unity Yeah we are still investigating to understand why the doc is so slow (while the website is ok....) Quote Link to comment Share on other sites More sharing options...
Wink Posted December 22, 2016 Share Posted December 22, 2016 @Deltakosh, I thought you'd fixed the slows on the docs, but apparently not yet. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 22, 2016 Share Posted December 22, 2016 Now it should be good (for real :)) Quote Link to comment Share on other sites More sharing options...
Raggar Posted December 22, 2016 Share Posted December 22, 2016 11 minutes ago, Deltakosh said: Now it should be good (for real :)) Running smooth now. Quote Link to comment Share on other sites More sharing options...
Wink Posted December 22, 2016 Share Posted December 22, 2016 Can you share what the problem was and the solution? Quote Link to comment Share on other sites More sharing options...
RaananW Posted December 22, 2016 Share Posted December 22, 2016 The server ran out of electricity powder, and the administrator forgot to fill it up. The Pico 735 extension was also acting funny, and overall the nginx server started getting really emotional. I made a threat to replace it with apache, and it actually worked. You know those servers, they sometimes need to be dealt with a firm attitude. Nockawa, jerome, JohnK and 6 others 9 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.