{"id":143,"date":"2015-10-14T15:17:32","date_gmt":"2015-10-14T15:17:32","guid":{"rendered":"http:\/\/osiris.itabc.cnr.it\/scenebaker\/?p=143"},"modified":"2015-10-16T15:25:18","modified_gmt":"2015-10-16T15:25:18","slug":"light-probing-system-is-here","status":"publish","type":"post","link":"https:\/\/osiris.itabc.cnr.it\/scenebaker\/index.php\/2015\/10\/14\/light-probing-system-is-here\/","title":{"rendered":"Light Probing system is here"},"content":{"rendered":"<p style=\"text-align: justify;\">A new massive update for WebGL\u00a0<a href=\"https:\/\/osiris.itabc.cnr.it\/scenebaker\/index.php\/projects\/aton\/\">Aton FrontEnd<\/a> has been deployed.<br \/>\nThe real-time lighting component &#8211; including GLSL vertex and fragment shaders &#8211; has been completely rewritten to feature a full light probing system, with\u00a0advanced per-fragment effects.<\/p>\n<p style=\"text-align: justify;\">The FrontEnd is now able to manage <strong>ambient occlusion maps<\/strong>,\u00a0<strong>normal-maps<\/strong>, <strong>specular-maps, fog<\/strong> and other information to correctly render different materials and lighting effects using\u00a0a\u00a0modern, <em>per-fragment<\/em>\u00a0approach. Note <strong>LPs<\/strong> also contain an emission map, to consistently define light sources and also their shapes. Consistent rendering of normal maps required special attention regarding efficient computation with\u00a0<a href=\"https:\/\/www.opengl.org\/sdk\/docs\/man\/html\/dFdx.xhtml\" target=\"_blank\">GLSL fragment derivatives<\/a> (this will be explained in a separate post).<\/p>\n<figure id=\"attachment_156\" aria-describedby=\"caption-attachment-156\" style=\"width: 1267px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/seth.itabc.cnr.it\/services\/viewer.php?ml=chrysippus\/&amp;pano=3L.jpg\" target=\"_blank\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-156 size-full\" src=\"https:\/\/osiris.itabc.cnr.it\/scenebaker\/wp-content\/uploads\/2015\/10\/chrys-normap-offon.jpg\" alt=\"chrys-normap-offon\" width=\"1277\" height=\"876\" srcset=\"https:\/\/osiris.itabc.cnr.it\/scenebaker\/wp-content\/uploads\/2015\/10\/chrys-normap-offon.jpg 1277w, https:\/\/osiris.itabc.cnr.it\/scenebaker\/wp-content\/uploads\/2015\/10\/chrys-normap-offon-300x206.jpg 300w, https:\/\/osiris.itabc.cnr.it\/scenebaker\/wp-content\/uploads\/2015\/10\/chrys-normap-offon-1024x702.jpg 1024w\" sizes=\"(max-width: 1277px) 100vw, 1277px\" \/><\/a><figcaption id=\"caption-attachment-156\" class=\"wp-caption-text\">Chrysippus Head with LP: left without normal maps, right with normal maps. 3D Model created by E. Demetrescu<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">You can interactively change lighting orientation by holding ALT key and moving the mouse around. <strong>Try it live<\/strong> with:<\/p>\n<ul>\n<li><a href=\"http:\/\/seth.itabc.cnr.it\/services\/viewer.php?ml=samplecube\/&amp;pano=3L.jpg\" target=\"_blank\">This sample cube and a triple-light light probe<\/a>.<\/li>\n<li><a href=\"http:\/\/seth.itabc.cnr.it\/services\/viewer.php?ml=samplebarn\/&amp;pano=faug.jpg&amp;params\" target=\"_blank\">This sample barn model<\/a>, also play around with parameters in real-time.<\/li>\n<li>The <a href=\"http:\/\/seth.itabc.cnr.it\/services\/viewer.php?ml=chrysippus\/&amp;pano=3L.jpg\" target=\"_blank\">head of Chrysippus<\/a><\/li>\n<\/ul>\n<figure id=\"attachment_165\" aria-describedby=\"caption-attachment-165\" style=\"width: 1332px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/seth.itabc.cnr.it\/services\/viewer.php?ml=samplebarn\/&amp;pano=faug.jpg&amp;params\" target=\"_blank\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-165 size-full\" src=\"https:\/\/osiris.itabc.cnr.it\/scenebaker\/wp-content\/uploads\/2015\/10\/lp-barn.jpg\" alt=\"lp-barn\" width=\"1342\" height=\"600\" srcset=\"https:\/\/osiris.itabc.cnr.it\/scenebaker\/wp-content\/uploads\/2015\/10\/lp-barn.jpg 1342w, https:\/\/osiris.itabc.cnr.it\/scenebaker\/wp-content\/uploads\/2015\/10\/lp-barn-300x134.jpg 300w, https:\/\/osiris.itabc.cnr.it\/scenebaker\/wp-content\/uploads\/2015\/10\/lp-barn-1024x458.jpg 1024w\" sizes=\"(max-width: 1342px) 100vw, 1342px\" \/><\/a><figcaption id=\"caption-attachment-165\" class=\"wp-caption-text\">Left with LP disabled, right with LP enabled. Click to open live demo and play with parameters<\/figcaption><\/figure>\n<figure id=\"attachment_147\" aria-describedby=\"caption-attachment-147\" style=\"width: 1202px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/seth.itabc.cnr.it\/services\/viewer.php?ml=vhlab\/terrains\/vrome-wgl\/vhlab__vrome-wgl_L0_X0_Y0_subtile.osgjs&amp;pano=faug.jpg&amp;pov=287508.972%204643931.399%201238.125%20290835.418%204644931.098%2041.554\" target=\"_blank\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-147 size-full\" src=\"https:\/\/osiris.itabc.cnr.it\/scenebaker\/wp-content\/uploads\/2015\/10\/lp-landscapes.jpg\" alt=\"lp-landscapes\" width=\"1212\" height=\"1024\" srcset=\"https:\/\/osiris.itabc.cnr.it\/scenebaker\/wp-content\/uploads\/2015\/10\/lp-landscapes.jpg 1212w, https:\/\/osiris.itabc.cnr.it\/scenebaker\/wp-content\/uploads\/2015\/10\/lp-landscapes-300x253.jpg 300w, https:\/\/osiris.itabc.cnr.it\/scenebaker\/wp-content\/uploads\/2015\/10\/lp-landscapes-1024x865.jpg 1024w\" sizes=\"(max-width: 1212px) 100vw, 1212px\" \/><\/a><figcaption id=\"caption-attachment-147\" class=\"wp-caption-text\">Light Probing applied to multi-resolution terrain datasets. 3D terrains generated by ARIADNE Landscape Services<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">These new features also apply to terrain datasets and, generally speaking, to all multi-resolution 3D assets published through Aton&#8230; Have a look at\u00a0<a href=\"http:\/\/seth.itabc.cnr.it\/services\/viewer.php?ml=vhlab\/terrains\/vrome-wgl\/vhlab__vrome-wgl_L0_X0_Y0_subtile.osgjs&amp;pano=faug.jpg&amp;pov=287508.972%204643931.399%201238.125%20290835.418%204644931.098%2041.554\" target=\"_blank\">this landscape<\/a> generated using\u00a0<a href=\"http:\/\/landscape.ariadne-infrastructure.eu\" target=\"_blank\">ARIADNE Landscape Service.<\/a>\u00a0Yes, that means new options will be added soon to terrain service for\u00a0processing multiple maps\u00a0(i.e. specular maps for lakes, rivers, etc.) for 3D terrain datasets published online.<\/p>\n<figure id=\"attachment_149\" aria-describedby=\"caption-attachment-149\" style=\"width: 854px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/osiris.itabc.cnr.it\/scenebaker\/wp-content\/uploads\/2015\/10\/earth-shot2.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-149 size-full\" src=\"https:\/\/osiris.itabc.cnr.it\/scenebaker\/wp-content\/uploads\/2015\/10\/earth-shot2.jpg\" alt=\"earth-shot2\" width=\"864\" height=\"500\" srcset=\"https:\/\/osiris.itabc.cnr.it\/scenebaker\/wp-content\/uploads\/2015\/10\/earth-shot2.jpg 864w, https:\/\/osiris.itabc.cnr.it\/scenebaker\/wp-content\/uploads\/2015\/10\/earth-shot2-300x174.jpg 300w\" sizes=\"(max-width: 864px) 100vw, 864px\" \/><\/a><figcaption id=\"caption-attachment-149\" class=\"wp-caption-text\">An Earth model with diffuse, normal and specular maps with unreal stars<\/figcaption><\/figure>\n<p style=\"text-align: justify;\"><strong>More info and details will\u00a0soon be published. Stay tuned.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A new massive update for WebGL\u00a0Aton FrontEnd has been deployed. The real-time lighting component &#8211; including GLSL vertex and fragment shaders &#8211; has been completely rewritten to feature a full light probing system, with\u00a0advanced per-fragment effects. The FrontEnd is now able to manage ambient occlusion maps,\u00a0normal-maps, specular-maps, fog and other information to correctly render different &#8230; <a title=\"Light Probing system is here\" class=\"read-more\" href=\"https:\/\/osiris.itabc.cnr.it\/scenebaker\/index.php\/2015\/10\/14\/light-probing-system-is-here\/\" aria-label=\"More on Light Probing system is here\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":146,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[14],"_links":{"self":[{"href":"https:\/\/osiris.itabc.cnr.it\/scenebaker\/index.php\/wp-json\/wp\/v2\/posts\/143"}],"collection":[{"href":"https:\/\/osiris.itabc.cnr.it\/scenebaker\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/osiris.itabc.cnr.it\/scenebaker\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/osiris.itabc.cnr.it\/scenebaker\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/osiris.itabc.cnr.it\/scenebaker\/index.php\/wp-json\/wp\/v2\/comments?post=143"}],"version-history":[{"count":18,"href":"https:\/\/osiris.itabc.cnr.it\/scenebaker\/index.php\/wp-json\/wp\/v2\/posts\/143\/revisions"}],"predecessor-version":[{"id":168,"href":"https:\/\/osiris.itabc.cnr.it\/scenebaker\/index.php\/wp-json\/wp\/v2\/posts\/143\/revisions\/168"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/osiris.itabc.cnr.it\/scenebaker\/index.php\/wp-json\/wp\/v2\/media\/146"}],"wp:attachment":[{"href":"https:\/\/osiris.itabc.cnr.it\/scenebaker\/index.php\/wp-json\/wp\/v2\/media?parent=143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/osiris.itabc.cnr.it\/scenebaker\/index.php\/wp-json\/wp\/v2\/categories?post=143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/osiris.itabc.cnr.it\/scenebaker\/index.php\/wp-json\/wp\/v2\/tags?post=143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}