Kesshi Posted June 9, 2016 Share Posted June 9, 2016 I want to create a screenshot with an arbitrary size of my scene. The problem is that generated image looks stretched. This is what i get: This is what i want/expect: The playground link: http://www.babylonjs-playground.com/#VWWMH#0 How can i create a screenshot with any given size without stretching the scene? Quote Link to comment Share on other sites More sharing options...
Kesshi Posted June 13, 2016 Author Share Posted June 13, 2016 No one else with this problem? How do others create screenshots? I have the requierment to genreate a Full-HD (16:9) screenshot independently of the current aspect ratio of the browser window/GL canvas. According to the documentation it should work ( https://doc.babylonjs.com/tutorials/Render_Scene_on_a_PNG ) A bug? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 13, 2016 Share Posted June 13, 2016 It's a bug..Will be fixed with next commit Kesshi 1 Quote Link to comment Share on other sites More sharing options...
Kesshi Posted June 13, 2016 Author Share Posted June 13, 2016 1 hour ago, Deltakosh said: It's a bug..Will be fixed with next commit Good that you are back. I hope you had a nice time :-) Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 13, 2016 Share Posted June 13, 2016 I did But I missed you guys Kesshi 1 Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted October 17, 2016 Share Posted October 17, 2016 CreateScreenshot is not work in this BJS 2.5 i forget set this again : {preserveDrawingBuffer: true} 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.