Subject:
|
Re: Modeling the magnifying glass in POV-Ray
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Sun, 28 Feb 1999 20:09:18 GMT
|
Viewed:
|
1150 times
|
| |
| |
Fredrik Glöckner wrote in message ...
> I've given this a try now. I haven't actually modeled the LEGO
> magnifying glass, because I don't have it in front of me, and I don't
> want to start a new flame war.
>
> Seriously, though, I just made a simple lens in POV-Ray. Here's the
> code I used:
>
> --begin--
> object{
> union{
> union{sphere {<-40,0,0>, 50 clipped_by{box{<0,-50,-50>,<10,50,50>}}}
> sphere {<40,0,0>, 50 clipped_by{box{<-10,50,50>,<0,-50,-50>}}}
> pigment{rgb <1,1,1> filter 1} finish {refraction 1 ior 1.15}}
> torus{30,2 rotate <0,0,90> pigment{rgb <0,0,0>}}}
> translate <220,0,0>
> rotate <0,0,-20>
> rotate <0,-30,0>
> translate <0,-60,0>
> }
> --end--
It's a cool idea, quite a cute effect. Is there some advantage to using
the clipped spheres as opposed to a straight intersection?
e.g.
intersection
{
sphere {<-40,0,0>, 50 }
sphere {<40,0,0>, 50 }
pigment{rgb <1,1,1> filter 1} finish {refraction 1 ior 1.15}}
}
Are intersections slow in POV? or does it introduce some strange visual
artifacts?
Tim
|
|
Message has 2 Replies: | | Re: Modeling the magnifying glass in POV-Ray
|
| (...) Duh, probably not! I'm new to POV-Ray, so I just used the first technique I could find suitable... Intersections looks a lot more simple. Thanks for the input. By the way, the scene gets even more cute by adding reflections to the surface of (...) (26 years ago, 1-Mar-99, to lugnet.cad)
|
Message is in Reply To:
| | Re: Modeling the magnifying glass in POV-Ray
|
| I've given this a try now. I haven't actually modeled the LEGO magnifying glass, because I don't have it in front of me, and I don't want to start a new flame war. Seriously, though, I just made a simple lens in POV-Ray. Here's the code I used: (...) (26 years ago, 28-Feb-99, to lugnet.cad)
|
15 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|