Glass questions again
Glass questions again
Hello, all.
Please compare the renders below:
from Blender
from Indigo
How can I get the black areas out of the Indigo Render? Note: I've already tried lowering the Gain value in Blendigo, but it didn't fix the problem.
Any suggestions?
Thanks in advance.
Please compare the renders below:
from Blender
from Indigo
How can I get the black areas out of the Indigo Render? Note: I've already tried lowering the Gain value in Blendigo, but it didn't fix the problem.
Any suggestions?
Thanks in advance.
Re: Glass questions again
Hi
Intersecting glass mediums need to have different % value - glass that's inside another glass needs to have % 9 or smaller than 10% if that glass in what it is has 10%
<scenedata>
<medium>
<name>GlassABC</name>
<precedence>9</precedence>
<basic>
<ior>1.50137</ior>
<cauchy_b_coeff>0.00809424</cauchy_b_coeff>
<absorption_coefficient_spectrum>
-----
All normals out (select all and ctrl + n) in blender edit mode.
No holes in solid mesh, all geometry has thickness (no single flat plane with 0 thickness)
----
Also u need HDR map for lighting if u don't want glass to be flat and boring.
http://www.openfootage.net/?cat=15
Intersecting glass mediums need to have different % value - glass that's inside another glass needs to have % 9 or smaller than 10% if that glass in what it is has 10%
<scenedata>
<medium>
<name>GlassABC</name>
<precedence>9</precedence>
<basic>
<ior>1.50137</ior>
<cauchy_b_coeff>0.00809424</cauchy_b_coeff>
<absorption_coefficient_spectrum>
-----
All normals out (select all and ctrl + n) in blender edit mode.
No holes in solid mesh, all geometry has thickness (no single flat plane with 0 thickness)
----
Also u need HDR map for lighting if u don't want glass to be flat and boring.
http://www.openfootage.net/?cat=15
Re: Glass questions again
Thanks for responding, Meelis.
(wow 20-something views as of 8pm EST and only 1 reply...guess I gotta ask something more controversial?)
Anyway...I've tried changing the Gain and Precedence settings, but nothing is working. My normals are calculated outwards, too.
The rods are made of 2 uvspheres (cut in half and extruded) directly beside each other. Do I need to put 1 uvsphere slightly inside of another (kind of like a capsule pill)?
Is is ok if I attach the actual .blend file for you to tinker with?
Thanks,
scatman
latest attempt:
(wow 20-something views as of 8pm EST and only 1 reply...guess I gotta ask something more controversial?)
Anyway...I've tried changing the Gain and Precedence settings, but nothing is working. My normals are calculated outwards, too.
The rods are made of 2 uvspheres (cut in half and extruded) directly beside each other. Do I need to put 1 uvsphere slightly inside of another (kind of like a capsule pill)?
Is is ok if I attach the actual .blend file for you to tinker with?
Thanks,
scatman
latest attempt:
Re: Glass questions again
It somewhat depends on how your object is created.
Zip your .blend before you post it.
Zip your .blend before you post it.
Re: Glass questions again
There you go...the .blend file is attached.
Thanks for your help.
scatman
Thanks for your help.
scatman
- Attachments
-
- DNA setup 4a Indigo - TESTdnaRna.zip
- (1.8 MiB) Downloaded 280 times
Re: Glass questions again
The capsel looking dna pairs (ACT) are made of 2 meshes, they can not be opened from center where they join - close them both. Also close the spiral's from both ends (total 4 circle rings to extrude (edge mode) - scale to center in median point mode). W remoe doubles and A and ctrl + N.
Re: Glass questions again
Hi,
What you want to do is tricky to do with Indigo I think.
If you want to make an object made of two kinds of glass, the interface between both cannot be defined directly. You need to have one part (for instance : the red one) slightly bigger than the yellow part, and overlapping. This means, for instance, that you need to have slightly different diameters for the two parts of the rod, to make the overlapping work correctly.
I would use a totally different approach for the rods. Make a single rod without split in the middle, and apply a material with an absorbance shader defining the two colors. I'm sure Indigo can do this, however, neither the exporter nor the material editor support it.
For the small rings inside the transparent helix, you should make them closed, and slightly smaller than the helix wire, with high precedence.
Etienne
What you want to do is tricky to do with Indigo I think.
If you want to make an object made of two kinds of glass, the interface between both cannot be defined directly. You need to have one part (for instance : the red one) slightly bigger than the yellow part, and overlapping. This means, for instance, that you need to have slightly different diameters for the two parts of the rod, to make the overlapping work correctly.
I would use a totally different approach for the rods. Make a single rod without split in the middle, and apply a material with an absorbance shader defining the two colors. I'm sure Indigo can do this, however, neither the exporter nor the material editor support it.
For the small rings inside the transparent helix, you should make them closed, and slightly smaller than the helix wire, with high precedence.
Etienne
Eclat-Digital Research
http://www.eclat-digital.com
http://www.eclat-digital.com
Re: Glass questions again
While you're at it also the helix in the .blend file is pretty large (several meters).
One Blender unit is one meter, so the default cube is already 2^3m in size.
If you scale it down to say 20-30 cm in diameter it will yield much more interesting results.
Some HDRI with more point-like light sources would potentially generate some nice caustics if you place the helix on a background.
One Blender unit is one meter, so the default cube is already 2^3m in size.
If you scale it down to say 20-30 cm in diameter it will yield much more interesting results.
Some HDRI with more point-like light sources would potentially generate some nice caustics if you place the helix on a background.
Re: Glass questions again
Thanks to all for your comments.
I tried your suggestion, Meelis; the result is below
As you can see, it changed the ends of the spirals, but Extrude+Scale to center+Remove doubles+Ctrl N didn't quite fix the rod.
Next I'll try resizing one of the rods, per galinette's suggestion.
scatman
I tried your suggestion, Meelis; the result is below
As you can see, it changed the ends of the spirals, but Extrude+Scale to center+Remove doubles+Ctrl N didn't quite fix the rod.
Next I'll try resizing one of the rods, per galinette's suggestion.
scatman
Re: Glass questions again
Set up for blendigo 2.6.1.4
Smaller model = more transparent glass
Smaller model = more transparent glass
- Attachments
-
- dna.zip
- blend
- (2.41 MiB) Downloaded 263 times
Last edited by dag on Thu Mar 31, 2011 12:41 pm, edited 1 time in total.
Re: Glass questions again
Nice DAG.
Yields even better results if thelead cystall glass from the matDB is used. http://www.indigorenderer.com/materials/materials/385
I also used a lightprobe from the St. Peters Basilica in Rome.from here
http://ict.debevec.org/~debevec/Probes/
Set the mapping to spherical. You may have to turn your scene upside down because otherwise the lightprobe stands on its head.
You als need to convert the .hdr file into an .exr using for example Picturenaut:
http://www.hdrlabs.com/picturenaut/
Yields even better results if thelead cystall glass from the matDB is used. http://www.indigorenderer.com/materials/materials/385
I also used a lightprobe from the St. Peters Basilica in Rome.from here
http://ict.debevec.org/~debevec/Probes/
Set the mapping to spherical. You may have to turn your scene upside down because otherwise the lightprobe stands on its head.
You als need to convert the .hdr file into an .exr using for example Picturenaut:
http://www.hdrlabs.com/picturenaut/
Re: Glass questions again
Thanks to everyone that responded. After much trial and error, I now know what I was doing wrong.
1. I wasn't closing both ends of my rods with Extrude+Scale to center+Remove doubles
2. I wasn't using the Edge Split modifier (I didn't even know it existed)
3. I had the 2 'rod halves' touching each other; there should be a tiny gap between the 2
So, if anyone else wants glass beside glass in Indigo (I like caustics), please do the 3 things above, and don't forget to RECALUCLATE NORMALS OUTSIDE with Ctrl+N.
These are more like what I had in mind
Thanks a billion to you all.
scatman
1. I wasn't closing both ends of my rods with Extrude+Scale to center+Remove doubles
2. I wasn't using the Edge Split modifier (I didn't even know it existed)
3. I had the 2 'rod halves' touching each other; there should be a tiny gap between the 2
So, if anyone else wants glass beside glass in Indigo (I like caustics), please do the 3 things above, and don't forget to RECALUCLATE NORMALS OUTSIDE with Ctrl+N.
These are more like what I had in mind
Thanks a billion to you all.
scatman
Re: Glass questions again
There really shouldn't be a gap, but the rod halves should have different precedence values.scatman wrote:3. I had the 2 'rod halves' touching each other; there should be a tiny gap between the 2
Re: Glass questions again
In fact, there should be either a gap, or an overlap.
A gap will give not 100% correct results, as it will simulate a thin layer of air between the two glass materials. It will render without issues, but will not be exactly what we want.
An overlap will give what we want. However, it's hard to model in this case, and requires a half-rod to have a slightly bigger diameter around the overlap.
No gap, no overlap will cause render issues (black areas generally)
Etienne
A gap will give not 100% correct results, as it will simulate a thin layer of air between the two glass materials. It will render without issues, but will not be exactly what we want.
An overlap will give what we want. However, it's hard to model in this case, and requires a half-rod to have a slightly bigger diameter around the overlap.
No gap, no overlap will cause render issues (black areas generally)
Etienne
Eclat-Digital Research
http://www.eclat-digital.com
http://www.eclat-digital.com
Who is online
Users browsing this forum: DotBot [Bot] and 77 guests