1. Home
  2. Learning
  3. Staying Optimized
  4. Texturing Optimization and Best Practices

Texturing Optimization and Best Practices

Contents

 

WRITTEN TUTORIAL UNDER CONSTRUCTION

The information in the written tutorial is not yet final

Power Of Two

This is an important and frequently misunderstood part of the Developing process, and often the reason your 3D models and textures might not look as good in IMVU as they did in your 3D mesh building application. It is simplest to say that IMVU’s 3D engine (like many game engines) is optimized to work best when textures applied to 3D meshes are a variation of a very specific set of dimensions. For performance purposes textures are stored and rendered at specific dimensions that are based on the power of two. That is, textures with dimensions that are 2, 4, 8, 16, 32, 64, 128, 256, and 512 pixels in height or width.

It is important to point out that if a texture does not follow these specific dimension requirements that IMVU Studio will CRUSH your texture so that it will comply. If you have ever tried to distort a image you know what a disaster it can be as the pixels desperately try to retain the image with more or less bits of information… the same is true with IMVU textures.

Any texture that is 512 x 512 or larger will be automatically re-sized by the IMVU code after submission to be 512 x 512. This is done to protect the end IMVU user from waiting forever for your giant texture to download and render. Obviously, this process can make your product look different than you intended so it is best to provide IMVU with textures that are sized correctly.

Best Practice

Work with original textures that are twice the size of the final dimensions and are a power of two and then save a final copy that is half the size of the original for importing into IMVU.  Example:

Original working size (in Photoshop or GIMP): 512 x 1024

Final texture size for IMVU: 256 x 512


If you attempt to submit a texture at a dimension that differs from a Power of Two dimension then IMVU will do its best to find the closest equivalent  dimensions and re-size it to that. Sometimes the dimensions are close enough that this only degrades the original texture a little, but other times it can really ruin the quality of your resulting end product.

The rules used by IMVU when re-sizing textures

IMVU Studio

  • Any dimension (width or height) will be bumped up to the nearest power of two
  • Any dimension greater than 256 will be set to 512
  • Max texture dimensions are 512 x 512

IMVU Classic Creator

  • Any dimension (width or height) will be bumped up to the nearest power of two
  • Textures where one dimension is greater than 256 and the other is greater than 512 will be set to either 256 x 512 or 512 x 256
  • Max texture dimensions are 512 x 512

Ideally, the pixel dimensions you should work within are 16 x 16, 32 x 32, 64 x 64, 128 x 128, 256 x 256, and the maximum dimensions of 512 x 512. You can also work with any variation of these numbers, so 32 x 512 is OK, just as 128 x 256 is great as well. Where trouble begins is when you have a texture that is 183 x 430then you are in for some trouble. If you are unsure if your texture is the right dimensions, be sure to double check the Texture Assets window when you import your texture files.

Remember, textures created to dimensions that are any combination of the Power of Two will look best when they finally make it into the IMVU Shop and into the virtual hands of your customers.

Oversized Textures Get Squashed Also As a Developer you want to make sure your textures are a beautiful as possible, so it is tempting to make things like sky backdrops and even clothing textures as large as possible to insure every bit of detail is visible. In the case of textures larger then 512 pixels, that stunning 1024 pixel (which is a Power of Two dimension) sky texture WILL be reduced to the Max dimension of 512 before it is submitted to the IMVU Shop. So, it is always recommended that you make your textures look their best at the appropriate size before you apply it to your mesh.

A great way to make sure everything is looking its best is to double check all your texture dimensions and adjust as you see fit before hitting that Upload button.

Updated on May 7, 2022

Was this article helpful?

Related Articles

Discuss this!
Ask questions and get answers in our Creator Discussions.
BROWSE DISCUSSIONS