WP Manifestindependent plugin directory
manifest / media / wordpress-plugin-babylonjs-viewer

Babylon.js Viewer

Allow users to view and add 3D models to their content with Babylon.js Viewer.

by JimJ92120 · github.com/jimj92120/wordpress-plugin-babylonjs-viewer

0stars
1forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/jimj92120/wordpress-plugin-babylonjs-viewer/archive/refs/heads/main.zip

Readme

wordpress-plugin-babylonjs-viewer

Allow users to view and add 3D models to their content with Babylon.js Viewer.


Requirements

For plugin installation

PHP >= 7.4
WordPress >= 5.9

For development

PHP >= 7.4
WordPress >= 5.9
npm >= 6.0
node >= 14.0

How to use

  1. Download the .zip file and install Babylon.js Viewer plugin in WordPress.

  2. Activate Babylon.js Viewer plugin.

  3. Add Babylon.js Viewer block to a page.

  4. Add the model URL to the block or select a model from the Media Library.

Model example: https://playground.babylonjs.com/scenes/BoomBox/BoomBox.gltf

Video Tutorial:

https://user-images.githubusercontent.com/57893611/213171974-18f0b380-10ba-4536-a991-e9de3e1dc5cb.mov


Development

  1. Install npm dependencies

    npm install
  2. Run wp-env environment

    npm run wp-env start
  3. Watch src/ directory and block files

    npm run start
  4. Build src/ directory and block files for production

    npm run build

Credits


Documentation

Read the full README on GitHub →

Releases

TagPublished
0.1.6 Feb 15, 2023
0.1.5 Jan 18, 2023
0.1.4 Jan 18, 2023
0.1.3 Jan 18, 2023
0.1.2 Jan 17, 2023
0.1.1 Jan 16, 2023
0.1.0 Jan 16, 2023

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.