ImageEn, unit iexVirtualBitmaps

TIEEquirectangularRenderer


Declaration

TIEEquirectangularRenderer = class(TIEVirtualBitmapProvider);



Description

Use TIEEquirectangularRenderer as bitmap provider for VirtualBitmapProvider property to display equirectangular images (Google Android PhotoSphere 360° panoramic images).


Methods and Properties

Public Method  Create
Public Property  CamFov
Public Property  CamHeading
Public Property  CamPitch
Public Method  DrawTo
Public Method  GetSegment
Public Property  Quality
Public Method  Render


Demo

Demo  Demos\Other\Photosphere\Photosphere.dpr


Example

ImageEnViewContainer.IO.LoadFromFile('panoimage.jpg');
ImageEnViewDisplayer.IEBitmap.VirtualBitmapProvider := TIEEquirectangularRenderer.Create(ImageEnViewContainer.IEBitmap, ImageEnViewContainer.IO.Params, false);
ImageEnViewDisplayer.Update();