Gerry Posted March 8, 2010 Posted March 8, 2010 I'm doing a work project creating a series of stills showing a glass lab beaker half-filled with water, then adding white powder, then the water being stirred and becoming slowly clearer. I was looking in the libraries on my Mac's A:M over the weekend and there were maybe six glass materials, but when I started work at my office pc this morning, there are only three glass materials in the library, Fake Glass MR, Liquid Glass MR and Perspex MR. the assignment is tricky because at most points in the process everything needs to be transparent. I'm going to composite a toon line for definition of the beaker but I wonder if someone can make a good recommendation for a glass material that will approximate laboratory glassware. Quote
Darkwing Posted March 8, 2010 Posted March 8, 2010 Well, I know Robert has an awesome one from seeing his syrup tests. Bug him for it cause it's a cool glass! Quote
Hash Fellow robcat2075 Posted March 8, 2010 Hash Fellow Posted March 8, 2010 glass is easy. model your beaker so the walls have thickness. make it slightly less than 100% transparent. give it some very slight color like green or blue give it Index of refraction more than 1.0 give it very slight reflectivity. You test the object in its setting and vary all of those to suit the look you want. Quote
Gerry Posted March 8, 2010 Author Posted March 8, 2010 Ooh, that index of refraction is the thing! I was already on my way with a gradient material with an edge gradient and added Robcat's settings to the transparent part. Works pretty well I think! And the toon line won't be necessary after all. EDIT: one other change was to treat the interior of the beaker slightly different from the exterior so there wouldn't be double specularity. I think that helped too. Quote
Eric2575 Posted March 8, 2010 Posted March 8, 2010 Reduce the spec size and increase the spec intensity a bit. Right now it looks a bit milky. It might be the transparency isn't high enough. Quote
Hash Fellow robcat2075 Posted March 8, 2010 Hash Fellow Posted March 8, 2010 If your background will be blank like that then IOR may not be a factor. Your gradient combiner approach may get you more. Quote
Gerry Posted March 8, 2010 Author Posted March 8, 2010 the IOR definitely makes a difference in the way the grey shading happens around the lip. I'll keep experimenting. Quote
Gerry Posted March 8, 2010 Author Posted March 8, 2010 Try more IOR...like 1.5 or 2! I tried that, and it's way too much. I've got it at 1.02. Any more than that and it starts getting wierd. Quote
Eric2575 Posted March 9, 2010 Posted March 9, 2010 How the final render comes out also really depends on how you set everything else up. If you get it too realistic, the render times go up pretty fast. I didn't even finish the render below since it takes 7 minutes on my laptop for every pass. Thought I'd give it a shot though. Quote
photoman Posted March 9, 2010 Posted March 9, 2010 The IOR of actual glass (Well crown glass (ie lens glass)) is about 1.33, air is 1.000000001 and vacuum is 1. Here is the super awsome best list ever of IOR's : CG Talk IOR Thread Photoman Quote
Gerry Posted March 9, 2010 Author Posted March 9, 2010 Here's the next version, with a little more detail. I would sure like to get some motion blur on that paddle. What I've tried so far is to rotate it, convert to Euler interpolation, give it a good spin and render at 9 passes with 50% motion blur and this is what I got. Should I just increase all these settings? In the process I'm animating the paddle is supposed to be spinning at 200rpm throughout. Quote
Darkwing Posted March 9, 2010 Posted March 9, 2010 humour me on this. Render it as a short animation and see if the blur works. Something I've found is that if I'm rendering a single frame only, a motion blur does not render, but if I'm rendering multiple frames, the blur does render. Then if you render to multiple TGA files or something, you could pick one with a nice blur on it. Quote
Gerry Posted March 9, 2010 Author Posted March 9, 2010 That's worth a try! I'll post something later in the day. EDIT: Actually it's working just fine without rendering a sequence. I just cranked up the revolutions and motion blur. Quote
Gerry Posted March 10, 2010 Author Posted March 10, 2010 Here's the final sequence. It worked out just fine for our purposes but I'm sure it will change! Quote
fae_alba Posted March 10, 2010 Posted March 10, 2010 The IOR of actual glass (Well crown glass (ie lens glass)) is about 1.33, air is 1.000000001 and vacuum is 1. Here is the super awsome best list ever of IOR's : CG Talk IOR Thread Photoman or perhaps this list...Table - Index i particularly like the fact that they list a value for beer! Quote
thejobe Posted March 10, 2010 Posted March 10, 2010 i had this problem with glass a few years back took me like 2 weeks to figure it out this was pretty much the result you can find the beekers and tubes here Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.