{"id":7903,"date":"2017-05-31T07:31:15","date_gmt":"2017-05-31T14:31:15","guid":{"rendered":"http:\/\/www.autodesk.com\/products\/fusion-360\/blog\/?p=7903"},"modified":"2017-05-31T07:36:35","modified_gmt":"2017-05-31T14:36:35","slug":"7903-2","status":"publish","type":"post","link":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/","title":{"rendered":"How to create realistic renderings with transparent materials"},"content":{"rendered":"<p>You\u2019re probably asking yourself, \u201cWhat are nested dielectrics, and why should I care?\u201d<\/p>\n<p>&nbsp;<\/p>\n<p>First, dielectrics are materials that do not conduct electricity which pretty much means all materials besides metals. Nested dielectrics, in turn, refers to non-metallic objects modeled within other non-metallic objects. The reason you should care about nested dielectrics is it is a difficult problem to render situations like this, especially when you look at semi-transparent dielectrics.<\/p>\n<p>&nbsp;<\/p>\n<p>For example, if you\u2019re modeling a drink in a glass with ice cubes, air bubbles and water droplets on the surface of the glass, and you want an accurate rendering, your rendering engine needs to be able to account for different Index of Refraction values for all the models \u2013 the glass, drink, air bubbles and ice cubes.<\/p>\n<p>&nbsp;<\/p>\n<p>There are at least four different ways in which this can be modeled:<\/p>\n<p>&nbsp;<\/p>\n<p>The first method is to model such that the volumes of different geometries don\u2019t overlap, but instead are coincident (Fig 1). However, rendering coincident surfaces can be incorrect due to modeling precision errors. This approach is also very tedious, especially if you have a complex shape like a perfume bottle for instance.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7922\" src=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested1-1.jpg\" alt=\"\" width=\"301\" height=\"309\" srcset=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested1-1.jpg 301w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested1-1-292x300.jpg 292w\" sizes=\"auto, (max-width: 301px) 100vw, 301px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>The second method is to have a slight air gap between the volumes (Fig 2). All renders can handle this method but it will not produce correct results. The refractions will look somewhat plausible but compared to a correct render, they are visibly wrong.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7923\" src=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested2-1.jpg\" alt=\"\" width=\"300\" height=\"315\" srcset=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested2-1.jpg 300w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested2-1-286x300.jpg 286w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>The third method is to model interfaces (Fig 3). Instead of thinking of the model as a single object, you break it down and model the actual \u201cinterface\u201d between the surfaces. Some renderers like Mitsuba, Keyshot, LuxRender use this approach, but it will not work in Fusion since models are also used for prototyping and building products, so splitting up the surfaces is not a good idea.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7924\" src=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested3-1.jpg\" alt=\"\" width=\"300\" height=\"319\" srcset=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested3-1.jpg 300w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested3-1-282x300.jpg 282w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>The last method is to model the liquid and glass as overlapping volumes (Fig 4). This is the simplest to model, but the drink will appear to be inside the glass interior. The solution is <strong>nested dielectrics<\/strong>. Most renderers like Arnold, Maxwell, RenderMan and Houdini have this feature.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7925\" src=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested4-1.jpg\" alt=\"\" width=\"300\" height=\"338\" srcset=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested4-1.jpg 300w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested4-1-266x300.jpg 266w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>With this approach, you model the liquid and glass as overlapping geometry as shown in Fig 4. Then you set up priorities on the different models. At render time, wherever multiple geometries overlap, the shader for the model with lowest number contributes. When deciding the numbers, in the area where the geometry overlaps, the geometry that you want rendered should have a lower number and the one that you don\u2019t want rendered should have a higher number.<\/p>\n<p>&nbsp;<\/p>\n<p>In the example below, glass has the highest priority (winner), so it has the smallest number, 1. The second priorities are for the ice cubes and bubbles, 2. The third priority is for the drink in the glass, 3.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7908\" src=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested5.jpg\" alt=\"\" width=\"600\" height=\"324\" srcset=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested5.jpg 600w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested5-300x162.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Nested dielectric rendering in Fusion<\/strong><\/h2>\n<p>Model and Rendering by: Roberto Ziche<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7909\" src=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested6.png\" alt=\"\" width=\"600\" height=\"600\" srcset=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested6.png 600w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested6-300x300.png 300w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested6-150x150.png 150w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2><strong>What happens if you set the wrong priorities?<\/strong><\/h2>\n<p>&nbsp;<\/p>\n<p>In the above example, the priorities are set as follows:<\/p>\n<p>glass = 1, icecubes and bubbles = 2, liquid = 3<\/p>\n<p>&nbsp;<\/p>\n<p>Note that both bubbles and ice cubes are inside the liquid and you want them to be visible, so they have a lower number than the liquid. But if you set it up as follows:<\/p>\n<p>glass = 1, icecubes and bubbles = 2, liquid = 0<\/p>\n<p>&nbsp;<\/p>\n<p>Then you would see this result. It does not render what you expect. The ice cubes and bubbles are not seen in the drink anymore.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7910\" src=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested7.png\" alt=\"\" width=\"600\" height=\"337\" srcset=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested7.png 600w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested7-300x169.png 300w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested7-284x160.png 284w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested7-382x216.png 382w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2><strong>How do you set this up in Fusion?<\/strong><\/h2>\n<p>&nbsp;<\/p>\n<p>The dielectrics priority control option will only show in the context menu under <strong>Render Workspace<\/strong>. Follow the steps below the set up the dielectrics priority:<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>Find the bodies\/components that you want to set the priority<\/li>\n<li>Right click on the body\/component and call the context menu.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7911\" src=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested8.png\" alt=\"\" width=\"160\" height=\"199\" \/><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>Click on \u201cDielectrics Priority Control\u201d option<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7912\" src=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Nested9.png\" alt=\"\" width=\"250\" height=\"186\" \/><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>In this window, switch the \u201cdefault\u201d option to \u201cfixed\u201d option.<\/li>\n<li>Choose an appropriate index in the drag down option: 0 for the highest priority and 5 for the lowest priority.<\/li>\n<li>Click OK to confirm.<\/li>\n<\/ul>\n<p>You will see the result once you turn on Ray Tracing.<\/p>\n<p>&nbsp;<\/p>\n<p>Now, hopefully you can see the value of having nested dielectrics as a feature in our rendering workspace. Whether you\u2019re modeling a glass of whiskey with ice cubes, a bottle of wine, or perhaps some non-alcoholic dielectric as well, play around with these different priorities in your renderings and let us know what you think in the <a href=\"https:\/\/forums.autodesk.com\/t5\/fusion-360\/ct-p\/1234\">forums<\/a>.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now when you have models with transparent materials overlapping each other, you can tweak how they should look for a better rendering.<\/p>\n","protected":false},"author":1678,"featured_media":7916,"menu_order":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"coauthors":[],"class_list":["post-7903","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fusion","dhig-theme--light"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to create realistic renderings with transparent materials - Fusion Blog<\/title>\n<meta name=\"description\" content=\"Now when you have models with transparent materials overlapping each other, you can tweak how they should look for a better rendering.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to create realistic renderings with transparent materials - Fusion Blog\" \/>\n<meta property=\"og:description\" content=\"Now when you have models with transparent materials overlapping each other, you can tweak how they should look for a better rendering.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Fusion Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-05-31T14:31:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-05-31T14:36:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i1.wp.com\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/dialelectrics.png?fit=400%2C220&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"220\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Aradhana Vaidya\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Aradhana Vaidya\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to create realistic renderings with transparent materials - Fusion Blog","description":"Now when you have models with transparent materials overlapping each other, you can tweak how they should look for a better rendering.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/","og_locale":"en_US","og_type":"article","og_title":"How to create realistic renderings with transparent materials - Fusion Blog","og_description":"Now when you have models with transparent materials overlapping each other, you can tweak how they should look for a better rendering.","og_url":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/","og_site_name":"Fusion Blog","article_published_time":"2017-05-31T14:31:15+00:00","article_modified_time":"2017-05-31T14:36:35+00:00","og_image":[{"width":400,"height":220,"url":"https:\/\/i1.wp.com\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/dialelectrics.png?fit=400%2C220&ssl=1","type":"image\/png"}],"author":"Aradhana Vaidya","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Aradhana Vaidya","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/#article","isPartOf":{"@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/"},"author":{"name":"Aradhana Vaidya","@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/#\/schema\/person\/c840a7e09e9e6a06af3eaa09dd3e8406"},"headline":"How to create realistic renderings with transparent materials","datePublished":"2017-05-31T14:31:15+00:00","dateModified":"2017-05-31T14:36:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/"},"wordCount":761,"commentCount":0,"image":{"@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/dialelectrics.png","articleSection":["Fusion"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/","url":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/","name":"How to create realistic renderings with transparent materials - Fusion Blog","isPartOf":{"@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/#primaryimage"},"image":{"@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/dialelectrics.png","datePublished":"2017-05-31T14:31:15+00:00","dateModified":"2017-05-31T14:36:35+00:00","author":{"@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/#\/schema\/person\/c840a7e09e9e6a06af3eaa09dd3e8406"},"description":"Now when you have models with transparent materials overlapping each other, you can tweak how they should look for a better rendering.","breadcrumb":{"@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/#primaryimage","url":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/dialelectrics.png","contentUrl":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/dialelectrics.png","width":400,"height":220},{"@type":"BreadcrumbList","@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/7903-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/"},{"@type":"ListItem","position":2,"name":"How to create realistic renderings with transparent materials"}]},{"@type":"WebSite","@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/#website","url":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/","name":"Fusion Blog","description":"Product updates, tips, tutorials and community news.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/#\/schema\/person\/c840a7e09e9e6a06af3eaa09dd3e8406","name":"Aradhana Vaidya","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Anapic-1-150x150.jpgdb43d296393c1a4d1818b2d943f12566","url":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Anapic-1-150x150.jpg","contentUrl":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2017\/05\/Anapic-1-150x150.jpg","caption":"Aradhana Vaidya"},"url":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/author\/ana-vaidya\/"}]}},"_links":{"self":[{"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/posts\/7903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/users\/1678"}],"replies":[{"embeddable":true,"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/comments?post=7903"}],"version-history":[{"count":0,"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/posts\/7903\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/media\/7916"}],"wp:attachment":[{"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/media?parent=7903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/categories?post=7903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/tags?post=7903"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/coauthors?post=7903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}