Subject:
|
Re: Modeling the magnifying glass in POV-Ray
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Sun, 28 Feb 1999 20:09:18 GMT
|
Viewed:
|
942 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
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: ![](/news/x.gif) | | 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 (...) (25 years ago, 1-Mar-99, to lugnet.cad)
|
Message is in Reply To:
![](/news/x.gif) | | 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: (...) (25 years ago, 28-Feb-99, to lugnet.cad)
|
15 Messages in This Thread: ![Modeling the magnifying glass in POV-Ray -Fredrik Glöckner (27-Feb-99 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Modeling the magnifying glass in POV-Ray -Mark Tarrabain (27-Feb-99 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![(Cancelled)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Modeling the magnifying glass in POV-Ray -Fredrik Glöckner (27-Feb-99 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: Modeling the magnifying glass in POV-Ray -Laurentino Martins (27-Feb-99 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Modeling the magnifying glass in POV-Ray -Todd Lehman (28-Feb-99 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: Modeling the magnifying glass in POV-Ray -Karim Nassar (28-Feb-99 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Modeling the magnifying glass in POV-Ray -Laurentino Martins (28-Feb-99 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![(Cancelled)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Modeling the magnifying glass in POV-Ray -Benoit Cerrina (28-Feb-99 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Modeling the magnifying glass in POV-Ray -Fredrik Glöckner (28-Feb-99 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif) ![](/news/246.gif) ![Re: Modeling the magnifying glass in POV-Ray -Jasper Janssen (28-Feb-99 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Modeling the magnifying glass in POV-Ray -Tim McSweeney (28-Feb-99 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Modeling the magnifying glass in POV-Ray -Fredrik Glöckner (1-Mar-99 to lugnet.cad)](/news/x.gif)
- 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
|
|
|
|