POV-Ray : Newsgroups : povray.newusers : Problem with image mapping Server Time
6 Sep 2024 04:21:55 EDT (-0400)
  Problem with image mapping (Message 1 to 4 of 4)  
From: Fred Jansohn
Subject: Problem with image mapping
Date: 1 Dec 1998 14:55:11
Message: <3664499A.63916657@citynet.net>
Hi,

I'm trying to put an image map on a vertical plane and use it for a
background (sky and clouds).  I tried with a sky sphere first but the
picture was distorted.  With the plane, I get a whole bunch of little
pictures (like a composit) instead of one big one.  In the
documentation, it states that the image map may be scaled and positioned
on the object but I figure out how to do it.  Is the plane the right
thing to use for this?

Also, I first tried to use a .gif format but got an error that said
interlacing wasn't supported so I had to use a .bmp file.  Could that
have caused the problem?

Thanks in advance for your help.
Fred


Post a reply to this message

From: Ken
Subject: Re: Problem with image mapping
Date: 1 Dec 1998 15:12:30
Message: <36644D18.4FB93DF0@pacbell.net>
Fred Jansohn wrote:

> Hi,
>
> I'm trying to put an image map on a vertical plane and use it for a
> background (sky and clouds).  I tried with a sky sphere first but the
> picture was distorted.  With the plane, I get a whole bunch of little
> pictures (like a composit) instead of one big one.  In the
> documentation, it states that the image map may be scaled and positioned
> on the object but I figure out how to do it.  Is the plane the right
> thing to use for this?

Was that a typo above where you say " but I figure out how to do it" ?
Should it say "but I can't figure out how to do it" ?

An image map is really a poor way to try to get a nice cloudy sky.
I strongly urge you to instead take a look at this on line tutorial
about creating clouds using Pov-Ray :

 http://members.xoom.com/POVRAY3/index2.html

> Also, I first tried to use a .gif format but got an error that said
> interlacing wasn't supported so I had to use a .bmp file.  Could that
> have caused the problem?

It is true you cannot use interlaced gifs with Pov. You could onthe other
hand take it into an image processing program and save
it as a type 89 non-interlaced gif image and have no problems.

The basic syntax for using and scaling an image map is as follows:

plane{x,0
 pigment{
  image_map{gif "image.gif" interpolate 2}
   translate -0.5
   scale<360,280,1> // whatever size you need here to fill the screen
 }
}

> Thanks in advance for your help.
> Fred

 No problem and good luck.

Ken Tyler


Post a reply to this message

From: Ken
Subject: Re: Problem with image mapping
Date: 1 Dec 1998 16:29:37
Message: <36645F2C.8C5BDD68@pacbell.net>
I forgot to mention you could also take a look at the file
called skies.inc located in the include directory that came
with the program. Also see the tutorail section in the docs
for how to use the sky sphere function.

Ken Tyler


Post a reply to this message

From: Julius Klatte
Subject: Re: Problem with image mapping
Date: 2 Dec 1998 19:10:20
Message: <3665d6ec.0@news.povray.org>
> http://members.xoom.com/POVRAY3/index2.html


Make that http://members.xoom.xom/POVRAY3/index.html

Else the 'navigation frame' on the left won't load and there
are no links on the index2 page... you'd be kinda stuck.

Julius Klatte
http://surf.to/jkhome


Post a reply to this message

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