POV-Ray : Newsgroups : povray.newusers : image_map... Server Time
29 Nov 2024 16:52:58 EST (-0500)
  image_map... (Message 1 to 3 of 3)  
From: Saif Ansari
Subject: image_map...
Date: 19 Apr 1998 19:39:59
Message: <353A8B4F.ADA@frontiernet.net>
I'm trying to use a basic gif image for a map on a block, but I get the
following error...

"error: Interlacing in GIF image unsupported."

Here is the code I'm using...

box { <-2, 0, -.5> <2, 5, .5>
  pigment {
    image_map {
      gif "<file-name>.gif"
    }
  }
}

I just wanted to get a feel for how the process worked before putting in
the modifiers, but couldn't even get that far.  What am I doing wrong? I
do have the image in the same directory as the POV file.  I've even
tried two or three different image files...

Any help is much appreciated and needed.

Thank you,
Saif


Post a reply to this message

From: Ken Cecka
Subject: Re: image_map...
Date: 19 Apr 1998 20:42:40
Message: <6he5rc$gd8$1@oz.aussie.org>
There are actually different types of gif files.  Some are interlaced and
some are not.  Pov is not designed to read interlaced gif files.  Do get
arround this, open your picture in an 2d paint program.  Go to the save
options and specify not to save interlaced gifs (Paintshop Pro or LView Pro
will do this), and save your picture again.

______________________________

Ken Cecka
cec### [at] televarcom
http://www.televar.com/~ceckak
______________________________
Saif Ansari wrote in message <353### [at] frontiernetnet>...
>I'm trying to use a basic gif image for a map on a block, but I get the
>following error...
>
>"error: Interlacing in GIF image unsupported."
>
>Here is the code I'm using...
>
>box { <-2, 0, -.5> <2, 5, .5>
>  pigment {
>    image_map {
>      gif "<file-name>.gif"
>    }
>  }
>}
>
>I just wanted to get a feel for how the process worked before putting in
>the modifiers, but couldn't even get that far.  What am I doing wrong? I
>do have the image in the same directory as the POV file.  I've even
>tried two or three different image files...
>
>Any help is much appreciated and needed.
>
>Thank you,
>Saif


Post a reply to this message

From: Nieminen Mika
Subject: Re: image_map...
Date: 20 Apr 1998 03:59:12
Message: <6hev8g$h5j$1@oz.aussie.org>
Ken Cecka (cec### [at] televarmoc) wrote:
: There are actually different types of gif files.  Some are interlaced and
: some are not.  Pov is not designed to read interlaced gif files.

  I wonder why. It takes about 2 lines of additional code to read
interlaced gifs (I know, I have made a gif decoder).

--
                                                              - Warp. -


Post a reply to this message

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