[Help!] texture problem

Making or wanting help making your own asset? Check in here
Post Reply
ZZEZ
Retired PR Developer
Posts: 4268
Joined: 2007-07-26 10:10

[Help!] texture problem

Post by ZZEZ »

Hey.
I am going insane - theres seems to be a problem specific to my pc.
The Ze'ev[The Wolf] texture was made by THE.FIST like all other textures, but for some bizzar reason 2 textures are crashing my editor and game, if I remove them from the editor it will load without glass/fence textures.
Heres the editor error
Image

Oddly - the problem does not happen at THE.FIST's computer, his editor loads the problematic textures in the editor without a error and the zeev works ingame for him.
I spent a few hours coding the zeev and now I can't enjoy my work :(
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Post by Rhino »

thats odd, a missing texture should not crash the editor as it should replace it with the temp, unceal sam texture...

I think I can see why in fact, I'm guessing your PC is a ATI system? looking at the error report that texture is a 640 x 640 pixel texture? well this is tottaly wrong... All textures MUST be made to a power of 2, for exsample: 8, 16, 32, 64, 128, 256, 512, 1024 and with a max (with DX9) of a 2048 texture. Now this dose not mean the texture must be 512x512, you can have textures like 1024x128 but both MUST be a power of 2, if it wont, it will CRASH all ATI systesm and will feck up for the most part nvidia systems. sooo sorry but looks like you are going to need to re uvmap your object again...
Image
ZZEZ
Retired PR Developer
Posts: 4268
Joined: 2007-07-26 10:10

Post by ZZEZ »

[R-DEV]Rhino wrote:thats odd, a missing texture should not crash the editor as it should replace it with the temp, unceal sam texture...
Without the texture it loads fine in the editor
sooo sorry but looks like you are going to need to re uvmap your object again...
:crazy:

Somebody is going to die tomorrow

:cry:
ZZEZ
Retired PR Developer
Posts: 4268
Joined: 2007-07-26 10:10

Post by ZZEZ »

Ok, after I calmed down from this huge mess..
The main texture is 2048x2048 - that is alright crash-wise?
The only textures that are 640x640 are window-fence and glass
Image

If its not crashing its ok? - right?we can get away with only re-uvmapping the areas that are causing problems?
Vaiski
Retired PR Developer
Posts: 894
Joined: 2006-07-17 23:29

Post by Vaiski »

[R-CON]ZZEZ wrote: The only textures that are 640x640 are window-fence and glass
No idea if this is the cause but you should never use other than power of two texture sizes (512*512, 1024*256, etc.).
I wouldn't be surprised if the texture size problem crashes the editor. Game engines simply can't use 640x640 texture size. It must be rescaled on load to 1024^2. This scaling will make them look very blurry and waste loads of memory.

Rescale it to 512x512 even if it doesn't fix the problem.
Image
ZZEZ
Retired PR Developer
Posts: 4268
Joined: 2007-07-26 10:10

Post by ZZEZ »

Phew, rescaling to 512x512 solved the crashing editor/ingame problem.
Didn't have to unwrap it again..it looks fine ingame aswell.
Heres a nice pose shot of Merkava, Golan and Zeev - from the meanest destruction machine to the light combat vehicle :)
Image
LekyIRL
Posts: 1345
Joined: 2007-06-23 16:34

Post by LekyIRL »

Wheew!
I can imagine how horrible it would be to have to uvmap it again.
Image
[R-MOD]Dunehunter-Freedom? This...is...The PR Forum! *kicks LekyIRL down the well on Basrah*
ZZEZ
Retired PR Developer
Posts: 4268
Joined: 2007-07-26 10:10

Post by ZZEZ »

LekyIRL wrote:Wheew!
I can imagine how horrible it would be to have to uvmap it again.
I can assure you, you can't possibly imagine how horrible it was thinking about it.
Post Reply

Return to “PR:BF2 Community Modding”