Jump to content

[SOLVED] Suggestions for rendering 3D-Background?


javalang
 Share

Recommended Posts

Hello,

I'd like to get some suggestions for how to make a 3D-background from images. Let me explain a bit more: given two sets of images for a cubemap/skybox (one set for each eye), how to render each cubemap separately? In a normal VR-scene the camera renders twice (one render for each eye) for the same object. For stereo backgrounds IMHO the VR-camera also has to render twice but for different objects on the same place. How could I solve this?

Hopefully the question is not too complicated and makes sense,

thanks for input

Link to comment
Share on other sites

  • 2 months later...

Hi,

Thanks for solving this one, we had the same issue !

Still one issue, leftCamera and rightCamera does not seem to be ready once the webVRFreeCamera is instantiated

See this one : http://playground.babylonjs.com/#QTTH9F it fails when trying to access leftCamera

But this one : http://playground.babylonjs.com/#QTTH9F#2 is ok with the timeout

 

Is there already an "onLoad" event when can register to ? camera.onReady does not seem to be the one.

Thanks for your inputs !

Link to comment
Share on other sites

3 hours ago, SvenFrankson said:

Hi,

Thanks for solving this one, we had the same issue !

Still one issue, leftCamera and rightCamera does not seem to be ready once the webVRFreeCamera is instantiated

See this one : http://playground.babylonjs.com/#QTTH9F it fails when trying to access leftCamera

But this one : http://playground.babylonjs.com/#QTTH9F#2 is ok with the timeout

 

Is there already an "onLoad" event when can register to ? camera.onReady does not seem to be the one.

Thanks for your inputs !


Seems fine when setting a rigMode, i don't really know the whole VR thing, so i'm not sure if it's a bug of some kind that it doesn't work with default. @Deltakosh ?
http://playground.babylonjs.com/#QTTH9F#5

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...