POV-Ray : Newsgroups : povray.binaries.images : Infernal blasted image maps : Re: Infernal blasted image maps Server Time
2 Oct 2024 20:25:41 EDT (-0400)
  Re: Infernal blasted image maps  
From: Greg M  Johnson
Date: 27 Mar 2000 07:50:06
Message: <38DF5802.32786C20@my-dejanews.com>
Nope. I once tried changing the size of the box to fit the aspect ratio of the
image, and still got something stupidly distorted.

Do we have to beg for a fix in mega 0.5, or isn't there SOME way to get pov to
'decal' this without crazy distortions?


Bob Hughes wrote:

> 'image_map {map_type 0' is always going to be a POV Unit square.  Is that where
> it's wrong?  Unless you have a square image to start with you'll need to scale
> the image or object it's on proportionately to what you have to start with.
> Preserving aspect ratio in other words.  So your only overlooking the obvious is
> all.
>
> Bob
>
> "Greg M. Johnson" <"gregj;-)56590\""@aol.c;-)om> wrote in message
> news:38decf06@news.povray.org...
> | Dang! These things make no sense. I've got two images that I want to use
> | as rotoscopes as I tweak my blob character.
> | The image maps are violating the laws of physics. (using mega 0.4).
> |
> | Why is one map unnaturally stretched? Yes, it's tall and thin, but why
> | isn't there an option in povray to get planar straight up mapping?
> |
> | box{<0,0,0>,<1,1,0.001>
> |                 pigment{
> |                         image_map{
> |                                 tga "c:\My Documents\frontpos2.tga"
> |                                 once
> |                                 }
> |                         }
> |                 finish {ambient 1 diffuse 0}
> |                 translate <-0.5,-0.5,-0.05>
> |                 scale 21
> |                 translate -1.5*y  +3*z       -4*x
> |         }
> |
> |         box{<0,0,0>,<1.,1,0.001>
> |                 pigment{
> |                         image_map{
> |                                 tga "c:\My Documents\left2.tga"
> |                                 once
> |                                }
> |                         }
> |                 finish {ambient 1 diffuse 0}
> |                 translate <-0.5,-0.5,-0.05>
> |                 scale 14
> |                 translate -17*x -1.5*y  +3*z
> |         }
> |
>
> --------------------------------------------------------------------------------


Post a reply to this message

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