POV-Ray : Newsgroups : povray.newusers : image_map on a egg shaped object : Re: image_map on a egg shaped object Server Time
29 Jul 2024 16:22:59 EDT (-0400)
  Re: image_map on a egg shaped object  
From: Leslie
Date: 27 Aug 2005 04:40:01
Message: <web.431026447592c61bc988c3080@news.povray.org>
Alain <ele### [at] netscapenet> wrote:

> You may try a spherical wrap and see if it helps.
> When doing a cylindrical wrap, some distortion is to be expected if the shape is not
cylindrical or
> close to it, this is due to the variable radius. Pixels are maped radialy around the
Y, vertical,
> axis. If you use spherical wrap, pixels are maped radialy around the origin.
>
> Alain

I am not sure what happened to my previous response to Mike's post but here
goes:

I got it working! Thanks!

Mike: you were right about POV ray not skewing the image (I did the test
with the vertical lines).  I think my problem was that when doing my first
lot of image maps I decided it was easier to use a square image rather than
one that was a rectangle as it made working out the scaling easier. Since
now I knew that the skewing was not something to work around I went back
and started from scratch leaving my image in a non-square shape and managed
to get it looking good (well, give or take my ability to draw in GIMP). I
did a quick test and using a square image made the image map look funny,
possibly correctable via careful scaling but thats something I can look at
later.

Alain: Even though it was working I thought I'd give the spherical mapping a
go and see if it made it look better or was easier and got it kind of
working (having problems getting the image to scale but gives it an amusing
balloon effect). Might go back and look at this again later as it seemed
easier for me to get the image where I wanted it.

Thanks for the help.

Leslie


Post a reply to this message

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