Plugin / 3D Model Viewer

Joerg Viola



Install this plugin from the wordpress plugin directory as usual and activate it.
Add the shortcode [3D], wherever you want your model to appear.
Here are the arguments to this short code:

  • model: name of the model file in the media gallery or full URL. Mandatory. Using OBJ/MTL? – Use the material option below to specify path to the mtl file.
  • width, height: Size of the 3d stage. If in percent, then relative to the size of the div around the canvas. Optional, default is 500×300.
  • background: Background color. Optional, default is “ffffff”.
  • opacity: Background opacity. Optional, default is 1.
  • ambient: Color of ambient light. Optional, default is “404040”.
  • directional: Direction and color of directional light source. Optional, default is “1,1,1:ffffff”
  • modelposition: Point of origin of the model. Optional, default is “0,0,0”.
  • modelscale: Scale of the model. Optional, default is “1,1,1”.
  • class: CSS class of div around canvas. Optional, no default.
  • style: CSS style of div around canvas. Optional, no default.
  • id: id of div around canvas. Optional, default is “stage”.
  • fps: Number of animation frames per second. Optional, default is 30.
  • material: URL of OBJ/MTL file.
  • camera: Camera coordinates, default is 50,50,30.
  • fov: Camera field-of-view in degrees. Default is 75.


[3D width=”600″ height=”400″ background=”436523″ opacity=”0.5″ model=”dummy1.dae” camera=”50,50,300″ modelposition=”2,2,2″ modelscale=”2,2,2″ ambient=”BBBBBB” directional=”1,1,0:FFFF44″ class=”3d” style=”float: right” id=”coffee” fps=20]


The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.