POV-Ray : Newsgroups : povray.general : Image_map front & back : Re: Image_map front & back Server Time
6 Aug 2024 10:20:44 EDT (-0400)
  Re: Image_map front & back  
From: TinCanMan
Date: 21 Jun 2002 09:05:36
Message: <3d1324a0$1@news.povray.org>
"Greg M. Johnson" <gregj:-)565### [at] aolcom> wrote in message
news:3d131911$1@news.povray.org...
> "Warp" <war### [at] tagpovrayorg> wrote in message
> news:3d129a40@news.povray.org...
> > Greg M. Johnson <"gregj;-)56590\""@aol.c;-)om> wrote:
> > > Thanks, BUT I think that MegaPov 0.7 does not accept an image_map as
one
> of the
> > > colors in an object pattern.
> >   A pattern does not take colors. color_maps do.
> >
>
> The object pattern IMHO does not take pigments either.   Colors were a
last
> ditch effort to make something work.
>
> >
> >   Use the pattern with a pigment_map instead.
> >
>
> Can you suggest a syntax for this?


I do believe the object pattern (like checker, brick, hexagon, etc.) don't
use pigment_maps since they are blocked patterns without smooth transitions.
They expect a specific number of colours or pigment or whatever to work
(pigment_maps can be used within each of these pigments however), i.e.
checker expects 2, hexagon expects 3, object expects 2.  The trick in syntax
is that the elements need to be of the same type, either all colours, all
pigments, etc.  You can't mix n match.  Therefore if you wnat to use an
image map for one element and a colour for the other, since the image_map is
gonna need a pigment wrapper, you need to wrap the colour in a pigment
wrapper as well.  At least the is how it appears to perform in 3.5.
See my previous post for an example that works in 3.5, I can post the source
and image if so required.

-tgq


Post a reply to this message

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