{"id":3643,"date":"2014-05-01T10:53:01","date_gmt":"2014-05-01T08:53:01","guid":{"rendered":"http:\/\/www.book.artbeeweb.nl\/?p=3643"},"modified":"2014-05-08T18:49:50","modified_gmt":"2014-05-08T16:49:50","slug":"whats-the-environment-map-spherical-map-node-used-for","status":"publish","type":"post","link":"http:\/\/www.book.artbeeweb.nl\/?p=3643","title":{"rendered":"What\u2019s the Environment Map > Spherical Map node used for?"},"content":{"rendered":"<p>Nodes are the essential building blocks in the Advanced interface to the Poser Material Room. They are the graphical representation of mathematical function calls, that is: calculation procedures which turn parameters (inputs) to a result (output).<\/p>\n<p><strong>Intermediate<\/strong><\/p>\n<p>In order to show some kind of reflections in the render, the scene needs an environment to reflect. This might require the build of a complete scene behind the camera, which won\u2019t show except for its reflections. As this can be quite tedious and far from cost-effective, one can use image maps instead. For just mimicking blurred reflections of far-away objects, skies and landscapes any simple projection (mapping) of an appropriate image onto the reflection component will do. This however should be considered unsatisfactory when either sharper reflection has to be considered.<\/p>\n<p>Now, say, my scene is under a sky dome and on a ground floor, and an image is mapped to these environmental objects. In the scene, a single fully reflective object is present. Then: how would the dome and ground be reflected from that object (assuming there are no other things around to reflect)? Rendering full, crisp raytraced reflections from a complex shaped object can be time consuming.<\/p>\n<p>This is when applying a \u201cspherical environmental reflection map\u201d becomes useful. Just plug the Sphere Map (the only node in the Lighting &gt; Environment Map group) into the PoserSurface Reflection_Color (or Alternate_Diffuse) slot, and the image that might have been used for the sky dome into the Sphere-map Color slot. Now I\u2019ll see the same reflections, but I don\u2019t need the dome, and neither I need any raytracing for the reflections.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.book.artbeeweb.nl\/wp-content\/gallery\/postpmra\/PMRA.65.01.jpg\" alt=\"\" \/><\/p>\n<p>I might want to <strong>Color<\/strong> filter the image though, and I might want to <strong>Rotate<\/strong> it to match any sky dome actually used.<\/p>\n<p>Now, is this any different from a regular mapping of the image around the object? Sure it is, have a look at this:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.book.artbeeweb.nl\/wp-content\/gallery\/postpmra\/PMRA.65.02.jpg\" alt=\"\" width=\"\"800\"\" \/><\/p>\n<p>The right pawn has the tiling image mapped onto the object surface, in the Reflection or (alternate) diffuse component of the PoserSurface. The left pawn shows environmental spherical mapping, and looks like a mess at first sight. Unless I realize that the tiling image is mapped onto a (virtual) sky dome surrounding the scene, like the way the tiles are mapped onto the head ball of the right pawn. The \u2018converging point\u2019 where the tiles come together is not on the object itself, but somewhere straight above all objects, high in the sky.<\/p>\n<p>Then such a colored sky dome is reflected by the left pawn, towards the camera. And that is what the spherical mapped texture is showing, in a correct way. Where image mapping usually either depends on the shape of the object (UV mapping) or the position of the object in the scene (XYZ mapping), this Environmental Spherical Reflection Mapping depends on the position of the object under the dome, relative to the camera. When either the object moves, or the camera moves (or both), the mapping will get adjusted.<\/p>\n<p>Do we need it?<\/p>\n<p>The obvious advantage is render speed, the obvious disadvantage is: it does not reflect any objects in the scene, let alone portions of the same object, since these are not in the image used. So, for stills of filled scenes rendered on modern, fast PC\u2019s deploying IDL illumination and other raytracing demanding approaches, the use of the regular Reflect (or even Fresnel) node might be a better way.<\/p>\n<p>But for those \u201cshiny car on an empty road\u201d advert-like animations, deploying this environmental spherical reflection mapping might be a game winner. And it might serve well in test runs too.<\/p>\n<p style=\"text-align: right;\"><a href=\"\/?p=3645\">Next &gt;<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nodes are the essential building blocks in the Advanced interface to the Poser Material Room. They are the graphical representation of mathematical function calls, that is: calculation procedures which turn parameters (inputs) to a result (output). Intermediate In order to show some kind of reflections in the render, the scene needs an environment to reflect. &hellip; <a href=\"http:\/\/www.book.artbeeweb.nl\/?p=3643\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;What\u2019s the Environment Map > Spherical Map node used for?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[5],"tags":[145,133],"series":[127],"class_list":["post-3643","post","type-post","status-publish","format-standard","hentry","category-poser","tag-material-room","tag-poser","series-matroom-intermediate"],"_links":{"self":[{"href":"http:\/\/www.book.artbeeweb.nl\/index.php?rest_route=\/wp\/v2\/posts\/3643","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.book.artbeeweb.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.book.artbeeweb.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.book.artbeeweb.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.book.artbeeweb.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3643"}],"version-history":[{"count":3,"href":"http:\/\/www.book.artbeeweb.nl\/index.php?rest_route=\/wp\/v2\/posts\/3643\/revisions"}],"predecessor-version":[{"id":4308,"href":"http:\/\/www.book.artbeeweb.nl\/index.php?rest_route=\/wp\/v2\/posts\/3643\/revisions\/4308"}],"wp:attachment":[{"href":"http:\/\/www.book.artbeeweb.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3643"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.book.artbeeweb.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3643"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.book.artbeeweb.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3643"},{"taxonomy":"series","embeddable":true,"href":"http:\/\/www.book.artbeeweb.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fseries&post=3643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}