 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I'd like to be able to add refraction to the eyes of my Poser figures. I've
looked thru the manual, and can't figure it out. It seems as though the
entire object must refract, but I can't get a specific material to refract.
#declare Iris_1_=
texture{pigment {color rgb <1,1,1> transmit 0}
finish{phong 0.05490196 phong_size 162.2416 diffuse 0.5*1 ambient
rgb <0.09803922,0.09803922,0.09803922> reflection{0 }}}
texture{pigment{p_map5}
finish{ phong 0 phong_size 162.2416 diffuse 0.5*1 ambient rgb
<0.09803922,0.09803922,0.09803922> reflection{0 }}}
That's what I have now. Any suggestions?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
You can try this:
interior { ior 1.33 } //1.33 = index of refraction for water,
// I don't know what it is for eyeballs :)
"interior" must be in a material statement, not a texture statement.
Get the latest PoseRay which creates material statements rather than texture
statements and I think it should work fine.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Janet" <par### [at] att net> wrote:
> You can try this:
>
> interior { ior 1.33 } //1.33 = index of refraction for water,
> // I don't know what it is for eyeballs :)
>
> "interior" must be in a material statement, not a texture statement.
> Get the latest PoseRay which creates material statements rather than texture
> statements and I think it should work fine.
I'm told it's 1.38. :O) Thanks for the tip!
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> I'm told it's 1.38. :O) Thanks for the tip!
1.38 - That sounds right. :) Let us know if it works, and if I'm not too
lazy I'll try it too. The only thing is that I think polygon objects are
hollow, which probably affects how refraction works. Also, the refraction
might work better on the cornea (or whatever the clear part is called)
rather than on the iris.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Janet" <par### [at] att net> wrote:
> > I'm told it's 1.38. :O) Thanks for the tip!
>
> 1.38 - That sounds right. :) Let us know if it works, and if I'm not too
> lazy I'll try it too. The only thing is that I think polygon objects are
> hollow, which probably affects how refraction works. Also, the refraction
> might work better on the cornea (or whatever the clear part is called)
> rather than on the iris.
The built-in glass textures in Pov have an ior of 1.5, which is awfully
close, so I'm gonna go with that for now. I may hack the files to the 1.38
and see if there's a difference down the road. :O)
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |