PDA

View Full Version : [FS2004] Errors when using Mass Texture Converter


Stoll
16 Apr 2010, 14:44
Hello together

My name is Sascha, i'm 16 and live in Switzerland, next to Zurich.

I'm currently modelling a hospital near my city. Unfortenatly i'm having some problem when using the Model Converter X.
I designed the model with Sketchup and converted it to a COLLADA-File. Importing the file into the Converter works without any problems, altough it takes a while.

But if i then would like to convert the textures to DXTBMP with the Mass Texture Converter (which is very useful btw) i often get errors.

Sometimes its a .NET Framework error which tells me there an error in GDI+, sometimes i get an other error when using the Material Editor, where it tells me something is wrong with the memory.

Another error i get is System.Out.of.Memory, if i go and take look at the process in the TaskManager, its about 1.2GB big. I'm using Windows7 on a 32bit system with 4GB RAM. Is this to less or is my file just to big? The COLLADA-File is about 4.7MB big and there are a bit more than a hundred textures in it. Too much? :)


Here are the errors i get: (I'm using the latest developer release from 13.04.2010)
http://img686.imageshack.us/img686/3131/20903935.png
Details: http://zrhvideo.ch/vatsim/1.txt

http://img686.imageshack.us/img686/2281/12499444.png
Details: http://zrhvideo.ch/vatsim/2.txt

Any help is appreciated :o

Thanks and greetings from Swiss,
Sascha

arno
16 Apr 2010, 15:34
Hi Sascha,

That seems to be quite a big COLLADA file you have there, but I have run tests with models with over 100 textures before. They will run a bit slower and use more memory, but it should work.

Thanks for the details on the error, I will use this information to take a look at the code and see if I can find any issues over there. Would it also be possible to send me your model for debugging, then I can try to reproduce your problems here.

Stoll
16 Apr 2010, 16:21
Hi Arno

I've attached my collada file.
I hope you don't find too many errors in it. :o

Sascha

arno
17 Apr 2010, 04:47
Hi,

In the model I don't see any issues, but that is no real surprise. Your errors are related with the textures (when converting them) and that is something I can't test without having the textures as well.

If possible, can you email me a KMZ that also includes the textures? You can send it to arno _AT_ fsdeveloper _DOT_ com.

arno
17 Apr 2010, 15:49
Hi,

Wow, that is a big KMZ file :).

I was able to import it correctly, use the mass texture editor to resize the textures and use the drawcall minimizer. But the whole process was quite slow and uses a lot of memory.

Like I said I have converted models with over a hundred of textures before, but it seems your model has quite huge textures (up to 3000 pixels in size). I guess that is the bottleneck. ModelConverterX uncompresses these JPG textures when editing them.

Since I can't reproduce the errors here, it seems like it might be that on your machine you are just hitting some memory limit or so. As long as I can not reproduce the bug, it is hard for me to fix it. Would it be possible to use slightly smaller textures for you?

Stoll
17 Apr 2010, 18:16
Hi Arno

You just saved my day. :)

I took pictures for the complete sides of the building, these are the very big one's, up to 3000px. I now divided them into smaller textures, so now i've got more textures than before, but smaller ones.

And see, now i had absolutely no problems with converting the textures. Minimizing drawcalls worked fine as well.

Really seems like that the big textures i used before were the problem.

Thanks for you help. ;)