materials.cs file(s) enlightenment requested
by Scottie Sirius · in Torque 3D Professional · 11/21/2010 (3:15 am) · 3 replies
We're adding a streaming capability so people can DL levels as they go which is requiring me to rethink my entire directory structure.
I'm planning to create one directory to hold all of the textures that go on all of my models.
For quite some time now I've been having problems with my material editor crashing shortly after opening it. At last count I had about 102 materials.cs files total. That seems like a lot.
So with this restructuring and putting all my textures in one directory and creating one materials.cs file Should I expect to experience more problems or less?
One materials.cs file to rule them all? Or 102 separate ones...which is better?
It's going to be one big a** materials.cs file.
If any of the devs or "Princes formerly known as devs" have any thoughts I'd appreciate it or if anyone else has tried something similar with any success I'd like to hear about it!
Thanks!
I'm planning to create one directory to hold all of the textures that go on all of my models.
For quite some time now I've been having problems with my material editor crashing shortly after opening it. At last count I had about 102 materials.cs files total. That seems like a lot.
So with this restructuring and putting all my textures in one directory and creating one materials.cs file Should I expect to experience more problems or less?
One materials.cs file to rule them all? Or 102 separate ones...which is better?
It's going to be one big a** materials.cs file.
If any of the devs or "Princes formerly known as devs" have any thoughts I'd appreciate it or if anyone else has tried something similar with any success I'd like to hear about it!
Thanks!
About the author
Creating the AlterVerse! www.AlterVerse.com
#2
http://www.torquepowered.com/community/forums/viewthread/119131
It's still a WIP as far as I know!
11/21/2010 (2:22 pm)
I believe this issue has been logged here:http://www.torquepowered.com/community/forums/viewthread/119131
It's still a WIP as far as I know!
#3
11/21/2010 (5:51 pm)
@Steve - Yeah, that's kind of what I'm trying to do is consolidate all my shapes into about 10 directories vs "who knows how many" and then put all my textures into one. I'm hoping through the process I'll find any bad textures or errors in one of the 102 materials.cs files and that'll cure my materials editor problem. I was just wondering if anyone knew if that large of a materials.cs file would cause other problems.
Associate Steve Acaster
[YorkshireRifles.com]
102? Yeah that seems like a lot, but I suppose it's how you've decided to organize your directories. Personally I have all my models and textures divided into folder types (player, vehicle, urban, forest, rocks, industrial, etc).
As for crashing Material Editor, maybe you've gone beyond the max visible objects cap (there's likely to be one - there is with other editor objects --- think power_of_2 like 4096). Other than that, you might have an error in a material file, maybe an extra semi-colon where you don't need one - these issues have happened in previous versions of the engine when deleting references - but that's been fixed in b3.