Installing the SDK

Prerequisite: Leia Web Helper App

In order to view Lightfield content on the web, you need to install Leia's Web Helper App. This allows communication between browsers and firmware. Click here to download.

Install using npm

From the root folder of your WebGL project , you can add the SDK as a dependency.

$ npm install leiawebglsdkdemo

Once installed , you can import and consume the classes from the SDK

import { RenderController } from 'leiawebglsdk/src/RenderController'