Hi Fabrice,
thanks for replying!
On 14 Apr., 10:50, Fabrice3D <
fabric...@gmail.com> wrote:
> 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
Vatrobot:
Haven't tried it, but 100x20 = 5:1 ratio, 128x32 = 4:1 ratio, so I
assume the texture will be streched over the plane horizontaly, right?
> 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
The point is: I don't want anything to stretched (not even a bit,
cause it's text I want to map), nor I want to adjust the size of the
plane to fit with pow2-texture. I'm looking for a worklflow in case I
want a Plane with desired width x height + an image that fits exactly
into that plane without stretching & distortion. The texture itself
must be pow2 (Xpow2 x Ypow2) I've understood that, and it doesn't need
be a square. But to fit the the desired texture-area (someX x SomeY in
a pow2-image) 100%ly to my plane-dimensions (which don't have to be
pow2) I got to use uv-manipulation, right?
but I actually already am on the right way 'I think:
http://www.vatrobot.de/molehill_broomstick/HelloPlane_BmpMat_Text.html
In the demo above, plane-size can be changed in height without
affecting the ratio of the texture, so the text is not distorted.
Right now I want to adapt it to plane-width too, so I will be to
change the size of the plane as I whish without affecting the ratio of
the texture.
regards,
Vatro