POV-Ray : Newsgroups : povray.general : image map help Server Time
1 Nov 2024 14:18:45 EDT (-0400)
  image map help (Message 1 to 9 of 9)  
From: Chip Widmer
Subject: image map help
Date: 21 Jun 2000 19:42:06
Message: <3951559D.CB35D3C7@yahoo.com>
hi,
 I was wondering if there is a  way to scale an image map to fit an
object. For instance, if you have a logo you  wanted to put on a modeled
piece of paper. Can any1 help?

thanx,
chip


Post a reply to this message

From: Ken
Subject: Re: image map help
Date: 21 Jun 2000 19:45:10
Message: <395152BB.7BD3557C@pacbell.net>
Chip Widmer wrote:
> 
> hi,
>  I was wondering if there is a  way to scale an image map to fit an
> object. For instance, if you have a logo you  wanted to put on a modeled
> piece of paper. Can any1 help?

Example:

box {-0.5, 0.5 scale <1,2,1>
 pigment {
  image_map { tga "your_image.tga" translate -.5 scale<1,2,1> }
  }
 }

See also the image map tutorial at:

http://members.xoom.com/yang4yang/pov/imap1.html

-- 
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: Ken
Subject: Re: image map help
Date: 21 Jun 2000 21:26:20
Message: <39516A71.797D551E@pacbell.net>
Ken wrote:

> Example:
> 
> box {-0.5, 0.5 scale <1,2,1>
>  pigment {
>   image_map { tga "your_image.tga" translate -.5 scale<1,2,1> }
>   }
>  }

Gee ! No one has spotted the error in my example yet. You guys are
slowing down -or- trust me way too much !

box {-0.5, 0.5 scale <1,2,1>
 pigment {
    image_map { tga "your_image.tga" }
    translate -.5 scale<1,2,1> 
  }
}

-- 
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: Bob Hughes
Subject: Re: image map help
Date: 21 Jun 2000 21:57:52
Message: <395172a0@news.povray.org>
"Ken" <tyl### [at] pacbellnet> wrote in message
news:39516A71.797D551E@pacbell.net...
|
| Gee ! No one has spotted the error in my example yet. You guys are
| slowing down -or- trust me way too much !

Too much trust...  I passed right over this since I saw you answered already.

Bob


Post a reply to this message

From: Chip Widmer
Subject: Re: image map help
Date: 22 Jun 2000 10:19:10
Message: <3952232E.FB4F4AB2@yahoo.com>
hey, it wasn't that big of an error.


Post a reply to this message

From: Warp
Subject: Re: image map help
Date: 22 Jun 2000 10:56:25
Message: <39522914@news.povray.org>
Chip Widmer <the### [at] yahoocom> wrote:
: hey, it wasn't that big of an error.

  Perhaps he is almost as perfectionist as I am.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Ken
Subject: Re: image map help
Date: 22 Jun 2000 10:58:24
Message: <395228BC.CAD043F3@pacbell.net>
Chip Widmer wrote:
> 
> hey, it wasn't that big of an error.

I hope you found it educational :)

-- 
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: Ken
Subject: Re: image map help
Date: 22 Jun 2000 11:00:15
Message: <3952292B.E35EF3F6@pacbell.net>
Warp wrote:
> 
> Chip Widmer <the### [at] yahoocom> wrote:
> : hey, it wasn't that big of an error.
> 
>   Perhaps he is almost as perfectionist as I am.

Perfectionist, yes. Perfect, no. I think I need to be reprogrammed...

-- 
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: Chip Widmer
Subject: Re: image map help
Date: 23 Jun 2000 15:12:58
Message: <3953B98D.DF5EDAE8@yahoo.com>
it was educational now that u mention it. =)


Post a reply to this message

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