POV-Ray : Newsgroups : povray.newusers : image map : Re: image map Server Time
26 Sep 2024 19:48:37 EDT (-0400)
  Re: image map  
From: TinCanMan
Date: 15 Jun 2002 14:11:25
Message: <3d0b834d$1@news.povray.org>
"Simon Adameit" <gom### [at] gmxde> wrote in message
news:3d0b25e8@news.povray.org...
>
> bob h wrote:
> > Obviously cylindrical mapping is easiest, you just need to
> > compensate for it in the image used to wrap it, leaving plenty of blank
> > space.  pi * height, for the dimensions.
> >
> Why should he compensate in the image and not scale it in POV?

Cylidrical image_maps take the entire image and fits the height to 1 POV
unit in the y axis and wraps the texture once around the y axis.  You can
then scale it in the y direction but (without using a different method) the
image can't be scaled around the y-axis.  In order to get the label to wrap
partially around the bottle (unless you want it fully wrapped) you have to
compensate in the image_map image itself.

-tgq


Post a reply to this message

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