360°全景视频播放器的实现原理

2020-02-27 58浏览

  • 1.360° HTY360Player
  • 2.pyTracer pySmallPT pySmallPPM ray tracing path tracing Progressive Photon Mapping
  • 3.—OpenGL Shader : Renderman
  • 4.—OpenGL Shader : Renderman
  • 5.HTY360Player Facebook 360 Videos YouTube 360° Videos
  • 6.
  • 7.HTY360Playerhttp://fir.im/8yln
  • 8.—> Shader
  • 9.HTY360Player • • iOS HTY360Player github.com/hanton/HTY360Player) OpenGL (https://Android Web
  • 10.
  • 11.1. 2. OpenGL 3. 4. 5. YCbCr RGB
  • 12.1/5
  • 13.API kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange : YUV (analog encoding) Y’CbCr (digital encoding) : 420
  • 14.OpenGL 2/5
  • 15.OpenGL
  • 16.3/5
  • 17.Vertex Shader The Vertex Shader is the programmable Shader stage in the rendering pipeline that handles the processing of individual vertices. Vertex shaders typically perform transformations to post-projection space, for consumption by the Vertex Post-Processing stage. : WiKi
  • 18.3D int ESUTIL_API esGenSphere(int numSlices, float radius, GLfloat ** vertices, GLfloat ** normals, GLfloat ** texCoords, GLuint ** indices)
  • 19.YCbCr RGB 4/5
  • 20.YCbCr RGB Fragment Shader A Fragment Shader is the Shader stage that will processes a Fragment generated by the Rasterization into a set of colors and a single depth value. The output of a fragment shader is a depth value, a possible stencil value (unmodified by the fragment shader), and zero or more color values to be potentially written to the buffers in the current framebuffers. : WiKi
  • 21.YUV420 -> RBG : YUV (analog encoding) Y’CbCr (digital encoding) : 420
  • 22.5/5
  • 23.glDrawElements GLKViewController - (void)update - (void)glkView:(GLKView*)viewdrawInRect:(CGRect)rect
  • 24.OpenGL Shader (Attributes & Uniform)
  • 25.Google VR Nokia OZO Facebook Surround 360 Gear 360
  • 26.Q&A
  • 27.