|
andreahmed, Member
Posted: 01 October 2013 07:45 AM Total Posts: 62
Hi All,
I have textured a cylinder with three bitmaps, each one is 128*128
The problem is total size of bitmaps are 384*384, and these are not power of too, so I rounded the values up to 512,512. The problem when texturing the away 3d cylinder with that texture, there is a space that is left without texturing at all. Is there a solution for that ?
|
|
andreahmed, Member
Posted: 01 October 2013 09:23 AM Total Posts: 62
[ # 2 ]
Thanks. I increased the height of the cylinder, and the above problem is fixed.
|
Fabrice Closier, Administrator
Posted: 01 October 2013 09:41 AM Total Posts: 1265
[ # 3 ]
the same way you put 3 images in one image, you could put as many as you want. You can have either 2 512 or 1 1024 holding all your 36 picts and have 1 or 2 materials. You can then adjust the uv’s. either using scale and offsets or using spriteSheetAnimator. I mentioned its helper class & the tutorials. In which you would see how to define regions that are projected 0-1 in ratio on your meshes.
I suggest you drop your project for a few and play/learn uv manipulation as its the key factor to achieve what you want.
|
andreahmed, Member
Posted: 01 October 2013 09:57 AM Total Posts: 62
[ # 4 ]
Thanks for the reply. Is it possible to have two materials and put them in one cylinder? but the cylinder mesh has only one material that can be set to, that’s where my confusion come.
By UV manipulation, you mean adjust the UV of the bitmaps that are applied to the final texture ? or adjusting the UV after they are applied to the cylinder?
|
Fabrice Closier, Administrator
Posted: 01 October 2013 10:14 AM Total Posts: 1265
[ # 5 ]
You will get all your answers once you actually will DO play with the uvs.
Last tip: considering your pict 512 with your 3 images and a “blank”.
What do you think would happend if the u’s were scaled to .75 ?
|
andreahmed, Member
Posted: 01 October 2013 10:50 AM Total Posts: 62
[ # 6 ]
I have followed what you suggested.
|
andreahmed, Member
Posted: 01 October 2013 11:25 AM Total Posts: 62
[ # 7 ]
|
andreahmed, Member
Posted: 02 October 2013 11:21 AM Total Posts: 62
[ # 8 ]
|