{"id":4335,"date":"2021-04-03T16:20:43","date_gmt":"2021-04-03T15:20:43","guid":{"rendered":"https:\/\/www.katsbits.com\/codex\/?p=4335"},"modified":"2023-09-07T15:53:01","modified_gmt":"2023-09-07T14:53:01","slug":"accessory-light","status":"publish","type":"post","link":"https:\/\/www.katsbits.com\/codex\/accessory-light\/","title":{"rendered":"Accessory Light\/Lamp"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69fe6e32d0497\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69fe6e32d0497\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.katsbits.com\/codex\/accessory-light\/#description\" >Description<\/a><\/li><\/ul><\/nav><\/div>\n<p><video poster=\"https:\/\/www.katsbits.com\/images\/tutorials\/imvu\/accessory-light_mp4.jpg\" controls=\"controls\" width=\"100%\" height=\"auto\"><source src=\"https:\/\/www.katsbits.com\/media\/accessory light.mp4\" type=\"video\/mp4\" \/><!--<source src=\"https:\/\/www.katsbits.com\/images\/tutorials\/collections\/collection-shortcut.ogg\" type=\"video\/ogg\" \/><source src=\"https:\/\/www.katsbits.com\/images\/tutorials\/collections\/collection-shortcut.webm\" type=\"video\/webm\" \/>--><\/video><\/p>\n<h3><span class=\"ez-toc-section\" id=\"description\"><\/span>Description<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In this exercise we take a look at making a simple accessory light (light only) using the <a href=\"https:\/\/www.katsbits.com\/codex\/imvu-starter-files\/\">Accesory Starter File<\/a>. With the starter file open, female or male, a light or lamp object is placed in the scene, <i><b>Add \u00bb Light \u00bb Point<\/b><\/i>, then modified slightly to make it easier to manipulate. After positioning the light is linked to an accessory Armature, rtHand in this example, using <b>Parent<\/b>, with <b>Bone<\/b> as the target object to ensure the correct relationship. Once done, light and armature are exported and assembled in IMVU Classic and IMVU Studio.<\/p>\n<p><b>Duration<\/b>: total c. 20 mins (20:00).<br \/>\n<b>Info<\/b>: 1080p | c. 110 MB.<br \/>\n<b>Source<\/b>: <a href=\"https:\/\/www.katsbits.com\/files\/imvu\/katsbits - light accessory.zip\">KatsBits &#8211; Light Accessory<\/a> (zip c. 600 KB &#8211; *.fbx, *.blend).<br \/>\n<b>Product ID<\/b>: <a href=\"https:\/\/www.imvu.com\/shop\/product.php?products_id=54016566\" target=\"_blank\" rel=\"noopener\">Accessory Light &#8211; PID 54016566<\/a>.<\/p>\n<blockquote><p><b>Design note<\/b>: while it is possible to export lights using the default labelling, i.e. <b>Point[.n]<\/b> (Point, Point.001 etc.), if an accessory or furniture item includes more than one their respective identifiers should be changed to use IMVU&#8217;s nomenclature, i.e. <b>Omni[n]<\/b> (where [n] is an incremental number e.g. <b>Omni01<\/b>). To do this, select the item in the 3D View and in <b>Object Properties<\/b> [1] click to edit the default name, &#8216;Point&#8217; to &#8216;Omni01&#8217;, in the <b>Name<\/b> input field [2]. Alternatively double-click the corresponding entry in the <b>Outliner<\/b> [3] and type to change (press <b>Enter<\/b> to confirm).<\/p>\n<p><a href=\"https:\/\/www.katsbits.com\/images\/tutorials\/imvu\/accessory-light-name.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 98.5%; height: auto;\" src=\"https:\/\/www.katsbits.com\/images\/tutorials\/imvu\/accessory-light-name.jpg\" alt=\"Renaming a Light Object in Blender\" width=\"900px\" height=\"500px\" border=\"0\" \/><\/a><br \/>\n<i>With FBX it is possible to export Lights and other objects incorrectly labelled relative to what IMVU is looking for, while such items will import preference should be to correctly identify elements, <b>Point<\/b> to <b>Omni01<\/b> for a Light for example.<\/i><\/p>\n<p>By default <b>Light<\/b> entities are coloured or tinted adjusting RGB (Red, Green, Blue) values, <b>0 &#8211; 1.000<\/b> where <b>0<\/b> = no colour (dark\/black), <b>1.000<\/b> = full colour (bright\/white) &#8211; although Blender has a number of ways to express colour, HSV being the default, IMVU uses RGB values. To change a lights colour, select the object in the 3D View then in <b>Object Data Properties<\/b> [4] click the <b>Color<\/b> sampler [5] (white by default) then click or drag-select a colour from the wheel [6]. To darken or change the intensity of the colour click or drag-select the greyscale <b>Value<\/b> sidebar &#8211; to give the illusion of reduced brightness lights are &#8216;dimmed&#8217; by changing the assigned colours tint, i.e. making it a darker colour (omnidirectional lights use a fixed intensity by default and have minimal, noticeable, falloff or distance-fade). The values assigned, and colour represented, will then export out with the FBX.<\/p>\n<p><a href=\"https:\/\/www.katsbits.com\/images\/tutorials\/imvu\/accessory-light-color.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 98.5%; height: auto;\" src=\"https:\/\/www.katsbits.com\/images\/tutorials\/imvu\/accessory-light-color.jpg\" alt=\"Changing a lights colour and brightness\" width=\"900px\" height=\"500px\" border=\"0\" \/><\/a><br \/>\n<i>Lights IMVU are white and a of fixed brightness by default so colour is used to describe tint (RGB saturation) and value in terms of brightness &#8211; bright red and dark red light may have the same overall colour tint or saturation but not the same apparent value or brightness, the latter being darker means a dimmer light in IMVU.<\/i><\/p>\n<p>When using Parent to link Light to Armature make sure Bone is used as the parent type to establish the proper skeletal relationship &#8211; lights need to be seen as bones within a skeletal hierarchy rather than as objects in an object hierarchy, in other words <b>Light \u00bb Armature<\/b> is not the same as <b>Light \u00bb Bone<\/b>. In Object Properties [7], when parenting a Light to an Armature using <b>Bone<\/b> as the parent type [8], Blender tends to offset the objects because it uses the last bone in the Armatures hierarchy as the target or anchor not the root, i.e. <b>AttachmentNode<\/b> (undesired) instead of <b>AttachmentRoot<\/b> (desired) [9].<\/p>\n<p><a href=\"https:\/\/www.katsbits.com\/images\/tutorials\/imvu\/accessory-light-parent.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 98.5%; height: auto;\" src=\"https:\/\/www.katsbits.com\/images\/tutorials\/imvu\/accessory-light-parent.jpg\" alt=\"Setting up the Parent relationship\" width=\"900px\" height=\"500px\" border=\"0\" \/><\/a><br \/>\n<i>For lights to export correctly the accessory items skeletal hierarchy needs to be set up correctly so the object links to the <b>AttachmentRoot<\/b> bone within the Armature rather than the <b>[bone] (AttachmentRoot)<\/b> named Armature object itself.<\/i><\/p>\n<p>To change a lights colour after import and assembly, in IMVU Classic this can be done modifying the XSF file that sits in the IMVU project folder. To do this click the project folder icon above the 3D area in IMVU [10] and in the <b>File Explorer<\/b> that appears select and open the now available XSF file into NotePad or other text-capable editor. Find and change the <b>LIGHTCOLOR<\/b> variable [11], 0 for no colour (black), 1.0 for full colour &#8211; if file extensions are not visible the XSF may be identified by either\/or\/all &#8216;RootNode&#8217;, &#8216;AttachmentRoot&#8217;, &#8216;AttachmentNode&#8217; being in the files name.<\/p>\n<p>For IMVU Studio, changing lights after import by editing the raw XSF is not support, once the various XML files are imported (XSF, XMF, XRF, XAF, XPF) they become encrypted binary files that should not be edited.<\/p>\n<p><a href=\"https:\/\/www.katsbits.com\/images\/tutorials\/imvu\/accessory-light-xsf-color.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 98.5%; height: auto;\" src=\"https:\/\/www.katsbits.com\/images\/tutorials\/imvu\/accessory-light-xsf-color.jpg\" alt=\"Editing XSF Color\" width=\"900px\" height=\"500px\" border=\"0\" \/><\/a><br \/>\n<i>Changing light colour after import and assembly can be done in IMVU by editing the XSF file located in the project folder &#8211; a text-capable editor should be used to ensure no unusual, format or hidden characters are saved with the file.<\/i><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":4346,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,37,230],"tags":[575,194,775,776,212],"class_list":["post-4335","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blender","category-imvu","category-tutorials","tag-accessory","tag-imvu","tag-lights","tag-parent","tag-xsf"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/posts\/4335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/comments?post=4335"}],"version-history":[{"count":16,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/posts\/4335\/revisions"}],"predecessor-version":[{"id":5037,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/posts\/4335\/revisions\/5037"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/media\/4346"}],"wp:attachment":[{"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/media?parent=4335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/categories?post=4335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/tags?post=4335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}