An example for a react project with webgi engine using ScrollableCameraViewsPlugin.
About webgi: https://webgi.xyz/
live website : https://realvw-react-demo-webgi-scroll.vercel.app/
The app starts from ./src/App.js
you can find all the Webgi related code in ./src/WebGi.js
First install the dependencies:
npm install
To run the project in development mode:
npm start
Then navigate to http://localhost:1234/index.html in a web browser to see the default scene in a viewer.
The assets are stored in the assets
directory.
To build the project for production:
npm run build
Check the webgi manual for the latest version. To use the different version:
- Update the version number in
package.json
file for bothwebgi
and@types/webgi
. - Run
npm install
to update the dependencies. - Run
npm start
ornpm run build
to run or build the project.
For the latest version and documentation: WebGi Docs.
For license and terms of use, see the SDK License.