Deze plugin is niet getest met de laatste drie grote versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Er kunnen ook compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

GLTF Media Type

Beschrijving

glTF is an emerging open standard for the transmission and storage of 3D models. This plugin allows you to upload these models in “Embedded JSON” and Binary formats. Currently, inline rendering is only supported for the JSON format.

The ultimate goal of this plugin is to provide a 3D “post type” (gltf_scene) which allows the user to compose an interactive scene populated by objects that represent other content from their site (e.g. a book containing posts in a particular category, a door leading to another page or site). It is also a goal to make this content work best in VR headsets, but with a workable fallback for browsers.

This plugin includes Three.js, a wonderful creation of Mr Doob and many others. I am massively impressed by their work. I am also not so great at PHP or Javascript, so please forgive my missteps.

It also has basic WebVR support, where available.

Installatie

  1. Unzip this plugin in the /wp-content/plugins/ directory
  2. Activate the “glTF Media Type” plugin through the ‘Plugins’ menu in WordPress
  3. Upload .gltf or .glb files via the Media browser, or via the Add Media button for posts/pages.
  4. Embed the 3D object in posts using a shortcode, like `[gltf_model scale=”1.0″ url=”http://mywordpresssite.com/wp-content/uploads/2016/12/model.gltf”]. Note: You may get that full URL from the Media browser by selecting the file and copying the link.
  5. You may also create a “GLTF Scene” using the “Scene” post type, and attaching a 3D model on the post edit page.

FAQ

None yet.

Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

Bijdragers & ontwikkelaars

“GLTF Media Type” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

Vertaal “GLTF Media Type” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

1.4

  • Added RayInput support

1.3

  • Added WebVR support

1.2

  • Fetch gltf_scene data as post via REST API

1.1

  • Add gltf_scene post type

1.0

  • First version, just basic rendering