Stuff you never even knew about mental ray 3.5

One of the coolest features of mental ray 3.5 is the way the final gathering feature works.

It may deceptively seem to work the same way as before, but it doesn't. One really important point is that each FG point stored isn't just a color, it's a whole set of colors - with directional information (for the tech heads: think spherical harmonics).

What does this mean? It means a lot for bump-mapping!!

In earlier version of mental ray, bumps basically had to be resolved by the adaptivity of the final gathering, causing an extreme density of final gather points due to the variation in the bumps.

But in mr 3.5 it works completely differently; the final gathering is actually calculated on the un-bumped normal vector, and the result is stored including directional data... and then at render time, data is looked up into this directional data.

The result is:

  • Much lower density of final gather points needed, the existance of bump maps does not increase the density!
  • Very high quality of directional effects of indirect light on the bump maps, at levels previously impossible.

This makes bumpy surfaces render faster, and resolve in much greater detail, causing details in the bump maps in "dark" areas, i.e. areas only lit by bounce lights or other forms of indirect light such as photons.

The catch:

Some earlier shaders out in the wild intentionally tried to work around this problem. These workaround can potentially interfere with the "correctness" of the new method.

The good stuff:

The cool stuff is that due to this new FG storage format, it is possible to do directional lookups into the FG map. This is how the "Highlights Only" mode in the Arch&Design material works, which can give a very good "visual simulation" of extremely glossy reflections, without actually shooting a ton of rays and taking almost no extra render time!



wabash said...

Really interesting stuff. Thanks for info!

Anonymous said...

Stomper has been a very useful tool for me in the past and I was planning to use it on into the future. However, I tried to install it today and I got this error:

An error occurred during the move data process: -119

Component: OCXs
File Group: OCXs
File: C:\WINDOWS\system32\Macromed\Flash\swflash.ocx

I'm really bummed out I can't use Stomper. :/

Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.
Muxxa said...

Hi, this is obviously the wrong place for this, but I've also been looking for stomper after a 3 year gap(!) and have run into the same error as shane. The rxml for version 4 is broken too. Any chance of an update, or dare I say it, open sourcing stomper? Stomper taught me an awful lot about the nature of sound, and was great fun to play with!

Anonymous said...

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.



Router Login said...

Nice read. Get free psn codes now from online sites.

LSB said...

Business School in London
Business School
MBA in London
Business School in London