Help with bumpy shiny surface

General discussion about Indigo Materials - material requests, material developement, feedback, etc..
Post Reply
12 posts • Page 1 of 1
User avatar
Bosseye
Posts: 312
Joined: Fri Jan 01, 2010 10:52 pm
Location: Bristol, UK

Help with bumpy shiny surface

Post by Bosseye » Thu Jul 02, 2015 2:23 am

Hi there,

I've been struggling with this for a while; can anyone give me some tips on how to make a simple bumpy shiny surface like the image below?

I've been trying to apply a simple bump map to a shiny surface with no luck - the UV scaling is too small and I can't figure out how to get it larger (despite writing a tutorial on here a little while back for how to set UV mapping in Sketchup...! Even following my own steps it simply won't work).

Maybe because its a curved surface, I don't know.

Anyway, some help would be appreciated.
bumpy glass.JPG
bumpy glass.JPG (16 KiB) Viewed 9610 times
Thanks,

FakeShamus
Posts: 512
Joined: Wed May 02, 2007 11:34 am

Re: Help with bumpy shiny surface

Post by FakeShamus » Thu Jul 02, 2015 5:58 am

I'm not a skecthup person, but my go-to random bumpy surface is always done as an ISL shader:

Code: Select all

def eval() real:

noise(posOS()*100)*0.0001
start from there and change the posOS()*value (higher number makes smaller bumps, lower means larger).
and the 0.0001 value controls the height of the bump - sometimes this needs to be very small in order to look correct.

User avatar
Bosseye
Posts: 312
Joined: Fri Jan 01, 2010 10:52 pm
Location: Bristol, UK

Re: Help with bumpy shiny surface

Post by Bosseye » Thu Jul 02, 2015 8:33 pm

Hey thanks for that - I've never touched ISL before though, is this something I would have to do via the Material Editor? For some reason I don't have that installed.... :?

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: Help with bumpy shiny surface

Post by CTZn » Thu Jul 02, 2015 9:23 pm

In the SkIndigo material editor, change the map type for bump from texture to shader, and there you go.

Shaders can be edited in real time while rendering in Indigo. You can also change the texture scaling in the Indigo texture editor, it's weird but change the two "1" arranged in a square with zeroes to a different value.

Try it and tell back :)
obsolete asset

User avatar
Bosseye
Posts: 312
Joined: Fri Jan 01, 2010 10:52 pm
Location: Bristol, UK

Re: Help with bumpy shiny surface

Post by Bosseye » Thu Jul 02, 2015 10:04 pm

Hey this is cool! Managed to mess it up initially though, I just added this line:
noise(posOS()*100)*0.0001
underneath the def eval which was already filled in like this:
def eval() real : fbm(posOS()*4.0, 2)*0.02
#This is a fractal noise shader.
#4.0=Position scale
#2=fbm octave
#0.02=multiplier (eg. height for displacement
And ended up with this:
ISL1.JPG
Which is cool but wrong!
And then I engaged my brain and removed the def eval code and just added the code exactly as FakeShamus had noted and I get this:
ISL2.JPG
Which is much better!
So with a little bit of fiddling, I get this:
ISLWin.JPG
Which I think is just about right (aside from the colour which I will tweak). The bump won't be so obvious when the material is in the rest of the scene and properly lit.

Thank you both so much, you've really helped me out.

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: Help with bumpy shiny surface

Post by Pibuz » Tue Jul 21, 2015 3:49 am

I'd have used the ISL too to get the right result, even if I don't know almost anything about it :lol:

...I actually think that sooner or later some sort of graphic controller will have to be integrated in order to get all users understand and USE the ultrauseful ISL (I don't know: primary functions such as fractal noise, noise, speckle and so on to be chosen from a list, and then sliders to adjust the scale and power of the shader..)

In your case, I'd have also tried to map the surface using a simple sketchup material with the bump texture as diffuse map. Then, in the material editor, switch the albedo slot from SU to NONE and select that blue/green-ish tint to colour you surface. This way you could still use the bump texture referenced to SketchUp mapping without having to fiddle around with it. Did you think about it?

User avatar
bubs
2nd Place Winner
Posts: 620
Joined: Fri Jul 22, 2011 8:46 pm
Location: UK

Re: Help with bumpy shiny surface

Post by bubs » Tue Jul 21, 2015 8:08 pm

Bosseye wrote:I don't know: primary functions such as fractal noise, noise, speckle and so on to be chosen from a list, and then sliders to adjust the scale and power of the shader..
+1 8)

User avatar
Zom-B
1st Place 100
Posts: 4700
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: Help with bumpy shiny surface

Post by Zom-B » Tue Jul 21, 2015 11:07 pm

Just like fused did for the C4D exporter:
Attachments
ISL_Shader.png
polygonmanufaktur.de

User avatar
Oscar J
1st Place Winner
Posts: 2204
Joined: Sat Mar 31, 2012 3:47 am
Location: Gothenburg, Sweden
3D Software: Blender

Re: Help with bumpy shiny surface

Post by Oscar J » Tue Jul 21, 2015 11:28 pm

WTH! Why does Indigo not have that? :shock:

User avatar
Zom-B
1st Place 100
Posts: 4700
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: Help with bumpy shiny surface

Post by Zom-B » Wed Jul 22, 2015 12:00 am

Oscar J wrote:WTH! Why does Indigo not have that? :shock:
This is a "simple" GUI that controls some ISL Shader parameters inside C4D.
Indigo does have something like that, but for that some artist/coder needs to setup the material nicly in the first place!
Like the material in this thread: http://www.indigorenderer.com/forum/vie ... 23&t=13032
Attachments
ISL.JPG
polygonmanufaktur.de

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: Help with bumpy shiny surface

Post by Pibuz » Wed Jul 22, 2015 12:29 am

I WANT THAT FOR SKINDIGO! :lol:

User avatar
Juju
Posts: 270
Joined: Sat Mar 17, 2007 3:49 am
Location: South Africa

Re: Help with bumpy shiny surface

Post by Juju » Wed Jul 22, 2015 12:39 am

Pibuz wrote:I WANT THAT FOR SKINDIGO! :lol:
+1!
Indigo 4 | skIndigo | SUpro 2018

Post Reply
12 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 30 guests