OBJ-MTL-Viewer Wordpress Plugin - Rating, Reviews, Demo & Download

OBJ-MTL-Viewer Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

This plugin allows viewing 3D models which are in .obj format and have material file in .mtl format. (Both files are required for this plugin to work.)

Shortcode Attributes:
Required Fields: (Plugin won’t work without these fields)
id : Any unique ‘String’. This id will be assigned to the HTML div element. e.g:
mtl : A string containing valid path to the .mtl material file.
obj : A string containing valid path to the .obj object file.

Other Fields:
position: A string that contains three ‘space-seperated’ numeric values which are x, y and z position for ‘camera’. Default is 200, 200, 300 which gives an isometric view of the model.
fov: A numberic value defining the field of view of the camera.
ambient-light: A string containing two ‘space-seperated’ values, the light color and light intensity. Ambient light is applied to the model from all directions.
directional-light: A string containing two ‘space-seperated’ values, the light color and light intensity. Directional light is applied to the model only from the front direction.
bg-color: String that contains the color value for the background of the renderer. It can be any CSS supported value.

Example Usage :
[OBJ_MTL_Viewer id=”model1″ mtl=”example.com/model.mtl” obj=”example.com/model.obj” bg-color=”green” ambient-light=”white 0.5″ directional-light=”#fff 1.2″ position=”0 400 300″ fov=”10″]

Screenshots

No screenshots provided


Reviews & Comments