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 sphere mapped background Function for 360-Degree Textured Background #6752

Closed
1 of 17 tasks
perminder-17 opened this issue Jan 19, 2024 · 4 comments · Fixed by #6808
Closed
1 of 17 tasks

Add sphere mapped background Function for 360-Degree Textured Background #6752

perminder-17 opened this issue Jan 19, 2024 · 4 comments · Fixed by #6808

Comments

@perminder-17
Copy link
Contributor

perminder-17 commented Jan 19, 2024

Increasing Access

After the merge of the issue #6735 I believe addition of a new function, sphereMappedBackground(img) with hopefully a better name maybe, to enhance the background rendering in p5.js will be worth it. This function aims to create a spherical mapping effect, where a simple 2D image transforms into a 360-degree panoramic view when applied as a texture to a large sphere. The intention is to provide a visually immersive experience when using orbitControl() within the scene. Implementing this feature will enhance the overall realism and user engagement in three-dimensional environments.

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build Process
  • Unit Testing
  • Internalization
  • Friendly Errors
  • Other (specify if possible)

Feature request details

Refer to the following p5.js sketch for a visual representation of the proposed feature: Sketch Link. The idea is to make the process of achieving a 360-degree image effect more accessible through a straightforward function.

@davepagurek
Copy link
Contributor

Thanks for writing up an issue for this! I think this piece is super helpful for tying scenes together that use imageLight.

@haroon10725
Copy link
Contributor

haroon10725 commented Feb 9, 2024

@davepagurek @Qianqianye Can I work on this?

@davepagurek
Copy link
Contributor

I think @perminder-17 is working on this one currently. It would be great to get your input on it too once a PR is up for review though!

@perminder-17
Copy link
Contributor Author

I think @perminder-17 is working on this one currently. It would be great to get your input on it too once a PR is up for review though!

Sorry for the delay. I was busy with university exams. I will continue working on this very soon🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants