POV-Ray : Newsgroups : povray.binaries.scene-files : Filters : Re: Filters Server Time
2 Sep 2024 04:17:04 EDT (-0400)
  Re: Filters  
From: Dennis Miller
Date: 20 Oct 2002 16:44:46
Message: <3db315be@news.povray.org>
I was using a scanned image of a Kandinsky picture for my image. Is there
any way to use indexed colors with a preexisting scanned image?
thanks again.
D.

"Gena Obukhov" <obu### [at] mailcom> wrote in message
news:3DB30B73.A2160CF5@mail.com...
> I've never done animation with POV-Ray. Anyway, you
> can try the following approach. Just make the image with
> indexed colors (see PNG example in attachment) and make
> a loop through all colors (0 - 255) in your pigment block:
>
> #declare tahoe = pigment {
>  image_map{
>   png "tahoe.png"
>   map_type 0
>   interpolate 0
>   transmit 40, 1 // make loop here. Right now it will make color number 40
as
> transparent
>   once
>  }
>  scale <4/3, 1, 1>
> }
>
> Hope this helps.
> Gena.
>
>
>
> Dennis Miller wrote:
>
> > Thanks so much for this excellent work. The new filters are really
> > surprising, especially the Paris Art Museum!
> > I would like to try and animate this one and have the black squares
appear
> > at random places throughout the canvas. Any ideas on how to accomplish
that?
> > Thanks very much for your work.
> > Dennis
> > "Gena Obukhov" <obu### [at] mailcom> wrote in message
> > news:3DB2318C.3A5BF9A8@mail.com...
> > > The final version of POV-Ray filters:
> > >
> > > filters.inc - include file
> > > artists.pov - for testing filters
> > > birds.png - Escher pattern
> > > tahoe.jpg - testing image
> > >
> > > Gena.
> > >
> > >
> > >
>


----------------------------------------------------------------------------
----


Post a reply to this message

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