Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Grayscale Depth Map support for Dome #10129

Closed
jaider opened this issue Apr 2, 2021 · 1 comment
Closed

Add Grayscale Depth Map support for Dome #10129

jaider opened this issue Apr 2, 2021 · 1 comment
Assignees
Labels
Milestone

Comments

@jaider
Copy link

jaider commented Apr 2, 2021

I am trying to add a depth map to a Panoramic 360 view (PG #WP9WDU)
I see in ThreeJS achieving this effect using 2 images (one 360 photo and grayscale depth map), similar to the code of BabylonJS - Height Map.
ThreeJS Example: https://threejs.org/examples/?q=panorama#webxr_vr_panorama_depth

Discussion
https://forum.babylonjs.com/t/add-depth-map-support-for-dome/19491

FYI @RaananW

@deltakosh deltakosh added this to the 5.0 milestone Apr 2, 2021
@RaananW
Copy link
Member

RaananW commented Jul 30, 2021

I believe this can be closed.

This playground - https://playground.babylonjs.com/#WP9WDU#31 - shows how to achieve this without changing the photodome class. Adding the parameters required for a displacement map will pollute the configuration object.

@RaananW RaananW closed this as completed Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants