POV-Ray : Newsgroups : povray.newusers : filtering of tga image map Server Time
5 Nov 2024 09:25:05 EST (-0500)
  filtering of tga image map (Message 1 to 8 of 8)  
From: Remco Poelstra
Subject: filtering of tga image map
Date: 12 Jun 2000 16:57:00
Message: <3945A375.8A85C7D3@home.nl>
Hi,

I've an image map like:

image_map { tga "foto.tga" filter all 1 }

But the photo is still there. When I specify filter 1, 1, I get the
error: Keyword 'filter' cannot be used non color-mapped image.

What's the problem?

Remco Poelstra


Post a reply to this message

From: Bob Hughes
Subject: Re: filtering of tga image map
Date: 12 Jun 2000 17:10:34
Message: <394551ca@news.povray.org>
A non-256 color (8bit to be more precise) image can't use the index since
there isn't any.
filter all can filter the entire thing but then it's only being "filtered" so
any non white parts will still be visible.
You could use transmit all,1 instead but of course it's going to be completely
gone then too.  So partial amounts of transmit would be needed to still see
the image.

Bob

"Remco Poelstra" <rjp### [at] homenl> wrote in message
news:3945A375.8A85C7D3@home.nl...
|
| I've an image map like:
|
| image_map { tga "foto.tga" filter all 1 }
|
| But the photo is still there. When I specify filter 1, 1, I get the
| error: Keyword 'filter' cannot be used non color-mapped image.
|
| What's the problem?


Post a reply to this message

From: Remco Poelstra
Subject: Re: filtering of tga image map
Date: 12 Jun 2000 17:21:28
Message: <3945A931.FE0D9A41@home.nl>
Bob Hughes wrote:
> 
> A non-256 color (8bit to be more precise) image can't use the index since
> there isn't any.
> filter all can filter the entire thing but then it's only being "filtered" so
> any non white parts will still be visible.
> You could use transmit all,1 instead but of course it's going to be completely
> gone then too.  So partial amounts of transmit would be needed to still see
> the image.
> 
> Bob

Thanks, it works now!

Remco Poelstra

P.S. Is there a way to let povray ouput 256 color images?


Post a reply to this message

From: Bob Hughes
Subject: Re: filtering of tga image map
Date: 12 Jun 2000 17:38:44
Message: <39455864@news.povray.org>
"Remco Poelstra" <rjp### [at] homenl> wrote in message
news:3945A931.FE0D9A41@home.nl...
|
| P.S. Is there a way to let povray ouput 256 color images?

No, POV wasn't meant to output such low color depth.  Although it can make as
low as 15 bit color PNG images using +FN5 (plus f n five).

Bob


Post a reply to this message

From: John VanSickle
Subject: Re: filtering of tga image map
Date: 12 Jun 2000 22:46:35
Message: <3945A042.5CC81E66@erols.com>
Remco Poelstra wrote:
> 
> P.S. Is there a way to let povray ouput 256 color images?

No.  But some versions come with a TGA-to-GIF utility.

Regards,
John
-- 
ICQ: 46085459


Post a reply to this message

From: Bob Hughes
Subject: Re: filtering of tga image map
Date: 15 Jun 2000 01:18:19
Message: <3948671b@news.povray.org>
"Bob Hughes" <per### [at] aolcom?subject=PoV-News:> wrote in message
news:394551ca@news.povray.org...
| A non-256 color (8bit to be more precise) image can't use the index since
| there isn't any.
| filter all can filter the entire thing but then it's only being "filtered"
so
| any non white parts will still be visible.
| You could use transmit all,1 instead but of course it's going to be
completely
| gone then too.  So partial amounts of transmit would be needed to still see
| the image.

Ack!  How wrong I can be sometimes.  Forget I ever said the above about filter
all,1.
For one thing the comma causes an error, for another it never will filter or
transmit all anyhow.
I should have checked first before speaking.  The 'filter all 1' will parse
and render but won't actually do any filtering, as you had seen already.
I wasn't too clear to begin with either I think.  24 bit and other such
non-256 color images cannot be "indexed" into POV-Ray since the whole thing is
based on the idea of using from 2 to 256 entries.
So I hope that clarifies it for the new user better.  Makes more sense to read
the documentation than it does to listen to me most of the time.

Bob

| "Remco Poelstra" <rjp### [at] homenl> wrote in message
| news:3945A375.8A85C7D3@home.nl...
| |
| | I've an image map like:
| |
| | image_map { tga "foto.tga" filter all 1 }
| |
| | But the photo is still there. When I specify filter 1, 1, I get the
| | error: Keyword 'filter' cannot be used non color-mapped image.
| |
| | What's the problem?


Post a reply to this message

From: Ken
Subject: Re: filtering of tga image map
Date: 15 Jun 2000 01:39:39
Message: <39486B70.D5E0585B@pacbell.net>
Bob Hughes wrote:

> Ack!
<snip>
> Makes more sense to read the documentation than it does to listen
> to me most of the time.

Sometimes it is just better to rely on the VFAQ to answer these types
of questions :)

http://www.students.tut.fi/~warp/povVFAQ/languageVFAQ.html#imagemapfiltering

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Remco Poelstra
Subject: Re: filtering of tga image map
Date: 15 Jun 2000 14:02:15
Message: <39496F03.985F0D91@home.nl>
Ken wrote:
> 
> Bob Hughes wrote:
> 
> > Ack!
> <snip>
> > Makes more sense to read the documentation than it does to listen
> > to me most of the time.
> 
> Sometimes it is just better to rely on the VFAQ to answer these types
> of questions :)
> 
> 

Or perhaps I should have searched better.

Remco


Post a reply to this message

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