3.1.0 release (2018-07-30)
Summary
PanoViewer
Feature
- Added new Cubemap type (CUBESTRIP) with faster rendering (#218)
- Support Equi Angular Cubemap (EAC)(#220)
- Add Type definition for TypeScript support (#219)
- Trigger an event on rendering failure (#190)
Refactoring
- Replace WheelInput with WheelInput of Axes (#83)
SpinViewer
- No change
Details
PanoViewer
1. Added new Cubemap type (CUBESTRIP) with faster rendering
Add CUBESTRIP to existing ProjectionType
New Type Added
// PanoViewer.ProjectionType
ProjectionType {
EQUIRECTANGULAR: "equirectangular",
CUBEMAP: "cubemap",
CUBESTRIP: "cubestrip" // 3.1 new feature
}
How it works differently
Draw texture images directly into the Shader without going through the Canvas
Performance improvement
2. Support Equi Angular Cubemap (EAC)
Currently supported only in CUBESTRIP
Increase pixel uniformity by distributing the concentration of pixels concentrated in a specific area
In the figure below, the closer the pixel value is to blue, the higher the pixel density is.
And the closer to red, the lower the density of pixels.
Reference: https://blog.google/products/google-ar-vr/bringing-pixels-front-and-center-vr-video/