![](/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) |
Okay, I've figured out how to use image maps to apply pre-existing images
to POV objects as surface pigments. And I've figured out the difference
between the three currently available image map types.
What I can't figure out is how to apply an image map to an irregular shape
without distorting portions of the image. I want to take a .gif (an actual
map of the world, not that it matters) and put it on an object (a map, of
course) laying in a drawer, such that part of it is laying flat within the
drawer, part of it curls up over the faceplate of the drawer, and the rest
is hanging down out of the drawer.
The obvious problem is that the various surfaces of the map object are at
severe angles to one another. When I try to apply the image map, whichever
surface was upright (facing the z-axis) will get mapped properly, and all
the rest gets distorted.
Can anyone help me with this?
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) |
I've seen a method in a tutorial that might work in some cases. Start
with an image map that is some sort of grid (squares of assorted colors
are good) and render that on the object. Then see where the squares fall
and create a distorted map that maps out to what you want.
Wykan wrote:
>
> Okay, I've figured out how to use image maps to apply pre-existing images
> to POV objects as surface pigments. And I've figured out the difference
> between the three currently available image map types.
>
> What I can't figure out is how to apply an image map to an irregular shape
> without distorting portions of the image. I want to take a .gif (an actual
> map of the world, not that it matters) and put it on an object (a map, of
> course) laying in a drawer, such that part of it is laying flat within the
> drawer, part of it curls up over the faceplate of the drawer, and the rest
> is hanging down out of the drawer.
>
> The obvious problem is that the various surfaces of the map object are at
> severe angles to one another. When I try to apply the image map, whichever
> surface was upright (facing the z-axis) will get mapped properly, and all
> the rest gets distorted.
>
> Can anyone help me with this?
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) |
Wykan wrote:
>
> Okay, I've figured out how to use image maps to apply pre-existing images
> to POV objects as surface pigments. And I've figured out the difference
> between the three currently available image map types.
>
> What I can't figure out is how to apply an image map to an irregular shape
> without distorting portions of the image. I want to take a .gif (an actual
> map of the world, not that it matters) and put it on an object (a map, of
> course) laying in a drawer, such that part of it is laying flat within the
> drawer, part of it curls up over the faceplate of the drawer, and the rest
> is hanging down out of the drawer.
>
> The obvious problem is that the various surfaces of the map object are at
> severe angles to one another. When I try to apply the image map, whichever
> surface was upright (facing the z-axis) will get mapped properly, and all
> the rest gets distorted.
>
> Can anyone help me with this?
What you want to do is called "uv mapping". Standard POV does not yet
do this. The Isosurface patch version of POV can do it. Get it at:
http://www.public.usit.net/rsuzuki/e/povray/iso/index.html
or
http://www.etl.go.jp/~rsuziki/e/povray/iso/index.html
Jerry Anning
cle### [at] dhol com
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) |
Many thanks for the tip! I have downloaded the patch already, and will let
you all know whether I can get it to work. (I have no doubt about ITS
abilities ... )
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) |
You may also want to pick up sPatch since, last I tried it, the isosurface
patch only did uv mapping with bezier patches.
-Mike
Wykan wrote:
> Many thanks for the tip! I have downloaded the patch already, and will let
> you all know whether I can get it to work. (I have no doubt about ITS
> abilities ... )
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) |
Fortunately, I already have sPatch -- it was the only thing that let me
create the map object in the shape I wanted, without having to make an
incredibly complex CSG object (which I also tried, and soon gave up on).
POVRAY <POV### [at] aol com> wrote in article <353DD460.C1350AC6@aol.com>...
> You may also want to pick up sPatch since, last I tried it, the
isosurface
> patch only did uv mapping with bezier patches.
>
> -Mike
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |