Problem with layered reflection / refraction
- Heavily Tessellated
- Posts: 108
- Joined: Thu Aug 10, 2006 4:20 pm
- Location: Huh?
Problem with layered reflection / refraction
Hi. Can anyone help me figure this out? This is probably not Blender specific, I just gravitate to the Blender topic... move it as you see fit.
The model in question is a Galilean thermometer. It's a basic "studio shot" - 5 meshlights; one overhead, two lateral, two 45* frontal off-axis. The scale is roughly the 1BU = 1m standard; eg. the base is 0.1 BU wide. This is a metro pass, bidir comes out much worse, the bulbs are nearly invisible.
I am getting no reflections / refractions off the inner bulbs nor the fluid inside said bulbs, so figuring it was a CSG issue, I took the column of alcohol-water and copies of the stuff inside and merged it. As you know, Blender boolean sucks, and even MegaBool did not do well here... it took hours of meticiously hand re-facing to make a hollowed out version of the column. The end result was the same, however. You figure any photon passing through just one bulb has thirteen faced surfaces to pass... glass outer -> glass inner -> alcohol-water outer > alcohol-water inner -> bulb outer -> bulb inner -> fluid inner & outer -> bulb / alcohol-water / glass tube inner & outer again. Each sphere should be reflective, as should the fluid. As you can see, they're not. You only see the lights reflected in the outer glass and the backface of said glass - the rest, nothing. Not even the top of the alcohol-water which should be the easiest inner refection, but as you can see it's nearly invisible. (just above the top red bulb.)
I've tried tweaking the color densities from like 0.01 to 10, but all this does is make the transparencies less transparent. It does nothing for making the reflections show up.
Compare this to any photograph of a Galilean thermometer you can find on the web. It just comes out wrong.
The model in question is a Galilean thermometer. It's a basic "studio shot" - 5 meshlights; one overhead, two lateral, two 45* frontal off-axis. The scale is roughly the 1BU = 1m standard; eg. the base is 0.1 BU wide. This is a metro pass, bidir comes out much worse, the bulbs are nearly invisible.
I am getting no reflections / refractions off the inner bulbs nor the fluid inside said bulbs, so figuring it was a CSG issue, I took the column of alcohol-water and copies of the stuff inside and merged it. As you know, Blender boolean sucks, and even MegaBool did not do well here... it took hours of meticiously hand re-facing to make a hollowed out version of the column. The end result was the same, however. You figure any photon passing through just one bulb has thirteen faced surfaces to pass... glass outer -> glass inner -> alcohol-water outer > alcohol-water inner -> bulb outer -> bulb inner -> fluid inner & outer -> bulb / alcohol-water / glass tube inner & outer again. Each sphere should be reflective, as should the fluid. As you can see, they're not. You only see the lights reflected in the outer glass and the backface of said glass - the rest, nothing. Not even the top of the alcohol-water which should be the easiest inner refection, but as you can see it's nearly invisible. (just above the top red bulb.)
I've tried tweaking the color densities from like 0.01 to 10, but all this does is make the transparencies less transparent. It does nothing for making the reflections show up.
Compare this to any photograph of a Galilean thermometer you can find on the web. It just comes out wrong.
- Attachments
-
- 400x1200
- Galilean-Thermometer-test4.jpg (83.3 KiB) Viewed 4681 times
Last edited by Heavily Tessellated on Tue Sep 04, 2007 1:08 pm, edited 1 time in total.
- Heavily Tessellated
- Posts: 108
- Joined: Thu Aug 10, 2006 4:20 pm
- Location: Huh?
-
- Posts: 35
- Joined: Sat Aug 18, 2007 10:20 am
Finished searching for:
precedence
Total instances found:
3
precedence
Total instances found:
3
Source: [url=http://Documents_and_Settings/Heavily_Tessellated/Desktop/indigo_v09_test6/it_is_there_i_am_telling_ya/Indigo_Manual.pdf]Indigo Manual[/url] <-- you can find more information thereprecedence
Precedence is used to determine which medium is considered to occupy a volume when two or more media occupy the volume. The medium with the highest precedence value is considered to occupy the medium, 'displacing' the other media.
The predefined and default scene medium, 'air', has precedence 1.
type: integer
unit:
restrictions: Should be > 1
If you've 13 different intersections, I guess, you need 14 different precedence settings!
No booleans needed at all
you simply model the glass tubes with thickness, then, the fluid, then the glass bubbles, then the air inside (just a smaller version ) then the fluid on them and you set the precedence getting bigger and bigger to the inside....
or the fluids get a lower precedence than the glass. Just the air inside the glass bubbles should have higher precedence than the glass bubbles themselves and the liquid even higher precedence
Btw: that's the PERFECT precedence test
No booleans needed at all
you simply model the glass tubes with thickness, then, the fluid, then the glass bubbles, then the air inside (just a smaller version ) then the fluid on them and you set the precedence getting bigger and bigger to the inside....
or the fluids get a lower precedence than the glass. Just the air inside the glass bubbles should have higher precedence than the glass bubbles themselves and the liquid even higher precedence
Btw: that's the PERFECT precedence test
- Heavily Tessellated
- Posts: 108
- Joined: Thu Aug 10, 2006 4:20 pm
- Location: Huh?
Ah this is good news, I was considering animating a bulb or three to do a changing temperature scene, but the thought of having to re-boolean each position was going to cause an aneurysm...Kram1032 wrote:If you've 13 different intersections, I guess, you need 14 different precedence settings!
No booleans needed at all
With so much transparency it takes a while to get even 1k/pix convergence on four cores, I'll try the increment-by-one method and post the results.
Thanks guys!
- Heavily Tessellated
- Posts: 108
- Joined: Thu Aug 10, 2006 4:20 pm
- Location: Huh?
Hmm. OK. This time I used the non-Boolean'd cut-out version, and set the precedences incrementally inward; eg. glass cylinder 10, alcohol-water column 11, glass bulbs 12, colored fluids 13... the result is better than last time but definitely not correct, I do get the proper inner reflections like the "top" of the alcohol-water column and all 8 reflections of the 4 side lights (backfaces too!! woo!), but they're quite weak, even with the color gain down as low as 0.2... you can barely see the lights on the inner bulbs, with the water and glass at 0.0 color.
Man, but it's very computationally intensive; so this is only resolved to 2000 samples per pixel and took 12 hours.... still, it's enough that if the fluid colors were going to come through, it would have.
Anyway, any ideas where to go from here? Being that it's ~8h each test, I don't want to just keep increasing the color gain randomly till I get something close three months from now.
Thanks.
Man, but it's very computationally intensive; so this is only resolved to 2000 samples per pixel and took 12 hours.... still, it's enough that if the fluid colors were going to come through, it would have.
Anyway, any ideas where to go from here? Being that it's ~8h each test, I don't want to just keep increasing the color gain randomly till I get something close three months from now.
Thanks.
- Attachments
-
- 400x1200
- Galilean-Thermometer-test5.jpg (99.95 KiB) Viewed 4679 times
Last edited by Heavily Tessellated on Tue Sep 04, 2007 1:09 pm, edited 1 time in total.
- Heavily Tessellated
- Posts: 108
- Joined: Thu Aug 10, 2006 4:20 pm
- Location: Huh?
It is a basic studio setup, as detailed in the initial post.
Besides, this should not matter, the strength of the reflection should be the same relative to the light source. If it was just a low-strength blackbody emitter emulating a single candle, the effect should be the same.
OK let's tackle this one bit at a time. Before working on the colored fluids... so why, with the outer glass cylinder and the alcohol-water column set as <rgb>0 0 0</rgb> are they so weak? "They" being the primary surface reflections of the light sources on the bulbs - They should be 99% as strong as the outer glass ones, which they are clearly not. Any idea how to bump them up, when essentially the material is invisible already, it's only the IoR we're seeing?
BTW: In case anyone's curious about what I'm attempting or what they should look like, head over to Flickr: http://www.flickr.com/search/?q=Galileo+thermometer
Sorry if I sound frustrated. But well, I am. Thanks for any suggestions.
Besides, this should not matter, the strength of the reflection should be the same relative to the light source. If it was just a low-strength blackbody emitter emulating a single candle, the effect should be the same.
OK let's tackle this one bit at a time. Before working on the colored fluids... so why, with the outer glass cylinder and the alcohol-water column set as <rgb>0 0 0</rgb> are they so weak? "They" being the primary surface reflections of the light sources on the bulbs - They should be 99% as strong as the outer glass ones, which they are clearly not. Any idea how to bump them up, when essentially the material is invisible already, it's only the IoR we're seeing?
BTW: In case anyone's curious about what I'm attempting or what they should look like, head over to Flickr: http://www.flickr.com/search/?q=Galileo+thermometer
Sorry if I sound frustrated. But well, I am. Thanks for any suggestions.
- Heavily Tessellated
- Posts: 108
- Joined: Thu Aug 10, 2006 4:20 pm
- Location: Huh?
>>man you need to jpeg your large PNG files
Yea, sorry about that. Not everyone is bandwidth blessed and there's no reason. Fixed. Thanks.
And yep, bidir metro max depth 1000... typical Blendigo default.
Speaking of, could the Blendigo defaults re: Reinhard and exposure_duration be part of the problem? If it didn't take 4 hours to resolve enough to see the bulb edges I'd try every freakin' setting until I got it thru trial-and-error, but it's just too intensive... I'll probably have to make a more simple test scene and get it working, and extrapolate that to the full scene. (one little detail on a window sill of a whole room is bogging me down for days - grr.)
I'll keep playing with it... it is maddening when Indigo output looks less correct than Blendternal.
Yea, sorry about that. Not everyone is bandwidth blessed and there's no reason. Fixed. Thanks.
And yep, bidir metro max depth 1000... typical Blendigo default.
Speaking of, could the Blendigo defaults re: Reinhard and exposure_duration be part of the problem? If it didn't take 4 hours to resolve enough to see the bulb edges I'd try every freakin' setting until I got it thru trial-and-error, but it's just too intensive... I'll probably have to make a more simple test scene and get it working, and extrapolate that to the full scene. (one little detail on a window sill of a whole room is bogging me down for days - grr.)
I'll keep playing with it... it is maddening when Indigo output looks less correct than Blendternal.
bulb edges.....try higher max depth..like the Indigo default of 10000. With multiple glass objects ray bounce becomes really important. Other than that I find glass can keep showing new things for a long time!
Reinhard won't make too much of a difference as it's a post render tone mapping. Exposure duration just determines how the depth of field of the camera will look.
make the image smaller for your tests, remeber if you half your resolution each side, your speed the render up x4
yeah zoom into a trouble spot and use a small image size. 100x100 imgae of glass renders in 15min to 3000 samples on my P4 3.2ghz in MLT mode
You seem to be rendering a lot of empty space around the object, so you can change the aspect ratio and remove the wasted space
you want it to look like this?
Reinhard won't make too much of a difference as it's a post render tone mapping. Exposure duration just determines how the depth of field of the camera will look.
make the image smaller for your tests, remeber if you half your resolution each side, your speed the render up x4
yeah zoom into a trouble spot and use a small image size. 100x100 imgae of glass renders in 15min to 3000 samples on my P4 3.2ghz in MLT mode
You seem to be rendering a lot of empty space around the object, so you can change the aspect ratio and remove the wasted space
you want it to look like this?
Who is online
Users browsing this forum: Ahrefs [Bot], DotBot [Bot] and 83 guests