Iray Shaders - Glass by Dumor3D - Question

Hi! I bought the shaders and I really like them. I have a question about them.
Since I have no Idea of what Fused Silica, Pyrex, Plexiglass, Lucite, Architectural Plain, Flint 29% Lead, Flint 55% Lead, Flint 71% Lead and Arsenic Trisufide are. (I only know what Plexiglass is)
Could please someone give a few simple examples of what Kind of glass should be used on what? For example which one for a Diamond? Or which one for a normal house window? Or car window? Or for a bottle?
Thank you! :-)
Comments
I can answer some of these, I think.
Pyrex - Used for industrial glass like beakers, test tubes, cookware, etc. If you have a glass measuring cup, It's probably Pyrex.
Lucite - The stuff used on the sides of really nerdy computer cases. Was also used for the casement windows in so called "Florida rooms" as a textured glass.
Architectural Plain - Think about glass and concrete sky scrapers. This is that glass. Crown glass, is usually what you hear when someone refers to window panes, but it's basically the same stuff, with only slight differences to strengthen for various purposes.
Flint/Lead - Also known as Flint Glass, Lead Glass, Lead Crystal, or just Crystal. Crystal glassware, like Waterford. Historically the amount of Lead Oxide used in production varied wildly.
Arsenic Trisulfide - I was curious and looked this up, so I have no real personal knowledge. It's used in infrared transmitting optics.
Fused Silica - Also looked this one up. Used most visibly in camera and telescope optics because of it's wide transmissivity (ultraviolet the near infrared). Also used in optical fiber (i.e. the stuff that makes the Internet work).
Diamond isn't among those, but I think there's a built-in Iray material for that. Regardless, google the IOR (index of refraction) of any light transmitting material and you should be able to come up with a reasonable approximation. Diamond, by the way, has an IOR of 2.417.
Mostly, when you want "plain old glass," it will be architectural. If you're after absolute realism, probably start with architectural glass and do a few google searches to find the IOR for the specific glass you're looking for and plug it in on the surfaces tab.
Bottles, windows, etc, use Architectural...although some bottles would probably be fine with the Pyrex setting.
Wine glasses, cut crystal and all sorts of 'fancy' glassware...the various flint/lead settings.
Thank you guys! Now at least I got an idea of the differences! :-)
Very generally speaking, higher quality glass has a higher Index of Refraction or IOR. So, fine crystal might be IOR 1.80 which is commonly known as Flint 71% Lead Glass. The higher the IOR, the more the light dances around within the glass giving it a brighter appearance.
The answers provided by the others here are correct. Thanks for those! :)
I hope you enjoy the product! Iray handles glass beautifully. It's one of the huge bonuses to this render engine.
:-) :-) :-)
Cool google find.
A complete IOR list... Well, complete-ish...
WOW! Thanks! :-)
Here's another list...
http://www.pixelandpoly.com/ior.html
Can't get this to work. I create a primitive, apply IOR (Fused Silica) and Color (Amethyst), and get this? IRay works fine with other stuff. What am I doing wrong?
No NVidia card, is that required for this?
--
BTW, product page says "Compatible with DS 4.7", shouldn't it be 4.8 which is the first version with IRay (AFAIK)?
I'm not sure, so I'll run down a list. After creating the primitive, you need to select it in the scene tab, then go to the surfaces tab and select the material... most likely named default. Then apply the glass type and then apply the color. Run a test render and you should see success!
DAZ Script to set the IOR of a surface.
Really, really, really ugly hack. --> setIOR.dsa
- May not work
- May destroy your work
- Might do something unpleasant to the family pet
If it does work, it will display a dropdown from which you can select a material. When you hit OK, it will apply the IOR to the currently selected surface(s).
It does not set the base material first. That's your responsibility. I'd suggest starting with architectural glass.
I'd say you didn't apply the material to a surface. I base this on the fact that that's what I usually do wrong.
You have to have the surface selected in the Surfaces tab before you can apply a material.
Thanks for those lists guys! Very usefull! :-)
The Link does not work for me :-(
EDIT: Got it! :-) Thanks!
Awesome script Esemwy! Works great! :-)
Thanks Dumor3D & Esemwy, you're right - forgot to select the surface. Works now!
That's the easiest thing to forget. I do it all the time. :)
@ Dumor3D - It would be really helpful (and I would buy it instantly), if you could make a set of common liquids shaders, like: wine, beer, milk, oil, coke etc.
Also some water surfaces like ruff ocean, sea, lake, river would be nice.
Significantly updated the GUI. Less ugly hack now.
Download here.
If anyone knows how to make DzFloatSliders display more significant digits, please speak up.
Where does the IOR.json has to go???
IOR.json and setIOR.dsa need to be in the same directory. The JSON file is the data. The DSA file is the script. Both have changed since the initial version.
Got it! Thank you very much for this. :-)