{"id":79169,"date":"2017-12-22T10:23:16","date_gmt":"2017-12-22T10:23:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/obj-mtl-viewer\/"},"modified":"2017-12-22T10:23:16","modified_gmt":"2017-12-22T10:23:16","slug":"obj-mtl-viewer","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/obj-mtl-viewer\/","author":15849901,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"trunk","tested":"4.7.33","requires":"4.7","requires_php":"5.2","requires_plugins":"","header_name":"OBJ-MTL-Viewer","header_author":"Manoj Bahuguna","header_description":"Allows Viewing of 3D models using their Object(.obj) and Material(.mtl) files","assets_banners_color":"","last_updated":"2017-12-22 10:23:16","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":10,"downloads":918,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[151008,15680,151009],"plugin_category":[],"plugin_contributors":[151010],"plugin_business_model":[],"class_list":["post-79169","plugin","type-plugin","status-closed","hentry","plugin_tags-3d-renderer","plugin_tags-3d-viewer","plugin_tags-obj-mtl-viewer","plugin_contributors-manojbahuguna","plugin_committers-blueantdigital"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/obj-mtl-viewer.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.)<\/p>\n\n<p>Shortcode Attributes:\nRequired Fields: (Plugin won't work without these fields)\n  id : Any unique 'String'. This id will be assigned to the HTML div element. e.g: \n  mtl : A string containing valid path to the .mtl material file.\n  obj : A string containing valid path to the .obj object file.<\/p>\n\n<p>Other Fields:\n  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.\n  fov: A numberic value defining the field of view of the camera.\n  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.\n  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.\n  bg-color: String that contains the color value for the background of the renderer. It can be any CSS supported value.<\/p>\n\n<p>Example Usage : \n[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\"]<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin using given zip file and Activate the plugin.<\/li>\n<li>Use the shortcode [OBJ_MTL_Viewer] wherever required with the necessary attributes.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>Q. I can't see my model rendered properly or at all even after using all required attributes with valid values.\nA. You could to try changing the 'position' and 'fov' attributes in your shortcode.<\/p>\n\n<p>Q. My models are too light or dark.\nA. Experiment with 'ambient-light' and 'directional-light' attributes to change color and intensity of lights used.<\/p>\n\n<p>Q. My models are tilted\/rotated\/inverted.\nA. You can use 'rotation' shortcode attribute to change the rotation of the model.<\/p>\n\n<p>Q. I want to change the height\/width of the renderer.\nA. Use the 'obj_mtl-asset-renderer' class in the stylesheet to change the width\/height of the renderer.<\/p>\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Install the plugin using given zip file and Activate the plugin.<\/li>\n<li>Use the shortcode [OBJ_MTL_Viewer] wherever required with the necessary attributes.<\/li>\n<\/ol><\/dd>\n\n<\/dl>","raw_excerpt":"A wordpress plugin to view 3D OBJ+MTL Models.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/79169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=79169"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/blueantdigital"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=79169"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=79169"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=79169"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=79169"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=79169"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=79169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}