Brewery error message

dick8299

New member
I have an asset called Brewery <kuid2:210518:1021:1> that has a red exclamation mark.

The error message is - Error: The texture 'door5.jpg' is not a power of 2, please resize it.

I opened the asset for edit in explorer and opened the referenced texture. It is 550 x 380 pixels, both of which are a power of 2.

What should I do to correct the error?
 
Not a power of 2. Power of 2 means that starting with 2 you multiply by 2, do it again and again. 2x2=4, 2x4=8, 2x8=16, etc.

2
4
8
16
32
64
128
256
512
1024
2048

Those are all acceptable pixel dimensions for Trainz, 64x1024 is okay, 4x256 is okay, 512x96 is not okay because you can't get to 96 if you start at 2 and keep multiplying by 2. Closest for your image would be 512x256.
 
It is 550 x 380 pixels, both of which are a power of 2.

Actually they aren't. Power of 2 means 2x2x2, etc. 512 x 256 might work. It depends on the texture and the mesh. It may take a couple trys to get a size that looks right.

EDIT: I seem to be caught in some kind of time warp delay thing. There are no responses, I post and somebody has already responded (often with a better/more complete solution).
 
Last edited:
Actually they aren't. Power of 2 means 2x2x2, etc. 512 x 256 might work. It depends on the texture and the mesh. It may take a couple trys to get a size that looks right.

EDIT: I seem to be caught in some kind of time warp delay thing. There are no responses, I post and somebody has already responded (often with a better/more complete solution).

This happens to me all the time too!

Jim has the superfast forum fingers and can beat out the fastest poster in the west. :D

John
 
Hi Guys:

Thats one of my earliest items and has been on the DLS for close to 7 years. I find it truly weird no one has mentioned this to me in all that time, lol.

Ben
 
I edited the image file to be 512 x 256, and now the asset appears in Surveyor. After adding it to my practice route, I actually don't see where the subject texture is applied on the model.
 
Sometimes it's on a hidden face of the model, depends on whether it was made in something like 3D MAX or something like sketchup, and how technically skilled the creator was at stripping out unneeded polygons from the mesh. What I generally do is use PEV Trainz mesh viewer to look at the model as I'm painting in Paint Shop Pro, and when I see something like that I paint it bright pink, then look to see where the pink is on the model. If I can't see it anyplace I make the image solid black and reduce the size to 16x16.
 
It should be on a rectangular part inside a doorjam. Sometimes rather then making a real door out of real parts I just apply a door textrure to a part which saves a bunch of polys.

Ben
 
From what I've read it would be better to map it from a pixel in some unused corner of the main image. Allegedly every additional image is the equivalent of 6000 polys, so a single 1024x1024 texture will have less impact on framerates than sixteen 256x256 textures.
 
Back
Top