Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Using 3ds Max 2012, I've been able to use the "render to texture" function to successfully bake my lighting. The only problem is that these image files are always output to TGA files. I need PNG files. If I select all of my objects I want to bake, the option button with [...] that opens up the "file name and type" selection menu is GREYED OUT.

If I select ONE object and try to export only that one object then the "file name and type" menu becomes clickable and I can select my file type. But when I click "render" I get an error message "The following nodes output to invalid directories and will not be rendered" with my one object listed below and it's output directory which is "sceneassets\images"

What am I doing wrong here?

Thank you.

share|improve this question
2  
Couldn't you just export to a TGA file and then convert it? I know it's an extra step, but it would be easier. On the other hand, if it's needed for a game you're making (after all, it is GD.SE), then you could just parse a TGA file - it's actually really simple to do. But if it's for something else, not related to your own game (or indeed, even if it is related to your own game), this is a question best asked on the 3DS Max Forums. –  Polar Mar 22 '13 at 16:55
1  
In my case I'm developing a model for a 3rd party engine that needs PNG textures. How are you proposing I convert my model, is there some kind of conversion tool? –  uberdanzik Mar 22 '13 at 17:47
    
Ah, wasn't expecting that situation. Presuming that you can't change the engine, are you certain that you can't just convert the textures? If it uses UV-mapping, then texels are texels and it doesn't matter whether the model says TGA or PNG - the model doesn't need to know the format of the textures. Best to treat the textures independently. –  Polar Mar 23 '13 at 7:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.