Page 1 of 2
New scratched metal material
Posted: Mon Mar 01, 2010 11:29 am
by galinette
Re: New scratched metal material
Posted: Mon Mar 01, 2010 12:30 pm
by OnoSendai
Very cool.
I don't quite understand how you made the procedural scratches, can you give a brief explanation?
Re: New scratched metal material
Posted: Mon Mar 01, 2010 3:40 pm
by Soup
Awesome, I always look forward to your shaders

Re: New scratched metal material
Posted: Mon Mar 01, 2010 11:25 pm
by galinette
Actually, this is pretty simple.
I define a scratch function along a single direction, from a fbm function : I clamp the fbm, so that most of the surface is flat, with some grooves, and I stretch it a lot along one direction, so that it looks like scratches.
Then, I add several times this function, with input coordinates rotated by various angles. In fact in the shader I do not define the angles, but direction vectors, which avoid computing to much sin and cos.
Just a last fine tweaking, I distort slightly each scratch function by a wavy distortion, so that they don't look too much parallel,.
Etienne
Re: New scratched metal material
Posted: Tue Mar 02, 2010 2:18 am
by Whaat
oustanding work! Awesome material! I'm convinced that your skills have no limit! What's next?

Re: New scratched metal material
Posted: Tue Mar 02, 2010 3:08 am
by galinette
Ouch! Outstanding votes about this... Thanks for your interest!
Please provide your nice material ideas... ISL can't do anything but there are still many possibilities.
What's next? Maybe some procedural textile. I'm on that for some times now. This is a very complex and interesting topic:

- Fuschia fiber webbed with gold wire
- fuschia-gold-textile.jpg (89.1 KiB) Viewed 5938 times

- Brown and beige textile
- beige-textile.jpg (98.05 KiB) Viewed 5936 times
I still need to work on randomness on these. They are too periodic.
And "professionnally" (previous was homework) I'm on glass. Various glass tints from spectral data (to be released as soon as we have legal terms ready, they will be free of use but the spectra data will be tied to the product brand names) and embossed glass.

- Blue glass (spectral)
- altSGG-SAPHBLUE.jpg (75.61 KiB) Viewed 5933 times
I'm also waiting Indigo improvements to implement real coated glass, discussed already in another topic. This will not be simple one layer dielectric coating such as in other engines, but real complex stack (>20 layers including absorbers and metals) spectral and angular data.
Re: New scratched metal material
Posted: Tue Mar 02, 2010 3:27 am
by Doug Armand
I'm beginning to suspect that galinette is either a genius or an alien. Bets on which anyone?

Re: New scratched metal material
Posted: Tue Mar 02, 2010 5:38 am
by dakiru
Doug Armand wrote:I'm beginning to suspect that galinette is either a genius or an alien. Bets on which anyone?

Alien genius?

Great materials.
Re: New scratched metal material
Posted: Tue Mar 02, 2010 9:53 am
by Pibuz
Doug Armand wrote:I'm beginning to suspect that galinette is either a genius or an alien. Bets on which anyone?

I don't know, but I KNOW that every times he adds explainations I feel like I AM the alien. I can't understand a word. AND THEY'RE EXPLAINATIONS!!!!!!!
I think I'll just sit in the backstage, sit and with arms crossed, and then just do a good old material draining when he's done.
Seriously. He's wonderful.
Re: New scratched metal material
Posted: Tue Mar 02, 2010 12:27 pm
by galinette
Now baking webbed carbon fiber...
Re: New scratched metal material
Posted: Tue Mar 02, 2010 2:46 pm
by Headroom
Outstanding efforts and materials. For your contribution you should be awarded a lifetime license. Seriously!
Re: New scratched metal material
Posted: Tue Mar 02, 2010 7:51 pm
by galinette
Here it is:
http://www.indigorenderer.com/materials/materials/343
I'm not fully happy with it yet, maybe I will continue to tweak it. Also scheduled : more complex weaving patterns.
Etienne
Re: New scratched metal material
Posted: Tue Mar 02, 2010 11:32 pm
by galinette
Here is the tweaked carbon fiber. Which one do you prefer, this one or the one from the matDB?
Etienne
Re: New scratched metal material
Posted: Tue Mar 02, 2010 11:46 pm
by fenerolina
Wow Galinette! Take a breath.
I prefer the one you posted here but I'm not an expert..
Thank you again for your dedication.
Headroom wrote:Outstanding efforts and materials. For your contribution you should be awarded a lifetime license. Seriously!
+1
Re: New scratched metal material
Posted: Wed Mar 03, 2010 1:44 am
by galinette
OK, I have updated it
Etienne