POV-Ray : Newsgroups : povray.newusers : image map : Re: image map Server Time
27 Sep 2024 03:32:00 EDT (-0400)
  Re: image map  
From: TinCanMan
Date: 16 Jun 2002 10:49:57
Message: <3d0ca595$1@news.povray.org>
> ive tried it, but the label only doesnt get distorted if i use the
> initial translate and scale settings. but then its size isnt correct.
> these are the settings:
>              translate <-0.5,0.1,0>
>            scale <4/10,6.2/10,4/10>

Hmmm, remember this mantra 'scale, then translate, scale, then translate'

First of all, cylindrical image_maps are defined around the 'y' axis and
extends from y=0 to y=1 so your object needs to be centered on the y axis
before applying the image_map if you don't want weird results.

Likewise, scaling (also rotation) occurs around the origin. You should
always create your object at the origin and apply any scaling before
translating.

-tgq


Post a reply to this message

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