rebit Posted August 7, 2015 Share Posted August 7, 2015 Hi, im a friend of author (Ruggero) of this scene made entirely in Unity 5, i think why not convert to BabylonJS to be a new demo ? This is a hot scene made for Unity, i think this is the best Archviz for Unity 5 made today. Im looking for a experience users that can help in the conversion. Any help will be appreciated. Pls contact me. The hole scene have 1 Gb of size. The video of scene: https://www.youtube.com/watch?v=Rer7xyU_HnI The objetive is do the same as the 'Espilit' demo or 'The Car' by Michael Russeou. I think the results can be awesome. What i need to start: A index.html and index.js with the same camera as Espilit demo, i dont know how to do yet...Image FX activated like: - SSAO- DepthOfField- Floor Reflections- Bloom- Emissive objects- A little of Chromatic Aberration- Lens Flare- FXAA Antialiasing- Soft Shadows- Color Correction LUT support ? ( i dont know if exist in BabylonJS yet).- Light Shafts ( Light Scattering ). Like ? Lets do this new demo ? I want to learn with you guys ! I will try to make a simple 'export' with the new Unity 5 babylon export plugin and run to see whats happening. Sorry my english, is not my native language. Best, rebit Quote Link to comment Share on other sites More sharing options...
rebit Posted August 7, 2015 Author Share Posted August 7, 2015 Export initiated ! Quote Link to comment Share on other sites More sharing options...
rebit Posted August 7, 2015 Author Share Posted August 7, 2015 Export works like a charm ! Quote Link to comment Share on other sites More sharing options...
rebit Posted August 7, 2015 Author Share Posted August 7, 2015 No lucky yet... Quote Link to comment Share on other sites More sharing options...
Temechon Posted August 7, 2015 Share Posted August 7, 2015 I'm in ! I don't have a lot of time, but I can help you to visualize what yo uexport from Unity. Can you share either your babylon file + textures or the unity scene please ? Quote Link to comment Share on other sites More sharing options...
davrous Posted August 7, 2015 Share Posted August 7, 2015 Have you tried using our sandbox tool to debug: http://www.babylonjs.com/sandbox ? Your scene looks awesome! But it's probably too high quality for WebGL. Michel spends usually a lot of time optimizing the scenes for th web (back to the future or espilit & mansion for instance).Bug we're ready to help David Quote Link to comment Share on other sites More sharing options...
rebit Posted August 7, 2015 Author Share Posted August 7, 2015 Hi Davrous and Techmon, thanks for the interest. The scene is not mine, the author is my friend, and im trying to help him with your job. I got the permission of the author (Ruggero Corridori) to make this showcase for babylonJS, but i cannot share the scene yet, he ask me more time to sharing, because he is selling the scene on asset store (have 2 days only of publication), and .babylon can be imported on Blender and all models extracted, no ? This could be awesome if Michael have interest to help with the conversion too. I will invite Rugerro to this thread. When i try to import the scene on Babylon Sandbox im receiving this message: "Uncaught TypeError: Failed to execute 'readAsArrayBuffer' on 'FileReader': parameter 1 is not of type 'Blob'." The hole exported .babylon have 789Mb with full quality of textures. All textures are create with Metallic workflow on Substance Designer. I believe this is a great opportunity to make a showcase with this new Unity export plugin ! Quote Link to comment Share on other sites More sharing options...
RaananW Posted August 7, 2015 Share Posted August 7, 2015 Maybe a quick debug help, the only place this function is used is the ReadFile in Tools, and the only place the ReadFile is used is the last line of the Append function in scene loader - https://github.com/BabylonJS/Babylon.js/blob/615cc493c885f796517c194ceb33ec8c39d67eb2/src/Loading/babylon.sceneLoader.ts#L202 - and it seems like the file is not being converted to a Blob before using this function. It is also used here - https://github.com/BabylonJS/Babylon.js/blob/06c324932ab875e331dda7d59e7e1350a3f700c1/src/Tools/babylon.tools.ts#L291 , but the files here are already Blobs. So, I assume, creating a blob from the scene file will probably solve this? I don't want to hack around before I am sure this is the problem thou. Quote Link to comment Share on other sites More sharing options...
rebit Posted August 7, 2015 Author Share Posted August 7, 2015 This means can be a problem of the Unity exporter ? Quote Link to comment Share on other sites More sharing options...
RaananW Posted August 7, 2015 Share Posted August 7, 2015 Might be. Might also be a problem with babylon itself. Again, I haven'T debugged it further, but to me it seems like the sceneFileName in the Append function should be a Blob and not a string. I wonder - how does yout Load function look like? are you using file:// ? Quote Link to comment Share on other sites More sharing options...
rebit Posted August 7, 2015 Author Share Posted August 7, 2015 Im doing this ( animgif by LiceCAP great tool for tutorials), im trying to enable debug, but i have no idea https://github.com/BabylonJS/Babylon.js/wiki/Using-the-debug-layer Quote Link to comment Share on other sites More sharing options...
Temechon Posted August 7, 2015 Share Posted August 7, 2015 For your information, a babylon file cannot be loaded into Blender, and thus models cannot be exported.Feel free to PM me your babylon file and your textures if you need my help Quote Link to comment Share on other sites More sharing options...
rebit Posted August 7, 2015 Author Share Posted August 7, 2015 I sent you a PM. Quote Link to comment Share on other sites More sharing options...
rebit Posted August 7, 2015 Author Share Posted August 7, 2015 Updating ! With help from Temechon, the scene finally loads into BabylonJS; Now with textures optimized to 1024x1024 the hole scene have only 70 mb. Bellow the link, no progress bar, wait to load.http://www.magadan.com.br/archviz/ Good, now i need to lean how to apply effects and optimize the scene with lights, reflections and FX ( ssao, light scattering, etc) to be beautiful like ESPILIT demo. Thanks Temechon ! iiceman, Temechon, jerome and 1 other 4 Quote Link to comment Share on other sites More sharing options...
davrous Posted August 8, 2015 Share Posted August 8, 2015 Espilit is using baked textures and few real time effects. That's why it's fast & beautiful. But I'm very curious about the end result of your work. Thanks for sharing it! Quote Link to comment Share on other sites More sharing options...
3Dlove Posted August 11, 2015 Share Posted August 11, 2015 Hello, I'm very interesting by see your final result =) Here is the current result I can see :I think there is a problem of strechning / scaling in my navigator. Some advices :- add a manifest file (in order to not have console error)- add collisions to not allow to go though away walls- set camera sensibility slower- add an assets manager to show user the number of remaining streaming items to download like here : http://babylonjs.com/index.html?HILLVALLEY Great Job guy ! Quote Link to comment Share on other sites More sharing options...
rebit Posted August 16, 2015 Author Share Posted August 16, 2015 Thanks 3DLove, i have no idea how can i start to customize the controls and effects of the scene... I just need to add lights on Unity ? Im really need a tutorial 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.