Samuel Girardin Posted May 6, 2015 Share Posted May 6, 2015 Hi guys, My project Character Study (http://www.visualiser.fr/Babylon/character/default.htm) will be showcase at the 3d web fest in San Francisco the May 13th 2015. That's pretty cool. I'm about 12 hours of flight of SF, so someone of the web3dfest team will do it for me. More info here : http://www.3dwebfest.com/ Cheers ! sam JCPalmer and Wingnut 2 Quote Link to comment Share on other sites More sharing options...
Temechon Posted May 6, 2015 Share Posted May 6, 2015 Congrats You really deserve it, your demo is awesome ! Quote Link to comment Share on other sites More sharing options...
Samuel Girardin Posted May 6, 2015 Author Share Posted May 6, 2015 And for this very special occasion I will port character study to bjs 2.1 (was 1.14) and [edit : maybe ] embed oimo in a worker. Wingnut 1 Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted May 6, 2015 Share Posted May 6, 2015 If you are going to do that, check changes in shadows. DK "leaked" his SIMD demo. The scene is very similar from a shadow point of view. The shadows seem better than yours. http://www.babylonjs.com/simd.html Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted May 6, 2015 Share Posted May 6, 2015 Duh, a reflection is not a shadow. Temechon 1 Quote Link to comment Share on other sites More sharing options...
Samuel Girardin Posted May 7, 2015 Author Share Posted May 7, 2015 @jcpalmer But it's true my shadow are quite bad in 1.14 version. I will see if I can improve it with 2.1. Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted May 7, 2015 Share Posted May 7, 2015 My first thought was, based on the 2.1 update description for shadows: - Complete shadows code rework: New bias property for ShadowGenerator, new orthogonal shadows for directional shadows, automatic projection size for directional lights, new BlurVarianceShadowMap filter. See [demo](http://www.babylonjs.com/?SOFTSHADOWS). Documentation updated [here](http://babylondoc.azurewebsites.net/page.php?p=22151) ([deltakosh](http://www.github.com/deltakosh))Are there any improvements just switching to 2.1? Quote Link to comment Share on other sites More sharing options...
Samuel Girardin Posted May 7, 2015 Author Share Posted May 7, 2015 @jcpalmer It's done, it s a perfect past of the 1.14 version. I made the same change in 2.1 that I made in 1.14 (very minor change). Shadows don't render the same way. 1.14 is here 2.1 is here For the shadow here is the only declaration : Basis.shadowGenerator = new BABYLON.ShadowGenerator(2048 , this.light); sam Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 7, 2015 Share Posted May 7, 2015 You can use shadowGenerator.useBlurVarianceShadowMap = true Quote Link to comment Share on other sites More sharing options...
Samuel Girardin Posted May 7, 2015 Author Share Posted May 7, 2015 I ve already did try that, it s better, I have a shared desktop with a guy from autodesk (he will showcase for me my project), and we will check the performance issues with this new setting (depending of the hardware he has..) Quote Link to comment Share on other sites More sharing options...
Dad72 Posted May 7, 2015 Share Posted May 7, 2015 Hi Sam, Maybe adding the bias to 0 for the useBlurVarianceShadowMap Basis.shadowGenerator.useBlurVarianceShadowMap = true;Basis.shadowGenerator.bias = 0;And put the light less in height (position.y: 3000 is much)this.light.position = new BABYLON.Vector3(100, 100, 50); 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.