![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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] home nl> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Remco Poelstra" <rjp### [at] home nl> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Bob Hughes" <per### [at] aol com?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] home nl> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |