[papervision3D, flash] Tiled texture?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
3 views
The problem arose when I for example create a cube 100x100x100 and impose on it a texture 100x100 — everything is fine, but if I make the object 200 to 100 by 100, like texture on the side 200 is stretched. How to make the texture is not stretched, but repeated?


Experienced:

mat.tiled=true;
mat.maxU=1;
mat.maxV=1;



To no avail. Any thoughts?
by | 3 views

1 Answer

0 like 0 dislike
Take the bitmap from the texture, check the dimensions, if you go beyond to create original new bitmap with large dimensions and to draw repeat horizontally and/or vertically.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked May 21, 2019 by Mesuti
110,608 questions
257,186 answers
0 comments
27,859 users