gmv
The Google Model Viewer (GMV) is a web component designed for rendering interactive 3D models. The GMV field in Drupal enables users to upload and showcase their 3D files in .zip format. The file format must adhere to the glTF standard for compatibility. For more information on the glTF format, visit Sketchfab's glTF features.
With the GMV field, you can upload, configure, and display stunning 3D models directly in your Drupal content.
Installation
To install the GMV module in Drupal, follow the module installation guide.
Usage
- Create a GMV Field: Add a Three Dee Object field type to your desired content type.
- Upload 3D Files: Create new content and upload your .zip file containing the 3D model.
- Configure Properties: Customize 3D model properties based on the available options.
Options
Leverage the customization options provided by Model Viewer to enhance your 3D models:
- Camera Controls: Enable or disable user interaction with the camera.
- Touch-Action CSS Property: Adjust touch-action behavior for improved mobile compatibility.
- Shadow Intensity: Define the shadow intensity for the 3D object.
- Height: Set the height of the 3D object in pixels.
- Width: Set the width of the 3D object in pixels.
Supported Formats
- glTF (.gltf): Fully supported.
- GLB (.glb): Support under development.
Other formats will be supported in future updates.
--------------------------------------------------------------------------------------------------------
By integrating the GMV field into your Drupal site, you can create engaging, interactive content with 3D models. Start uploading and showcasing your 3D creations today!