Game Development Community

Texture Merger

by Banshee · in General Discussion · 08/30/2004 (4:39 am) · 10 replies

Is there a program or some sort of easy tecnique to be able to merge a model with multiply texture files into a model with a single texture file which has all the textures and stuff in it UV mapped properly?

You see I have a player model which has 4 texture files, one is 512x512, one is 256x256 and the other two are 64x64. is there someway I can merge them into one big image(like 1024x1024) and still keep the UV data. If I can do this then I can lower the quality and make a large performance difference in my game.

#1
08/30/2004 (5:02 am)
Actually, wouldn't the 1024x1024 be taking up more memory than the other 3 combined?

1024x1024 = 1,048,576

512x512 = 262144
256x256 = 65536
64x64 = 4096

total: = 331,776

Not sure about the internals, my models have 3-4 textures before mounting the wheels. And I'm not getting a large performace hit.
#2
08/30/2004 (5:27 am)
Maybe its a problem with my poly count, its 2100 poly model and it hits the frame rat pretty hard with like 2 of them, I will just have to setup my LOD a bit better.

If I did have a 1024x1024 texture I would shrink it to 512x512
#3
08/30/2004 (6:38 am)
Banshee: Are we talking Torque here? Incase so, then two of those models shouldn't sink your FPS that much :/
#4
08/30/2004 (8:18 am)
My 2100 poly model drops my fps from 100fps to 70fps, then I add another one and its drops to about 60fps then another and it drops to 50fps and so on.

I do have lod on my models(but thats at like max LOD which is 2100poly).

Why is it dropping so much?


Computer Spec:
1.8 Athlon
Geforce 5 5600FX
256 SDRam

Hmmm... I don't think its a problem with my computer spec I ran Deus Ex 2 at the high quality settings at 1024x768 and it ran just fine... also looked like real life :P
#5
08/30/2004 (9:16 am)
It's the video card. You may want to think about switching to ATI. It seems to work a lot better with Torque.
#6
08/30/2004 (10:25 am)
Lol, there has to be some way to make torque work well with both nvidia and ATI cards or they are gonna have extreme problems getting any one to sell any games....
#7
08/30/2004 (10:29 am)
What video drivers do you have? If you haven't updated your drivers in a while. I would suggest doing so.

I have a GeForce 5700 ultra FX and when I first installed it, I had new drivers (back last summer) and they were the slow drivers. I was gettting very low rates, similar to you. I updated to the new drivers -- anytime they come out with new ones-- and my framerates up in the 125-160 range at 1024x768 with several of my models (which are up there around 1400-2100 with 4 lods and collision meshes (actualy might be a little more than that too)).

I'd check your drivers.
#8
08/30/2004 (11:21 am)
I just installed the latest driver and I get the same frame rate as before, its not really a problem with the base frame rate its just that it dips so much by adding just one player model and it is mucky on the fps demo as well. Its so weird...
#9
08/30/2004 (11:28 am)
You could have problems with the model. 2k polys isn't bad at all, but if you have a hole in it, then its a whole lot. Run stl check and fix anything it says is wrong.
#10
08/30/2004 (12:00 pm)
I just made a quick sphere in max which hits 2000 poly. I put it in my game and to my amazement my frame rate basicly stayed where it was... so i put in another... and it stayed... and another and only a tiny drop could be seen in my fps...

its has to be my model, I will try to fix it, thanks guys