Hi there,
today is one of those days where I could just eat up my keyboard!
I'm trying to bake a texture out in tga format (because I want that alpha) but it simply doesnt work. I just get a message : "error creating bitmap". GRRRRRRRRRRRR
The thing is that it works with a simple bmp but not with tga. the last time i used it was two weeks ago and i dont know what I could have changed...
now i have no fucking idea why it wont work. i have done this thing a 1000 times before and i am really stuck here!
Anyone who knows a solution?!
Replies
edit: if its happening in the exact same situation/files as last week though.. weird
Thx though (I'm already eating the corners of my keyboard)!
perhaps it's the size of the map ?
Dimensions above 2048 cause problems.
If that is the case you can try to increase the memory that is reserved for maxscript in the preferences and try to free as much ram as possible. I can rtt maps up to 3k, no luck above.
You could try to render to tiff,rla,png or another imageformat with alpha or try to set up a different passes for your masks, though it's a pita.
1) Convert your mesh to Edit mesh, or at least put a edit mesh mod on top of it..
2) Reset Xform, for some reason that always works...
Having to do a few min-hrs work over is nothing compared to the slow down, GIANORMOUS file size of that corrupt max file.
Things you can to do uncorrupt the file:
- Clear the back end baggage off an object. The quickest way is to create a primitive, convert it to E-Poly and attach your beaten and bloodied mesh to it, your mesh becomes part of the box object not the other way around. Then delete the box and reset your pivot point and xform.
- To really clear out the baggage (and possibly mess up your mesh) Export the mesh as .OBJ or some other file format and import them into a new file. You'll have to set up your materials again but who cares your file no crashy no more. Max carries around quite a bit of back end baggage. Don't believe me? Have you ever imported a mesh and half the polys are facing the wrong way? Yeah thats because Max remembers its original un-mirrored/flipped position and which way the normals where facing along with bunch of other crap, like that 2,000 poly AC unit was a box 3 weeks ago and how many booleans you butchered into it. Max just needs to learn when to let go...
- Watch out for crazy work flows and long modifier history stacks.
- Don't bury your textures really deep inside of folders. Max likes to have textures close and its enemies (you) closer. Use the Asset Browser to set the path of your textures if you have a lot of them to repath. File > Asset Browser.
- If you have an "ok" video card run in software mode. Yeah yeah DirectX is the wave of the FUTURE! BUT Vig I'm too cool for that shit I don't play games if they have a software mode! DirectX makes max twitchy on certain cards with certain drivers so unless you really need it don't use it. They give you the option of 3 rendering modes, why not pick the best one? If you need it for shaders and what not you can spend the 2 weeks building in the safety of software mode and switch over to twitch bitch mode when you have to...
Lastly, they just released SP1 for Max9, and it comes with a "opps we broke it" disclaimer. I bet the patch it soon because just about everyone I work with has gotten this exact same error and had pretty buggy issues. A few have gone back to 8 until they address the issues, I'm close... All the "optimizing" to make it "faster" left everyone twisting in the wind. Hopefully they'll break it good, and be forced to rebuild it from the ground up.
Stay tuned!
So indeed the problem was caused by a modified psd.bmi!
I already shot the responsible person...
Thx though for the help. Somehow I think that I will need those tips later sometime