if your plane is 100x20, and you make a 100x20 image with your text, then 
change the size to 128x32, it will be displayed in ratio of your plane, 1/1 
100x20 exactly as you wish
so no matter the eventual distort the original image gets, it will be corrected 
automatically. Even if you make your image 1024x1024, its will be spreaded and 
displayed entirely over your plane at 100x20
And yes, you could change the uv's but why bother as its so easy to do by just 
saving the image in ratio.

you can use different values for the image source dimension, as long as both 
width/height are power of 2. 2,4,8,16,32,64 etc...
It doesn't have to be a square.

if you add extra maps, for instance if you make a BitmapMaterial and add a 
normalmap, the normalmap has to be of the same size as the diffuse map.
If you don't respect these rules, the engine will remember it to you anyway.

Fabrice


On Apr 14, 2011, at 1:45 AM, Vatrobot wrote:

> Hi Dave & Fabrice,
> 
> Thank you for replying!
> 
> I came across uv-manipulation too in the meanwhile, and am already
> nerding around with it.
> 
> @Dave: Thank you for the Math, I'll use it wisely! :)
> 
> @pow2-limitation: okay, so it has to be this way.
> 
> I just realized that everything seems to be "squared" in the 3D-
> Hardware-World (don't know if it was in previous Away3D-Versions
> though, never dug so deep into it).
> I've traced the UVData of my Plane and the coordinates were 0,1,
> 1,1,  0,0,  1,0.
> 
> [0,1] seems to be lower-left corner
> [1,1] seems to be lower-right corner
> [0,0] seems to be upper-left corner
> [1,0] seems to be upper-right-corner
> 
> so its a 1x1 square although my plane was 100x20.
> 
> @Fabrice:
> hmmm... I dont't quite understand the "save to a power of 2"-part...
> If I make an image let's say 100x20px, how can I save this to power of
> two? The engine throws an error if image-width or image-height or both
> of them are not pow2.
> 
> 
> Thanks again,
> Vatro

Reply via email to