Modcraft - The community dedicated to quality WoW modding!

Content creation => Texturing and 2D Art => Topic started by: Allifeur on August 24, 2014, 10:54:32 am

Title: [QUESTION] Texture resolution
Post by: Allifeur on August 24, 2014, 10:54:32 am
Hello everybody,

I have some troubles with my trees from the Dalkannes isles : Whenever someone changes his texture resolution (either to improve it or lower it), the trunk texture turns black like that :

(http://img4.hostingpics.net/pics/929894TextureResolution.jpg)

Those also appear white in Noggit. Even if this issue can be solved by closing and reopening WoW, I would like to know if there is an actual way to solve it.
Title: Re: [QUESTION] Texture resolution
Post by: Filipsons on August 24, 2014, 12:34:10 pm
You must use only binary number like 256x256 or 512x512, etc...
Title: Re: [QUESTION] Texture resolution
Post by: Allifeur on August 24, 2014, 02:20:07 pm
Quote from: "Filipsons"
You must use only binary number like 256x256 or 512x512, etc...

Of course these are already binary numbers, or it wouldn't even work in the first place. These trunks have a 256x512 format.
Title: Re: [QUESTION] Texture resolution
Post by: Alastor on August 24, 2014, 02:24:59 pm
if its 1024x512 or 512x1024 or 1024x1024 thats doesnt matter
and for 1st ... Nogit cant render unmirrored binary numbers

he know only how to read 16x16
8x16 nope ...

so ...


WoW dont have problems at all
Title: Re: [QUESTION] Texture resolution
Post by: Allifeur on August 24, 2014, 02:56:07 pm
Yet it still doesn't tell me why the texture bugs when I change the texture resolution.

Since the trunk texture was missing an alpha channel, I decided to convert it again. Instead of being black, it's now white.

(http://img11.hostingpics.net/pics/757682WoWScrnShot082414144551.jpg)

 I don't get it.  :|
Title: Re: [QUESTION] Texture resolution
Post by: Filipsons on August 24, 2014, 03:30:33 pm
resolution must not be higher then maximum value. Try it 512x512 for example.
Title: Re: [QUESTION] Texture resolution
Post by: Steff on August 24, 2014, 05:15:50 pm
I use always quadratic textures and max 1024 x 1024.
Title: Re: [QUESTION] Texture resolution
Post by: Allifeur on August 24, 2014, 07:06:24 pm
I don't think you actually understood my problem, I wasn't very clear, my apologies. The problem is not about the size of the textures, but about graphical options :

(http://img15.hostingpics.net/pics/582349Notclear.jpg)

When this option "texture resolution" is changed, the trees trunk change and turns black or white.
Title: Re: [QUESTION] Texture resolution
Post by: schlumpf on August 24, 2014, 07:33:21 pm
Seems like your mipmaps are broken then.
Title: Re: [QUESTION] Texture resolution
Post by: Allifeur on August 24, 2014, 07:42:46 pm
Quote from: "schlumpf"
Seems like your mipmaps are broken then.

That's not the point here. I just didn't put one yet : I rather like finishing my map totally before making one. :roll:
Title: Re: [QUESTION] Texture resolution
Post by: schlumpf on August 24, 2014, 08:13:36 pm
MIPmaps. If changing just the setting within the client changes stuff, it is likely broken MIPmaps
Title: Re: [QUESTION] Texture resolution
Post by: Filipsons on August 24, 2014, 09:00:38 pm
And you have this problem only with this model? Or is it happening with more models?
Title: Re: [QUESTION] Texture resolution
Post by: Allifeur on August 24, 2014, 09:16:28 pm
Quote from: "Filipsons"
And you have this problem only with this model? Or is it happening with more models?

Only these custom tree textures have this problem. (and the stump texture of the big trees. But there are no bugs with the stump of the palms.)  All the other textures are fine.
Title: Re: [QUESTION] Texture resolution
Post by: Filipsons on August 24, 2014, 10:02:50 pm
Try use Index color mode.
Title: Re: [QUESTION] Texture resolution
Post by: Allifeur on August 25, 2014, 11:04:38 am
Quote from: "Filipsons"
Try use Index color mode.

When I do that, the texture doesn't work anymore and turns green all the time. So I guess it's not a good idea.
Title: Re: [QUESTION] Texture resolution
Post by: Filipsons on August 25, 2014, 11:20:00 am
Send me a texture and teture path. I try it something.
Title: Re: [QUESTION] Texture resolution
Post by: Dottore on August 25, 2014, 06:40:41 pm
What tree model do you use? Vanilla model? Custom model? Ported model from cata/mop/wod?
Title: Re: [QUESTION] Texture resolution
Post by: Allifeur on August 25, 2014, 08:06:13 pm
Quote from: "Fekete95"
What tree model do you use? Vanilla model? Custom model? Ported model from cata/mop/wod?

It's a reskin of a cata model.
Title: Re: [QUESTION] Texture resolution
Post by: schlumpf on August 25, 2014, 08:16:31 pm
Are there any special render flags? Have you tried changing stuff like that? Have you tried that texture on a different model where you know that a different texture works? Have you tried just showing the texture in the UI?
Title: Re: [QUESTION] Texture resolution
Post by: Alastor on August 25, 2014, 10:57:05 pm
Quote from: "Allifeur"
Quote from: "Fekete95"
What tree model do you use? Vanilla model? Custom model? Ported model from cata/mop/wod?

It's a reskin of a cata model.


k... and will you finaly tell us what model exactly to allow us make some Testing ?
Title: Re: [QUESTION] Texture resolution
Post by: Allifeur on August 26, 2014, 12:56:02 am
The model isn't the thing that is bugged : I tried on several M2s, the problem comes from the BLP itself. (So it doesn't matter to precise which M2 Is used.)

 But it looks like the BLP are missing something that could avoid the bug, and I can't figure out what.
Here is the PNG texture :

(http://img4.hostingpics.net/pics/297136DALKAPALMTRUNK02.png)

 My other textures don't have this problem, so it might be something stupid missing.

The first version of the trunk makes 88564 octets and turns black (with graphical modifications) which is the close to the normal weigh of a texture of this size. (88572)
After being decompressed, the trunk makes 171ko and turns white (with graphical modifications).

So basically => What could I be missing to make the blp work correctly here ? I will try changing the picture with several picture editors programs to see if it comes from the ones I use, or also possibly from my BLPconverter. As I said, it's probably something stupid.

 @ Schlumpf : I didn't changed flags there. Not from what I know.
Title: Re: [QUESTION] Texture resolution
Post by: schlumpf on August 26, 2014, 02:26:17 am
That texture is not square. Have you tried a square texture? Have you tried the other stuff I suggested?
Title: Re: [QUESTION] Texture resolution
Post by: Filipsons on August 26, 2014, 10:17:00 am
Try this.

(https://imagizer.imageshack.us/v2/512x512q90/746/QA29O0.png)
Title: Re: [QUESTION] Texture resolution
Post by: Amaroth on August 31, 2014, 07:20:52 pm
I've got the same problems with some models (trees from WG, old Vanilla human towers...). I never figured out what is causing them, it seems these are pretty random bugs, appearing only on a few of specific models. However, reloging/restarting the game always solved it, so I never looked for real solution.
Title: Re: [QUESTION] Texture resolution
Post by: Drikish on December 14, 2014, 04:47:12 am
I had this with cata imported stuff and it only effected me in noggit - take your image and in photoshop change channels to rbg only, somewhere near file... Removes this from happening.

White usually means no texture - it is also possible you have broken the uv map on the m2, through hex editing or conversion