POV-Ray : Newsgroups : povray.general : Image_map front & back : Re: Image_map front & back Server Time
6 Aug 2024 08:15:19 EDT (-0400)
  Re: Image_map front & back  
From: Greg M  Johnson
Date: 20 Jun 2002 22:06:29
Message: <3d128a25$1@news.povray.org>
Thanks, BUT I think that MegaPov 0.7 does not accept an image_map as one of the
colors in an object pattern.

TinCanMan wrote:

> > //start
> > pigment{
> >   object{
>
> oops.
>     box{<-1,-1,0><1,1,0>}  should be:
>     box{<-1,-1,0><1,1,z>} //where z is a distance that makes the box
> intersect with the front of the man
>
> //where to place the square emblem on the man's
> > body (make sure this object only intersects the front half
> >     //This box assumes the man us upright in the y direction and faces the
> z
> > direction
> >     pigment{Pigment_Outside_The_Emblem} //pigment outside box
> >     ,
> >     pigment{  //pigment inside box
> >       image_map{sys "EmblemImage" interpolate 4}
> >       translate<-.5,-.5,0>
> >       scale <2,2,1>
> >     }
> >   }
> > }
> > //end
> >
> > let me know if this of use or if you don't fully understand it.
> > g'luck
> >
> > -tgq
> >
> >
> >


Post a reply to this message

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