KeyShot Forum

Technical discussions => Textures => Topic started by: Finema on December 07, 2018, 07:43:56 AM

Title: Displacement on bottle - Keyshot 8.1
Post by: Finema on December 07, 2018, 07:43:56 AM
Hi,
I use Displace geometry node on a solid bottle model.
I would like the displacement to apply only to the outside of the model and not to the inside.
I want to keep this model solid because it will have to contain liquid.
I join a test bip file.
Thanks in advance.
Title: Re: Displacement on bottle - Keyshot 8.1
Post by: Finema on December 07, 2018, 09:34:20 AM
as you can see in the attachment files  > outside displacement is ok but the inside is also displace and i don't want that  :)
Title: Re: Displacement on bottle - Keyshot 8.1
Post by: Will Gibbons on December 07, 2018, 02:36:29 PM
To only affect the outside, you need to either mask out the inner surface which could be done with occlusion. The better solution is probably to separate the inner surface. Either do this in a 3D application or use KeyShot's Geometry Editor to do this.
Title: Re: Displacement on bottle - Keyshot 8.1
Post by: bdesign on December 07, 2018, 06:59:27 PM
Hi Philippe-

As Will states, you need to mask the inner surface of the glass. I as well thought perhaps an Occlusion node would work; it did not produce desirable results. Splitting the inner and outer surfaces didn't work correctly with the nested dielectrics. So...I took your bottle model into Rhino, rebuilt it as NURBs geometry, and applied UV mapping to it. I then took a UV snapshot into PS and created a mask, with white covering the outside UVs and black covering the inside and top lip UVs. I plugged your existing Color Composite into the Source of an additional one, using the UV mask (mapping type UV) as Source Alpha, and plugged the new CC node into the Displace node. This gave the desired results with both the displacement and nested dielectrics.

Cheers,
Eric
Title: Re: Displacement on bottle - Keyshot 8.1
Post by: Finema on December 07, 2018, 10:32:21 PM
Awesome Eric !!!!!! :D It's perfect !
It's really useful in my work on design bottles and decanters.
ps : i use MoI 3D rather than Rhino but the process is the same.
Thanks again for this. You are great !! 8)
Title: Re: Displacement on bottle - Keyshot 8.1
Post by: Finema on December 08, 2018, 03:14:15 AM
displacement VS emboss pattern
Title: Re: Displacement on bottle - Keyshot 8.1
Post by: bdesign on December 08, 2018, 12:55:57 PM
Quote from: Finema on December 07, 2018, 10:32:21 PM
Awesome Eric !!!!!! :D It's perfect !
It's really useful in my work on design bottles and decanters.
ps : i use MoI 3D rather than Rhino but the process is the same.
Thanks again for this. You are great !! 8)


Thank you, Philippe! I'm happy to know that it is helpful. Your render looks awesome :)

Cheers,
Eric
Title: Re: Displacement on bottle - Keyshot 8.1
Post by: Will Gibbons on December 10, 2018, 09:40:06 AM
Nice solution, Eric!
Title: Re: Displacement on bottle - Keyshot 8.1
Post by: bdesign on December 11, 2018, 03:45:39 PM
Quote from: Will Gibbons on December 10, 2018, 09:40:06 AM
Nice solution, Eric!

Thank you, Will!

Cheers,
Eric