{"id":35454,"date":"2015-04-01T07:37:52","date_gmt":"2015-04-01T07:37:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/3d-model-viewer\/"},"modified":"2015-12-30T11:38:37","modified_gmt":"2015-12-30T11:38:37","slug":"3d-model-viewer","status":"closed","type":"plugin","link":"https:\/\/de.wordpress.org\/plugins\/3d-model-viewer\/","author":14357105,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.9","stable_tag":"1.9","tested":"4.2.39","requires":"4.0.0","requires_php":"","requires_plugins":"","header_name":"3D Model Viewer","header_author":"Joerg Viola","header_description":"","assets_banners_color":"","last_updated":"2015-12-30 11:38:37","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.joergviola.de","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/3d-model-viewer\/","header_author_uri":"http:\/\/www.joergviola.de","rating":4.8,"author_block_rating":0,"active_installs":70,"downloads":9402,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"5"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7","1.8","1.9"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1125122","resolution":"1","location":"assets"}},"screenshots":{"1":"The plugin in action"}},"plugin_section":[],"plugin_tags":[783,810,811,809,805],"plugin_category":[],"plugin_contributors":[86530],"plugin_business_model":[],"class_list":["post-35454","plugin","type-plugin","status-closed","hentry","plugin_tags-3d","plugin_tags-3d-model-display","plugin_tags-3d-model-viewer","plugin_tags-threejs","plugin_tags-webgl","plugin_contributors-joergviola","plugin_committers-joergviola"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/3d-model-viewer.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/3d-model-viewer\/assets\/screenshot-1.png?rev=1125122","caption":"The plugin in action"}],"raw_content":"<!--section=description-->\n<p>This plugin allows you to show your 3D models easily in your wordpress blog.<\/p>\n\n<p>Simply upload the model and all files references (eg. textures) to the wordpress media gallery, \nadd a shortcode to the page where the model should be shown and there you go.<\/p>\n\n<p>Currently, Collada DAE and OBJ and OBJ\/MTL files are supported.\nPlease file a request for other required file formats.<\/p>\n\n<p>The 3D stage is highly configurable: Define background, ambient or directional light \nas well as the cameras and your models position and scale.<\/p>\n\n<!--section=installation-->\n<p>Install this plugin from the wordpress plugin directory as usual and activate it.\nAdd the shortcode [3D], wherever you want your model to appear.\nHere are the arguments to this short code:<\/p>\n\n<ul>\n<li>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.<\/li>\n<li>width, height: Size of the 3d stage. If in percent, then relative to the size of the div around the canvas. Optional, default is 500x300.<\/li>\n<li>background: Background color. Optional, default is \"ffffff\".<\/li>\n<li>opacity: Background opacity. Optional, default is 1.<\/li>\n<li>ambient: Color of ambient light. Optional, default is \"404040\".<\/li>\n<li>directional: Direction and color of directional light source. Optional, default is \"1,1,1:ffffff\"<\/li>\n<li>modelposition: Point of origin of the model. Optional, default is \"0,0,0\".<\/li>\n<li>modelscale: Scale of the model. Optional, default is \"1,1,1\".<\/li>\n<li>class: CSS class of div around canvas. Optional, no default.<\/li>\n<li>style: CSS style of div around canvas. Optional, no default.<\/li>\n<li>id: id of div around canvas. Optional, default is \"stage\".<\/li>\n<li>fps: Number of animation frames per second. Optional, default is 30.<\/li>\n<li>material: URL of OBJ\/MTL file.<\/li>\n<li>camera: Camera coordinates, default is 50,50,30.<\/li>\n<li>fov: Camera field-of-view in degrees. Default is 75.<\/li>\n<\/ul>\n\n<p>Example:<\/p>\n\n<p>[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]<\/p>\n\n<!--section=faq-->\n<p>None yet.<\/p>\n\n<!--section=changelog-->\n<h4>1.9<\/h4>\n\n<ul>\n<li>Parameter rename: model-scale =&gt; modelscale, model-position =&gt; modelposition<\/li>\n<li>Multiple 3D stages on one page possible<\/li>\n<li>New material option for OBJ\/MTL<\/li>\n<li>New fov-parameter<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Find models not attached to page or when full URL is given<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Bugfix: Show model without interaction. Timing problem fixed. (I hope;-)<\/li>\n<li>Only load scripts when 3D shortcode present on page.<\/li>\n<li>Show uploaded models in media manager<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>OBJ and OBJMTL format supported.<\/li>\n<li>Performance tuning: Renders only on demand. <\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>width and size can be reltaive to the size of the div around the canvas (which in turn can be set via CSS). <\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Performance after moving camera optimized.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>CSS class and style and parameters.<\/li>\n<li>background opacity parameter. <\/li>\n<li>optional id parameter for more than one stage on a page.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<p>First version of the 3D plugin.\nSupports DAE files and extensive configuration of the stage.<\/p>","raw_excerpt":"Easily display your 3D-models. Upload to media gallery, add shortcode - ready!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/35454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=35454"}],"author":[{"embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/joergviola"}],"wp:attachment":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=35454"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=35454"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=35454"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=35454"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=35454"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=35454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}