Seso7 Posted November 6, 2018 Share Posted November 6, 2018 Hi everyone! I'm trying to render my scene as an equirectangular image. Does anyone know how I can do this in a direct way? The only idea I had is to make 6 screenshot using BABYLON.Tools.CreateScreenshotUsingRenderTarget with 6 different cameras to make a cubemap and then convert it to a equirectangular. Other ideas? Thank you very much. Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted November 6, 2018 Share Posted November 6, 2018 2 kind of screenshot is available 1. you have product and you wanna make it like your sample 2. you have scene you wanna make sky cube Map witch is your problem? Quote Link to comment Share on other sites More sharing options...
Seso7 Posted November 6, 2018 Author Share Posted November 6, 2018 How can I do a sky cube map screenshot? Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted November 6, 2018 Share Posted November 6, 2018 http://www.html5gamedevs.com/topic/33501-make-environment-map-texture-from-playground-scene/ Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted November 6, 2018 Share Posted November 6, 2018 https://www.babylonjs-playground.com/#8E7IHP#22 Quote Link to comment Share on other sites More sharing options...
Seso7 Posted November 6, 2018 Author Share Posted November 6, 2018 11 minutes ago, NasimiAsl said: https://www.babylonjs-playground.com/#8E7IHP#22 I didn't understand what this playground does! :S Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted November 6, 2018 Share Posted November 6, 2018 i just rotate camera around mesh and read pixel when you wanna get product in 360' but in sky you rotate and get scene pixel 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.