SW 중심대학 OSS GIT 서버 박건태, 이승준, 고기완, 이준호 새로운 배포
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
4.0 KiB

4 years ago
  1. # About XR Environment Probe Subsystem
  2. The purpose of this subsystem is to provide an interface for managing and interacting with XR environment
  3. probes.
  4. Environment probes are an XR technique of capturing real-world imagery from a camera and organizing that information
  5. into an environment texture, such as a cube map, that contains the view in all directions from a certain point in the
  6. scene. Rendering 3D objects using this environment texture allows for real-world imagery to be reflected in the
  7. rendered objects. The result is generally realistic reflections and lighting of virtual objects as influenced by the
  8. real-world views.
  9. In an XR application, environment probe functionality provides valuable lighting and reflection data from the
  10. real-world views that are used by the renderer to enhance the appearance of the rendered objects allowing for the
  11. virtual scene to blend better with the real-world environment. The following image illustrates the use of the
  12. environment texture from an environment probe applied to a sphere as a reflection map.
  13. ![Sphere with a reflection map from an environment probe](images/ar-environment-probe-reflection-example.png)
  14. ## Environment probes
  15. An environment probe is a location in space at which environment texturing information is captured. Each environment
  16. probe has a scale, orientation, position, and bounding volume size. The scale, orientation, and position properties
  17. define the transformation of the environment probe relative to the AR session origin. The bounding size defines the
  18. volume around the environment probes position. An infinite bounding size indicates that the environment texture may be
  19. used for global lighting whereas a finite bounding size expresses that the environment texture captures the local
  20. lighting conditions in a specific area surrounding the environment probe.
  21. Environment probes may be placed at locations in the real-world to capture the environment information at each probe
  22. location. The placement of environment probes occurs via two different mechanisms:
  23. - Manual placement
  24. Environment probes are manually placed in the scene. To achieve the most accurate environment information for a
  25. specific virtual object, increasing the proximity of an environment probe to the location of the virutal object
  26. improves the quality of the rendered object. Thus, manually placing an environment probe in or near important virtual
  27. objects results in the most accurate environment information to be produced for that object.
  28. Furthermore, if a virtual object is moving and the path of that movement is known, placing multiple environment
  29. probes along the movement path allows the rendering of that object to better reflect the motion of the virtual object
  30. through the real-world environment.
  31. - Automatic placement
  32. Providing implementations may implement their own algorithms for choosing how and where to best place environment
  33. probes to achieve a good quality of environment information. Typically, the determination for automatic environment
  34. probe placement relies on key feature points that have been detected in the real-world environment. The methodology
  35. for making these automatic placement choices is completely in the control of the providing implementation.
  36. Automatically placed environment probes provide a good overall set of environment information for the detected
  37. real-world features. However, manually placing environment probes at the locations of key virtual scene objects allow
  38. for improved environmental rendering quality of those important virtual objects.
  39. # Using XR Environment Probe Subsystem
  40. This package defines only the abstract interface for interacting with environment probe functionality. To use this
  41. functionality in an application, you need to install a package that provides an implementation for the environment
  42. probe functionality.
  43. This package adds new C# APIs for interacting with XR environment probe functionality. Refer to the
  44. [Scripting API](../api/index.html) documentation for working with the environment probe interface.