-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Increasing Access
The current implementation of orbitControl() does not seamlessly work with the imageLight() function, resulting in unexpected behavior. When using a 360-degree image and adding a sphere with imageLight(), the use of orbitControl() does not provide the expected interaction. It appears as though the sphere is static, while only the image responds to orbitControl().
However when we use texture() we can achieve the possible result but without other functions such as shininess().
20240102222110.mp4
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 enhancement details
Expected Behavior:
The orbitControl() should seamlessly interact with the imageLight() function. When a sphere with an imageLight() is present, the orbitControl should behave as if the image is fully embedded in the sphere. This enhancement would significantly improve user experience, especially when working with 360-degree images.