Differences between DGS and DGS Photon Shader

I am new to mental ray with maya and I have a lot of trivial questions.

Can anyone tell me the difference between a DGS and a photon Dgs shader, where would each be applicable or do they have to be combined.

Also if a DGS shader is an accurate representation of the way light is handled, then why the need for a mib_illum_blinn shader. Just another stupid question.

thanks to all,
Dan

Hey Dan, no questions are stupid, so ask any that you might have...

To put it simply, DGS shaders handle the direct illumination of an object, DGS photon shaders handle the way that object reacts to photons (global/indirect illumation).

So, for example, you can have a white lambert-style ball (white color in the diffuse channel for your DGS) that has a red-chrome style photon shader (red color in the specular channel of your DGS photon) and that will render out as a matte white ball, surrounded by red "spill."

Basically, what is happening is that the direct illumination is behaving as if the ball was a matte white, but the photons are behaving as if the ball was a red chrome.

Not accurate, sure, but its a good way to see the differences between DGS and DGS photon.

Generally speaking, when using GI you always want to have DGS photon materials on your objects... even when using just blinns and lamberts and phongs and such.

DGS photon materials make the photons behave more predictably and accurately.

You combine DGS and DGS photon shaders when you want the utmost in physical accuracy.

If you want physical accuracy, make sure that the DGS and DGS photon have the same paramaters set (so my previous example, of the white ball with red spill, was not physically accurate).

The reason mib_illum_blinn is there is because its Mental Ray's version of a blinn, basically.

A blinn is a blinn is a blinn, for all intents and purposes, and blinns are not physically accurate the way DGS shaders are.

So, you can use a blinn (or any other traditional shader)when you don't need physical accuracy, basically.

For more info you can check out my "Full Explination of DGS Shaders" post.

At some point I will get around to posting a full tutorial on DGS, as well, not just a full explination... but the explination is a good start : )

I hope that helped!

-Steve

thanks a lot

i find that it will very slow with the DGS shader
though it's accurate.

expecting "a full tutorial on DGS".

DGS using glossy is slow, yes... but if you are just using specular (non-blurred) reflections, DGS is often faster than using, say, a Blinn or Phong... kinda depends on what you're doing, though.

Hopefully I will have a full tutorial done and up at some point soon... I am gonna be realistic and say not to expect it for at least another coupla months, though...

sorry, just busy with school.

glad I could help, though : )

-Steve