Description
3D scene viewer allows you to create a 3D scene from 3D model files.
Supported file types
glTF
v2:.gltf
or the.glb
binary variant.FBX
v6400 or newer (binary).
Animated models are supported.
Lighting
The plugin is powered by three.js. All the five light types are presents.
- Ambient light
- Hemisphere light
- Directional light
- Spotlight
- Point light
This allows the creation of all kinds of lighting conditions.
Camera
Camera position and movement are configurable. You can restrict the viewer from moving the camera beyond certain angles.
Blocks
This plugin provides 1 block.
- 3D Scene Viewer
Installation
Uploading in WordPress Dashboard
- Navigate to the ‘Add New’ in the plugins dashboard
- Navigate to the ‘Upload’ area
- Select
3d-scene-viewer.zip
from your computer - Click ‘Install Now’
- Activate 3D Scene Viewer in the Plugin dashboard
Using FTP
- Download
3d-scene-viewer.zip
- Extract the
3d-scene-viewer
directory to your computer - Upload the
3d-scene-viewer
directory to the/wp-content/plugins/
directory - Activate 3D Scene Viewer in the Plugin dashboard
FAQ
-
What data will be imported from a file
-
All data supported by the file format (glTF or FBX) specification will be imported, except for cameras. There will be only one camera on the scene, and it’s the one created by the plugin.
Multiple animated objects can be imported all at once in one single file, but this might lead to problems when the animations have different lengths.
-
I imported a FBX file but I don’t see it on the preview and there is no error message
-
Most of the FBX files available on the web (or at least a lot of them) need to be scaled down to a factor of 0.01 to fit the scale of three.js (and all WebGL related stuff in general). After adding your FBX model to the scene, apply a scale of 0.01 on all the axes.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“3D Scene Viewer” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “3D Scene Viewer” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0
Initial release