{"id":35,"date":"2011-11-16T16:19:05","date_gmt":"2011-11-16T13:19:05","guid":{"rendered":"http:\/\/divide-studio.co.uk\/blogs\/ionutcava\/?p=35"},"modified":"2011-11-16T16:21:46","modified_gmt":"2011-11-16T13:21:46","slug":"fixed-water-and-added-shadows-now-the-scenegraph","status":"publish","type":"post","link":"https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/fixed-water-and-added-shadows-now-the-scenegraph\/","title":{"rendered":"Fixed water and added shadows. Now &#8230; the SceneGraph &#8230;"},"content":{"rendered":"<p>Well, water is up and &#8230; flowing \ud83d\ude42 Reflections are working nicely and so are caustic effects. Refractions are good but transparency needs tweaking. The hard part&#8217;s over:<\/p>\n<div id=\"attachment_36\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/divide-studio.co.uk\/blogs\/ionutcava\/files\/2011\/11\/reflections.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-36\" class=\"size-medium wp-image-36\" title=\"Reflections working\" src=\"http:\/\/divide-studio.co.uk\/blogs\/ionutcava\/files\/2011\/11\/reflections-300x232.png\" alt=\"\" width=\"300\" height=\"232\" srcset=\"https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/files\/2011\/11\/reflections-300x232.png 300w, https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/files\/2011\/11\/reflections-1024x792.png 1024w, https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/files\/2011\/11\/reflections.png 1036w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-36\" class=\"wp-caption-text\">Reflections working<\/p><\/div>\n<div id=\"attachment_37\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/divide-studio.co.uk\/blogs\/ionutcava\/files\/2011\/11\/waterCaustics.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-37\" class=\"size-medium wp-image-37\" title=\"Water caustics\" src=\"http:\/\/divide-studio.co.uk\/blogs\/ionutcava\/files\/2011\/11\/waterCaustics-300x232.png\" alt=\"\" width=\"300\" height=\"232\" srcset=\"https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/files\/2011\/11\/waterCaustics-300x232.png 300w, https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/files\/2011\/11\/waterCaustics-1024x792.png 1024w, https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/files\/2011\/11\/waterCaustics.png 1036w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-37\" class=\"wp-caption-text\">Under water caustic effects<\/p><\/div>\n<p>And shadow map generation is getting better and better.\u00a0 Only directional lights are working for now, but still:<\/p>\n<div id=\"attachment_37-2\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/farm7.static.flickr.com\/6051\/6306493851_6a628f2610.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-37-2\" class=\"size-medium wp-image-37\" title=\"Shadow Maps\" src=\"http:\/\/farm7.static.flickr.com\/6051\/6306493851_6a628f2610.jpg\" alt=\"\" width=\"300\" height=\"232\" \/><\/a><p id=\"caption-attachment-37-2\" class=\"wp-caption-text\">Shadow Maps<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>Now that the engine supports some more rendering eye-candy, back to logic behind the scenes. SceneGraph implementation is buggy, crash-prone, Resource Manager doesn&#8217;t work, Mesh &#8211; SubMesh &lt;-&gt; SceneGraphNode parent &lt;-&gt; children conversion not working etc. But &#8230; things are looking promising for the future.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, water is up and &#8230; flowing \ud83d\ude42 Reflections are working nicely and so are caustic effects. Refractions are good but transparency needs tweaking. The hard part&#8217;s over: And shadow map generation is getting better and better.\u00a0 Only directional lights are working for now, but still: &nbsp; Now that the engine supports some more rendering &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/fixed-water-and-added-shadows-now-the-scenegraph\/\">Continue reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-35","post","type-post","status-publish","format-standard","hentry","category-general-stuff","item-wrap"],"_links":{"self":[{"href":"https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/wp-json\/wp\/v2\/posts\/35","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/wp-json\/wp\/v2\/comments?post=35"}],"version-history":[{"count":4,"href":"https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/wp-json\/wp\/v2\/posts\/35\/revisions"}],"predecessor-version":[{"id":42,"href":"https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/wp-json\/wp\/v2\/posts\/35\/revisions\/42"}],"wp:attachment":[{"href":"https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/wp-json\/wp\/v2\/media?parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/wp-json\/wp\/v2\/categories?post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/divide-studio.co.uk\/blogs\/ionutcava\/wp-json\/wp\/v2\/tags?post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}