KeyShot Forum

Gallery => Amazing Shots => Topic started by: bdesign on July 08, 2018, 09:29:04 PM

Title: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: bdesign on July 08, 2018, 09:29:04 PM
While there is no substitute for the accuracy of creating condensation with actual geometry, I think this technique can enhance the realism and the illusion that the droplets are actually water on a surface when creating them via normal mapping. The trick is to map the IOR of the Glass (Solid) material with a black & white map that corresponds to the silhouettes of the normal map droplets. Plug the b&w map > Source of a Color Composite node, and set the Background to black. Plug a Surface Backside Mask > Source of a Color Invert node. Plug the Color Invert node > Source Alpha of the Color Composite node. Plug the Color Composite node > Input of a Color To Number node. Set the Output From value to the IOR of glass (1.52 in my example), and the Output To value to the IOR of water (1.33). Plug the Color To Number node into the Refraction Index of the Glass (Solid) material. This setup manually emulates the Refraction Index/Refraction Index Outside options of the Dielectric and Liquid type materials, with the benefit of being able to map them. Example renders below are:

1. Glass with IOR mapping setup
2. Glass without IOR mapping setup (IOR set at 1.52)
3. Normal map and corresponding IOR map

Coca-Cola glass model from GrabCAD by Ahmed Zawad Ul Hoque Shovon.

Cheers,
Eric
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: INNEO_MWo on July 08, 2018, 11:27:39 PM
Wow Eric.


You know how to amaze users!


Great job and good tutorial!!!


That made my day. Thank you.






Cheers
Marco
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: bdesign on July 09, 2018, 09:54:28 AM
Thanks very much, Marco. Glad to hear that  :)

Cheers,
Eric
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: DMerz III on July 09, 2018, 11:54:42 AM
Very nice!

Will be even more impressive in 8 when you can utilize the displacement map  ;)
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: bdesign on July 09, 2018, 12:27:18 PM
Thank you, David.

Cheers,
Eric
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: Will Gibbons on July 11, 2018, 04:47:09 PM
Great material study. Nice execution!
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: feher on July 11, 2018, 06:25:43 PM
Very nice ! Thanks for sharing your workflow.
It's a keeper.
Tim
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: bdesign on July 11, 2018, 07:39:33 PM
Quote from: Will Gibbons on July 11, 2018, 04:47:09 PM
Great material study. Nice execution!
Thanks very much, Will! I appreciate you taking a look  :)

Cheers,
Eric
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: bdesign on July 11, 2018, 07:40:26 PM
Quote from: feher on July 11, 2018, 06:25:43 PM
Very nice ! Thanks for sharing your workflow.
It's a keeper.
Tim
Thank you kindly, Tim! You're welcome  :)

Cheers,
Eric
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: Hossein Alfideh on July 16, 2018, 07:23:06 AM
Cool study as always Eric!Thanks for sharing!
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: INNEO_MWo on July 16, 2018, 10:44:06 AM
Hey Eric.

I'm Pretty sure that you willl LOVE KeyShot 8!!!

Cheers
Marco
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: bdesign on July 16, 2018, 12:32:16 PM
Quote from: Hossein Alfideh on July 16, 2018, 07:23:06 AM
Cool study as always Eric!Thanks for sharing!
Thanks, Hossein! You're welcome man  :)

Cheers,
Eric
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: bdesign on July 16, 2018, 12:34:23 PM
Quote from: MWo on July 16, 2018, 10:44:06 AM
Hey Eric.

I'm Pretty sure that you willl LOVE KeyShot 8!!!

Cheers
Marco
Hey Marco. I'm sure KS8 will be awesome! I haven't even had a chance to play with KS7 yet . . . still on 6.3.

Cheers,
Eric
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: Will Gibbons on July 18, 2018, 10:03:41 AM
Quote from: bdesign on July 16, 2018, 12:34:23 PM
Hey Marco. I'm sure KS8 will be awesome! I haven't even had a chance to play with KS7 yet . . . still on 6.3.

NOOOOOOOOO!!! You should get on the Beta when it's open (soon)
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: Despot on July 20, 2018, 08:55:52 AM
Great stuff Eric, can't wait to see what you do with KS8 ;)
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: nicordf on July 20, 2018, 09:29:56 AM
Awesome work Eric!
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: bdesign on July 22, 2018, 11:16:23 AM
Quote from: Despot on July 20, 2018, 08:55:52 AM
Great stuff Eric, can't wait to see what you do with KS8 ;)
Thanks very much, John. Good to hear from you  :)

Cheers,
Eric
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: bdesign on July 22, 2018, 11:17:19 AM
Quote from: nicordf on July 20, 2018, 09:29:56 AM
Awesome work Eric!
Thank you kindly, Nico  :)

Cheers,
Eric
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: DMerz III on October 16, 2018, 02:32:29 PM
 :) Does anyone know if Backside Mask is available in Ks8?

I've gone into the .xml file and made the experimental value "true", saved and restarted Ks8, but unable to see a change in preferences for turning on experimental features and/or how to access backside mask.

Sorry for the ignorance, any help would be appreciated!
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: Rex on October 16, 2018, 02:34:29 PM
Make sure you close the text editor before opening KeyShot.

Quote from: DMerz III on October 16, 2018, 02:32:29 PM
:) Does anyone know if Backside Mask is available in Ks8?

I've gone into the .xml file and made the experimental value "true", saved and restarted Ks8, but unable to see a change in preferences for turning on experimental features and/or how to access backside mask.

Sorry for the ignorance, any help would be appreciated!
Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: DMerz III on October 16, 2018, 02:47:34 PM
 ;) Check on that, Rex.

I figured out what my problem was. I am a dummy and was messing with the .xml file from my old Beta copy of ks8, in a separate Documents folder. Not the correct Ks8Settings.xml for actual KS8.0.247.

Thanks for the help anyway.

Title: Re: Material Study: Enhanced Realism When Creating Condensation via Normal Mapping
Post by: kiarash.tamizkar on October 25, 2018, 05:39:06 PM
 8) just great.