Jump to content

Panoramic View in BJS: 360° Equirectangular Photos and Videos?


Fabri
 Share

Recommended Posts

This should work already: http://www.babylonjs-playground.com/#11GAIH#20

Just provide a video with equirectangular data and you're good to go :)

 

Now regarding your first ask: http://www.babylonjs-playground.com/#11GAIH#22

I introduced the mirrored mode: reflectionTexture.coordinatesMode = BABYLON.Texture.FIXED_EQUIRECTANGULAR_MIRRORED_MODE;

Link to comment
Share on other sites

On 3/25/2017 at 6:12 PM, Fabri said:

Good news @MrVR,  I found that using video texture for panoramas it's possible!!!! 

Look at https://threejs.org/examples/webgl_video_panorama_equirectangular.html

So, now we need to wait for BJS "big dogs" (as @Wingnut call them) to know how to do with BJS... ;)

Jajaja yes I was looking at this last week, it is in my TODO list but before that I have to finish some stuff for the Unity exporter kit, please let me know if you get it to work but for sure this is a feature I'm dying to have 

Link to comment
Share on other sites

  • 3 weeks later...
7 minutes ago, MackeyK24 said:

Hey guys... Is it just me or does everyone NOT see the 'Funny Cone' shape at top and bottom when using Panorama Texture...

Take a look... Does ANYONE know how to get rid of the funny cone....

@Deltakosh Do you know why or better yet how to get rid of the funny cone shape

Using the FIXED MIRRORED MODE

http://www.babylonjs-playground.com/#11GAIH#23

But look at the funny cone on top and bottom... That should NOT be there ... RIGHT???

Link to comment
Share on other sites

  • 4 weeks later...
On ‎3‎/‎28‎/‎2017 at 2:18 AM, Deltakosh said:

This should work already: http://www.babylonjs-playground.com/#11GAIH#20

Just provide a video with equirectangular data and you're good to go :)

@Deltakosh Thanks for sharing snippet for playbacking 360 degree video. I updated the code with HLS 360 video link (http://www.babylonjs-playground.com/#P69U40#4),. I can hear the audio, but no video.

Does BJS video supports HLS 360 or am I missing anything silly?

When I playback the sample video link which you provided, I could see white 2D window (image attached) in the environment? What is that? Is it possible to hide that from Scene? In VR environment, when a user is playbacking 360 video and rotates his head, he could see the white window which will not be a great experience. 

Any help will be appreciated.

Thanks.

bjs_plane.png

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...