prvi_treti Posted August 18, 2015 Share Posted August 18, 2015 Hello there, I intend to include a trimetric map as inline element for a browser based game, but as it is mostly for viewing purposes player should see map as static image at worst case (webGL unavailable/slow) . Current plan is rendering terrain server side in chunks and using with sprites at client side. So , question is (as title suggest) does Babylon.JS supports/allows serverside rendering? Thanks in advance, Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted August 18, 2015 Share Posted August 18, 2015 BabylonJS is built on webGL, so I doubt it. Quote Link to comment Share on other sites More sharing options...
prvi_treti Posted August 18, 2015 Author Share Posted August 18, 2015 Actually seems there is room for achieving this , at least for three.js apparently as seen @ http://stackoverflow.com/questions/19162510/how-do-i-render-three-js-in-node-js leading to https://github.com/nulltask/node-three.js Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 18, 2015 Share Posted August 18, 2015 Three.js has a software option (the canvas renderer) that we do not provide (on purpose). So unfortunately Babylon.js cannot render server side Quote Link to comment Share on other sites More sharing options...
prvi_treti Posted August 18, 2015 Author Share Posted August 18, 2015 Three.js has a software option (the canvas renderer) that we do not provide (on purpose). So unfortunately Babylon.js cannot render server side May I ask reason behind this? (Wondering if not worth the trouble or a technical reason) Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 20, 2015 Share Posted August 20, 2015 Babylon.js is highly optimized for webgl and adding an abstraction layer just for having a canvas rendering support where you can barely render a cube is not worth the trouble Quote Link to comment Share on other sites More sharing options...
prvi_treti Posted August 20, 2015 Author Share Posted August 20, 2015 Babylon.js is highly optimized for webgl and adding an abstraction layer just for having a canvas rendering support where you can barely render a cube is not worth the trouble Fair enough, will check if can use a solution like https://github.com/stackgl/headless-gl/ 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.