POV-Ray : Newsgroups : povray.binaries.images : Just in time for Christmas, Hopefully : Re: Just in time for Christmas, Hopefully Server Time
2 Aug 2024 08:14:59 EDT (-0400)
  Re: Just in time for Christmas, Hopefully  
From: Anthony D  Baye
Date: 18 Dec 2007 19:25:00
Message: <web.4768642f33ad2e29e2b1ffa00@news.povray.org>
A little secret:

The bulb closest to the camera is clear glass.
The image is a planar mapping onto a disc_object disc { <0, 0, 0>, z, 1.234375,
0.0 } - contained within the bulb.

Regards,
A.D.B.

"Leef_me" <nomail@nomail> wrote:
> Thanks Alain but, that doesn't compile; the following does:
>
> #declare bulb = material {
>               texture {
>          pigment { image_map { jpeg "Dime_front.jpg" map_type 0
> //Use a planar maping
>          }
>           scale 0.7
> warp{spherical} // Wrap it around the sphere
> }
>    }
> }
>
> I didn't ask very well, but what I really wanted to do was a a single copy of an
> image, scaled as desired, but still showing the 'bulb' similar to the bulb that
> is closest to the camera.
>
> Leef_me


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.