|
|
Thanks Bob! I'll give your script a look.
I'm trying to model an object involved in a physics experiment. It starts
with a hollow shell of glass (of nonzero wall thickness), but the shell
is then filled with a lumpy layer of ice that coats the inside wall of
the shell. Inside the layer is just air. I'm having pretty good success
with this but I have some uncertainties about how some of the optical
physics is being handled. Are you a good person to ask about this?
Best,
Tim
Bob Hughes wrote:
> "Tim Gosnell" <gos### [at] lanlgov> wrote in message
> news:3949198D.61B344B5@lanl.gov...
> | Nevermind!
> |
> | That's what objects at infinity do!
>
> I was about to post the same answer.
> To see it right with non-infinite objects try this:
>
> // BEGIN
>
> camera {
> location <0, 1, -5>
> look_at <0, 1, 0>
> }
>
> box {-1,1
> pigment { rgbf 1 }
> finish {ambient 0 diffuse 0 reflection .1 specular 1 roughness .001}
> interior{ior 1.5}
> scale <1,1,.5> rotate x*30 translate 1*y
> }
>
> box {-1,1 scale <20,.01,20>
> pigment{ checker color rgb 1 color rgb<0,0,1>}
> finish {ambient .5}
> }
>
> plane { y,500
> pigment {color rgb<0,1,1>}
> finish {ambient .5}
> }
>
> light_source { <0, 2, 3> , 1}
>
> sphere {<-5,1,10>,1 pigment {rgb<0,1,0>}}
> sphere {<0,1,10>,1 pigment {rgb<1,1,0>}}
> sphere {<5,1,10>,1 pigment {rgb<1,0,0>}}
>
> // END
Post a reply to this message
|
|