Author Topic: Applying a bump through curvature mask ?  (Read 5552 times)

0 Members and 1 Guest are viewing this topic.

Offline zooropa

  • Sr. Member
  • ****
  • Posts: 377
Applying a bump through curvature mask ?
« on: August 23, 2017, 03:04:50 am »
Hi. I am texturizing a violin in KS. I started with a wood material from Esben Oxholm (please check Esben Oxholm web for the vintage stool scene). After that I have been tweaking the wood material.

I would like to add a detail where the 'lips' of the violin are encountering with the flat surfaces in order to give a worn effect. I used curvature parameter and use a noise as an input for the 'negative' parameter within curvature. My idea was to add that effect to the 'bump add' palette since I already have a few from Esben wood working at the moment connected to bump 1. The problem is that I can not assign curvature to the bump 2 in the 'bump add' parameter I am unable to do that. Do you know how can I add this noise procedural in my negative curvature as a bump to the already bumps connected to my bump 1 in the add bump option ?

Super unclear?


Offline cjwidd

  • Sr. Member
  • ****
  • Posts: 269
    • ArtStation
Re: Applying a bump through curvature mask ?
« Reply #1 on: September 22, 2017, 03:31:42 am »
It would be very helpful to see some screenshots of your progress in addition to your material graph

Offline zooropa

  • Sr. Member
  • ****
  • Posts: 377
Re: Applying a bump through curvature mask ?
« Reply #2 on: September 22, 2017, 06:02:23 am »
Thanks, this was solved. Regards

Offline cjwidd

  • Sr. Member
  • ****
  • Posts: 269
    • ArtStation
Re: Applying a bump through curvature mask ?
« Reply #3 on: September 22, 2017, 06:16:27 am »
Would you mind posting your solution? Others might benefit when consulting the forum for advice.

Offline DMerz III

  • KeyShot Beta
  • Hero Member
  • *****
  • Posts: 825
  • David Merz the Third
    • MerzTheThird
Re: Applying a bump through curvature mask ?
« Reply #4 on: September 22, 2017, 12:13:00 pm »
 :) yes, I'd also like to see your solution. Thanks!

Offline zooropa

  • Sr. Member
  • ****
  • Posts: 377
Re: Applying a bump through curvature mask ?
« Reply #5 on: September 26, 2017, 02:24:26 am »
I did not solve, but the client did not want that. hahaha I guess 'solve' was not the right term.


Offline cjwidd

  • Sr. Member
  • ****
  • Posts: 269
    • ArtStation
Re: Applying a bump through curvature mask ?
« Reply #6 on: September 26, 2017, 02:59:50 am »
Haha, I guess that worked out. Thanks for updating though

Offline DriesV

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2412
  • Product Specialist at Luxion
Re: Applying a bump through curvature mask ?
« Reply #7 on: September 26, 2017, 04:54:18 am »
You can't use a Curvature (or Occlusion) texture as a bump map, much for the same reason as mentioned here.
That being said, you can use a Curvature texture to control the Weight of a Bump texture in the Bump Add utility node.
Attached is a screenshot of the most basic Material Graph to achieve this and a comparison between different bump setups to highlight the effect.

I am not sure if this is what you are looking for, but the technique works well for recreating worn materials.

Dries

Offline mattjgerard

  • Hero Member
  • *****
  • Posts: 1504
Re: Applying a bump through curvature mask ?
« Reply #8 on: September 26, 2017, 06:05:13 am »
saved to the goodie list :)

Offline DMerz III

  • KeyShot Beta
  • Hero Member
  • *****
  • Posts: 825
  • David Merz the Third
    • MerzTheThird
Re: Applying a bump through curvature mask ?
« Reply #9 on: September 26, 2017, 07:23:15 am »
That's good stuff right there, thank  you for the breakdown, Dries!

I had done something similar in the past but used the curvature on the 'bump height' input. Your example seems to work in a more predictable manner.

Offline zooropa

  • Sr. Member
  • ****
  • Posts: 377
Re: Applying a bump through curvature mask ?
« Reply #10 on: September 26, 2017, 11:04:13 am »
This is a great tip. I think this is what I wanted. In a way I wanted to drive the bump on the curvature. For example, when you sand wood at corners, the radius will seem to the hand a little bit grainier. I wanted to drive, let's say, a noise into the radius of my wood.
I think I need to try with this technic, but should work.

Thanks a lot.
 

Offline NM-92

  • KeyShot Beta
  • Hero Member
  • *****
  • Posts: 1152
    • Behance
Re: Applying a bump through curvature mask ?
« Reply #11 on: September 26, 2017, 11:57:26 am »
This should go on the wishlists section, but these kind of tips (Dries) shouldn't be lost here and there on the forum. Some kind of "tips n' tricks" manual would be more useful than the KS documentation itself.

Offline cjwidd

  • Sr. Member
  • ****
  • Posts: 269
    • ArtStation
Re: Applying a bump through curvature mask ?
« Reply #12 on: September 26, 2017, 03:59:55 pm »
That being said, you can use a Curvature texture to control the Weight of a Bump texture in the Bump Add utility node.

Firstly, thank you for all your tutorials on Youtube, they are immensely helpful. I think I understand what's happening in your example: the noise bump is only allowed to appear in the (white) curvature masked area.

Just so that I am clear, in the attached image, you can see the output of a curvature node (after contrast enhance, etc.). My plan was to pass this mask into a bump channel, and then setup a label structure, such that metal would appear under a plastic. Using the curvature mask as a bump, the plastic would appear to 'sit' on top of the metal, as it would if it were actually damaged and coming off. Due to reasons you described elsewhere, I'm not sure this is possible at this time.

Offline DMerz III

  • KeyShot Beta
  • Hero Member
  • *****
  • Posts: 825
  • David Merz the Third
    • MerzTheThird
Re: Applying a bump through curvature mask ?
« Reply #13 on: September 27, 2017, 12:12:41 pm »
Hmm, I think in that case, you might want to plug it into the opacity channel of the label? What is white will be label and what is black will be 'metal' or not label.. if that makes sense? I think that's what you want?

Offline Esben Oxholm

  • KeyShot Beta
  • Hero Member
  • *****
  • Posts: 1670
  • esbenoxholm.dk/keyshot-video-course
    • Freelance CG Artist
Re: Applying a bump through curvature mask ?
« Reply #14 on: September 29, 2017, 12:51:20 am »
That being said, you can use a Curvature texture to control the Weight of a Bump texture in the Bump Add utility node.
Attached is a screenshot of the most basic Material Graph to achieve this and a comparison between different bump setups to highlight the effect.

Hi Dries.
Not to question your knowledge, but wouldn't this setup achieve the same effect?
Or would there be some kind of difference?