Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Sylvia Wenmackers 馃馃崁
Sylvia Wenmackers 馃馃崁 boosted
Robert Moerland
@rjmoerland@mastodon.art  路  activity timestamp 2 months ago

Quite pleased: I added native #thinfilminterference in an absorbing layer on top of a conductor to #blender3d. I went through the math of https://hal.science/hal-01518344/document, and added terms dealing with absorption in the film. Slightly trickier than I thought, but it works. The 5.0 alpha branch dealing with dielectrics was great as a starting point!

The render shows the result with nodes on the left and the native implementation on the right. If you look carefully there's a slight color shift.
1/3
#b3d

Computer render of a sphere-like object on a pedestal, having the blender logo carved out of it. The objects seems to be made of a copper-like metal, which has oxidized due to heating or aging. This results in colorful bands that run across the otherwise metallic-looking surface.
Computer render of a sphere-like object on a pedestal, having the blender logo carved out of it. The objects seems to be made of a copper-like metal, which has oxidized due to heating or aging. This results in colorful bands that run across the otherwise metallic-looking surface.
Computer render of a sphere-like object on a pedestal, having the blender logo carved out of it. The objects seems to be made of a copper-like metal, which has oxidized due to heating or aging. This results in colorful bands that run across the otherwise metallic-looking surface.
  • Copy link
  • Flag this post
  • Block
Robert Moerland
@rjmoerland@mastodon.art  路  activity timestamp 2 months ago

The method in the paper yields #iridescence that resolves to a plain reflection for thicker films, like in daily life. My nodes suffer from spectral aliasing, which means the colors keep cycling no matter the film thickness.

Now, we can have absorbing films while keeping the look and behavior of thick films. The render shows the nodes on the left and the native behavior on the right. The native behavior more accurately reflects the real-world experience.
2/3

#blender3d #thinfilminterference

computer render of a spherical object on a pedestal, seemingly illuminated as if it is in a studio. The object looks like copper, but with colorful banding running across it as if it was heated. The left side of the image shows banding that keeps cycling for an unnatural amount, whereas the right hand side of the image shows that the banding fades towards a homogeneous discoloring of the base color
computer render of a spherical object on a pedestal, seemingly illuminated as if it is in a studio. The object looks like copper, but with colorful banding running across it as if it was heated. The left side of the image shows banding that keeps cycling for an unnatural amount, whereas the right hand side of the image shows that the banding fades towards a homogeneous discoloring of the base color
computer render of a spherical object on a pedestal, seemingly illuminated as if it is in a studio. The object looks like copper, but with colorful banding running across it as if it was heated. The left side of the image shows banding that keeps cycling for an unnatural amount, whereas the right hand side of the image shows that the banding fades towards a homogeneous discoloring of the base color
Robert Moerland
@rjmoerland@mastodon.art replied  路  activity timestamp 2 months ago

A fair question is, does it matter? It depends. For some looks you're better off with a dielectric film (it renders faster). But when it does matter, there's no denying the absorption is required for the right look.

Example: copper with a layer of CuO, where the layer doesn't have absorption. Compare with the image in the first post of this thread (repeated here), where realistic absorption is added.

Now I need a real Dev to fix my baby C++ code馃槄
3/3
#blender3d #b3d #thinfilminterference

Computer render of a sphere-like object on a pedestal, having the blender logo carved out of it. The objects seems to be made of a copper-like metal, which has oxidized due to heating or aging. This results in colorful bands that run across the otherwise metallic-looking surface
Computer render of a sphere-like object on a pedestal, having the blender logo carved out of it. The objects seems to be made of a copper-like metal, which has oxidized due to heating or aging. This results in colorful bands that run across the otherwise metallic-looking surface
Computer render of a sphere-like object on a pedestal, having the blender logo carved out of it. The objects seems to be made of a copper-like metal, which has oxidized due to heating or aging. This results in colorful bands that run across the otherwise metallic-looking surface
Computer render of a sphere-like object on a pedestal, having the blender logo carved out of it. The objects seems to be made of a copper-like metal. Colorful bands that run across the surface, but they don't look like anything natural.
Computer render of a sphere-like object on a pedestal, having the blender logo carved out of it. The objects seems to be made of a copper-like metal. Colorful bands that run across the surface, but they don't look like anything natural.
Computer render of a sphere-like object on a pedestal, having the blender logo carved out of it. The objects seems to be made of a copper-like metal. Colorful bands that run across the surface, but they don't look like anything natural.
  • Copy link
  • Flag this comment
  • Block
Robert Moerland
@rjmoerland@mastodon.art  路  activity timestamp 2 months ago

The method in the paper yields #iridescence that resolves to a plain reflection for thicker films, like in daily life. My nodes suffer from spectral aliasing, which means the colors keep cycling no matter the film thickness.

Now, we can have absorbing films while keeping the look and behavior of thick films. The render shows the nodes on the left and the native behavior on the right. The native behavior more accurately reflects the real-world experience.
2/3

#blender3d #thinfilminterference

computer render of a spherical object on a pedestal, seemingly illuminated as if it is in a studio. The object looks like copper, but with colorful banding running across it as if it was heated. The left side of the image shows banding that keeps cycling for an unnatural amount, whereas the right hand side of the image shows that the banding fades towards a homogeneous discoloring of the base color
computer render of a spherical object on a pedestal, seemingly illuminated as if it is in a studio. The object looks like copper, but with colorful banding running across it as if it was heated. The left side of the image shows banding that keeps cycling for an unnatural amount, whereas the right hand side of the image shows that the banding fades towards a homogeneous discoloring of the base color
computer render of a spherical object on a pedestal, seemingly illuminated as if it is in a studio. The object looks like copper, but with colorful banding running across it as if it was heated. The left side of the image shows banding that keeps cycling for an unnatural amount, whereas the right hand side of the image shows that the banding fades towards a homogeneous discoloring of the base color
  • Copy link
  • Flag this post
  • Block
Robert Moerland
@rjmoerland@mastodon.art  路  activity timestamp 2 months ago

Quite pleased: I added native #thinfilminterference in an absorbing layer on top of a conductor to #blender3d. I went through the math of https://hal.science/hal-01518344/document, and added terms dealing with absorption in the film. Slightly trickier than I thought, but it works. The 5.0 alpha branch dealing with dielectrics was great as a starting point!

The render shows the result with nodes on the left and the native implementation on the right. If you look carefully there's a slight color shift.
1/3
#b3d

Computer render of a sphere-like object on a pedestal, having the blender logo carved out of it. The objects seems to be made of a copper-like metal, which has oxidized due to heating or aging. This results in colorful bands that run across the otherwise metallic-looking surface.
Computer render of a sphere-like object on a pedestal, having the blender logo carved out of it. The objects seems to be made of a copper-like metal, which has oxidized due to heating or aging. This results in colorful bands that run across the otherwise metallic-looking surface.
Computer render of a sphere-like object on a pedestal, having the blender logo carved out of it. The objects seems to be made of a copper-like metal, which has oxidized due to heating or aging. This results in colorful bands that run across the otherwise metallic-looking surface.
  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Bonfire social 路 1.0.0-rc.3.13 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login