Page 41 of 57

Re: Oscar's rendering thread

Posted: Sun Aug 09, 2015 6:36 am
by Oscar J
Thanks! This is a variant of Ono's/Nick's carpaint, but I've tweaked some things like coating roughness, flake size and absorption to fit my scene.

Ono's paint:
http://www.indigorenderer.com/materials/materials/1322

In this new image below, I have introduced what's commonly known as "orange peel", a slight bump structure to the clear coat layer.

To do this, I used an fbm noise bump shader, with the following parameters:

Code: Select all

def eval() real :
fbm(posOS() * 50.0, 2) * 0.00001

Re: Oscar's rendering thread

Posted: Sun Aug 09, 2015 7:44 am
by Oscar J
Still, this carpaint definitely needs some further tweaking though. Working on it - smaller flakes, and less "roughness" in the metallic flake shader, so that there are less firefly-looking bright red flakes towards the darker area.

Re: Oscar's rendering thread

Posted: Sun Aug 09, 2015 8:10 am
by Oscar J
Hell yes! This is the ultimate carpaint *floating around in ecstasy*. :lol:

Excellent, subtle looking flakes + orange peel! Creds to Nick for building the foundation of this.

Re: Oscar's rendering thread

Posted: Sun Aug 09, 2015 8:23 am
by thesquirell
It's incredible. So real, that I can't even....can someone explain this material in detail, from the physics/computer point of view, what is going on here? These types of material should be in a some sort of a material wizard, there's some serious coding in there! :D

Re: Oscar's rendering thread

Posted: Sun Aug 09, 2015 9:23 am
by Oscar J
Check it out for yourself, it's up on the material database: http://www.indigorenderer.com/materials/materials/1390

It's a fairly crazy material and I'm not a 100 % sure of all the details in there myself, but I'll try to explain:

There's one material called "base". This material is a simple neutral specular phong with Exponent @ 60.

Then there's another material called "flakes". This is also a neutrally coloured specular material, but with exponent value 100000. In the Normal Map slot of this material, there are 10 lines of code with seemingly random values that Ono must have tested his way to. The first line contains scale - probably the scale of the random normal map noise the rest of the code describes. The second one, alpha2 controls the roughness, and I found that a lower value in this parameter gives you more subtle flakes more concentrated to the highlight area, not appearing randomly in the other parts of the paint.

The material speckled carpaint substrate is a blend between these two materials. The blend map is also a script, with a more simple gridnoise function controlling the blend. The blend doesn't have any greys, because the line "if r > 0.7 then 1.0 else 0.0" means that the parts of the grid noise with brightness value over 0.7 gets brightness 1.0, and the parts of the grid noise with brightness less than 0.7 gets brightness 0. So every part of this blended substrate is either the material "base" OR the material "flakes".

On top of all this is a coating. This has IOR 1.6, thickness 1000 (micrometers?) and coloured absorption. The colour that you use for this absorption is what you use to set the colour for the whole carpaint. A cyan colour gave me this red carpaint for example.

What I also added to this coating is a small scale and amplitude fbm noise in the bump slot of the coating. This gives a nice organic orange peel effect to the clear coat, some imperfection.

Re: Oscar's rendering thread

Posted: Sun Aug 09, 2015 8:44 pm
by zeitmeister
Oh this is sooo nice... I definately want this material as a complete Indigo- / cindigo material for easy editing and use; encapsuled in a way. Base color, flake color, flake intensity, flake size, coating parameters, bump parameters.
And finished.
Awesome work, Oscar!


Cheers, zeiti

Re: Oscar's rendering thread

Posted: Sun Aug 09, 2015 9:22 pm
by Oscar J
zeitmeister wrote:Oh this is sooo nice... I definately want this material as a complete Indigo- / cindigo material for easy editing and use; encapsuled in a way. Base color, flake color, flake intensity, flake size, coating parameters, bump parameters.
Cheers, zeiti
:shock: This is a great idea! Indigo Car Paint, either as an own material type, or perhaps a "sub-material" to phong.

Re: Oscar's rendering thread

Posted: Sun Aug 09, 2015 9:47 pm
by thesquirell
Something like this already exists in other render engines, like Maxwell for example. A material wizard which is a generalized material editor, adapted for certain types of objects, such as cars, cloths, etc. Would be really nice if Indigo devs would actually adapt that style, and offer us a material wizard which would encapsulate all those nice codes they have written in ISL, so those non-coding users would have a chance of using them. I think it would greatly contribute to Indigo's popularity!

Re: Oscar's rendering thread

Posted: Mon Aug 10, 2015 4:44 am
by StompinTom
Oscar J wrote:Hell yes! This is the ultimate carpaint *floating around in ecstasy*. :lol:

Excellent, subtle looking flakes + orange peel! Creds to Nick for building the foundation of this.
Very sexy!

Re: Oscar's rendering thread

Posted: Mon Aug 10, 2015 5:20 am
by Oscar J
:) Some more sexy:

metallic 3.jpg
carpaint 2.jpg
metallic 5.jpg
metallic 4 s.jpg

Re: Oscar's rendering thread

Posted: Mon Aug 10, 2015 8:31 am
by thesquirell
Pure sexiness.

Re: Oscar's rendering thread

Posted: Mon Aug 10, 2015 8:53 am
by Oscar J
A little collage. :D

This is the first time that I've felt that my own work is pretty much photorealistic. A bit of a breakthrough for me. And these were just supposed to be tests. :)

Re: Oscar's rendering thread

Posted: Tue Aug 11, 2015 1:29 am
by Headroom
Oscar J wrote:A little collage. :D

This is the first time that I've felt that my own work is pretty much photorealistic. A bit of a breakthrough for me. And these were just supposed to be tests. :)
Whaaaaat ?
Shaking my head in disbelieve. Your car renderings have reached an almost unearthly quality in terms of....everything.
Modeling, scene setup, lighting, materials etc.



Sent from my iPad using Tapatalk

Re: Oscar's rendering thread

Posted: Tue Aug 11, 2015 1:43 am
by Oscar J
Headroom wrote:
Oscar J wrote:A little collage. :D

This is the first time that I've felt that my own work is pretty much photorealistic. A bit of a breakthrough for me. And these were just supposed to be tests. :)
Whaaaaat ?
Shaking my head in disbelieve. Your car renderings have reached an almost unearthly quality in terms of....everything.
Modeling, scene setup, lighting, materials etc.
Hey now! Your rocking chair scene has been one of my major benchmarks for years, when it comes to those exact areas (scene setup, lighting, materials, composition). :)

So thanks for that, and for your comment!

Re: Oscar's rendering thread

Posted: Tue Aug 11, 2015 3:40 am
by bubs
These are great Oscar... really very good.
I do think the specular highlights in the paint are still a little bit dull compared to the pure white reflective flecks you see in photographs of metallic paint, but the orange peel looks amazing! 8)