Hi Chai,
Thanks for your script its very handy, I modified it slightly to add an extra option for the choice of saving the alpha channel when saving superpng rather than the transparency. I hope you don't mind. If you get the chance to add the option yourself it could be useful for others.
Thanks for your reply! No worries, its really only for very specific client need. Initially I was looking to see if it would be a simple modification to the script, but it sounds more complex than I thought.
Hi Chai,
Thanks for your script its very handy, I modified it slightly to add an extra option for the choice of saving the alpha channel when saving superpng rather than the transparency. I hope you don't mind. If you get the chance to add the option yourself it could be useful for others.
Ye good point that makes sense, added it to the todo list.
Hah would you believe I only just went from 1.7>1.8 a few hours ago, now you've already got a new version out. I wouldn't mind having a way export a certain group as the alpha of another map, if that's possible. The other plugin I tried to do that didn't seem to work for me.
Any tutorial how to use this? cause im kind of stupid at the moment :$
Just check out the readme.txt that comes with it.
Basically after you install, the scripts are in file->script->qSave.
First one setup script, and the others export.
Is it possible to save CryTIFF maps with this script? It supports TIFF, but CryTIFF is slightly different than the original TIFF, so the file isn't good for CE3.
If it isn't possible, are you planning on adding support for that format in the future? It would be awesome
I tried it out yesterday, exporting dds. I have a diffuse, a normal and a height to export. Having the dds settings set globally is not very good. Most of the time you are working with both normal and diffuse simultaneously. Being forced to change it back and forth takes pretty much the use out of it. Also, why did you choose not to export mips? A dds without mips is not very useful
I *think* I found a bug where an existing Alpha channel will make qSave export Tiff as 32bit files, regardless of the options you set in your qSave preferences. This on CS2, if it matters.
I *think* I found a bug where an existing Alpha channel will make qSave export Tiff as 32bit files, regardless of the options you set in your qSave preferences. This on CS2, if it matters.
It takes the PSD in PS and slaps it into max with diffuse and opacity (when using .tga/.tiff)
I "get material from object" and the maps are set up and ready to go. It's designed for 2d image planes but this is the quickest way I've found to get textures into Max.
Maybe this can be used to put all the maps into Max mat slots, diff, spec, opacity etc etc with one click.
Not sure if you guys use another method to do this , but thought it worth a mention.
It's beyond my limited scripting abilities btw...so don't ask
I wouldn't mind having a way export a certain group as the alpha of another map, if that's possible. The other plugin I tried to do that didn't seem to work for me.
That's how dDo does it I suppose—I imagine it would flatten the contents of each folder (diff, specular, gloss), then copy the flattened gloss to the alpha of the specular (or whatever—having options is cool). Maybe if the naming conventions for each group were user editable that'd be handy since a lot of people will be working on PBR stuff, which uses different terminology—and not all engines are consistent.
As an example imagine the export settings would be like:
Save (groupname) as (map type) of (groupname2)
And have as many slots as necessary of this format.
Perhaps it could be set up as a one-button deal where it saves all maps out at once, which might be less complex (otherwise when saving a particular group you'd have to check what goes in its Alpha then save that too—I'm just assuming it's less work if the user sets up all those relations first so weird combinations don't muck with things)
Here's a PS action I set up for Marmoset a while back, it takes the PS group "GLOSS", flattens it, and copies it into the alpha channel of equally flattened group "SPECULAR".
Obviously it's fairly specific to my PSD setup and requires a certain naming structure, but maybe it can be helpful. Shouldn't be too hard to reproduce, especially if you leave out the parts that add texture padding.
I hope jpg artifacts don't ruin your reading experience.. ;-)
EDIT: Oh and not to cause confusion - within actions, PS likes to refer to groups as "layers". All the "layers" in CAPITALS are actually groups in my PSD.
How do you go about saving each qSave as a keyboard shortcut? I can't find the 8 qSaves in the keyboard shortcuts menu. Do I need to do this as an action?
How do you go about saving each qSave as a keyboard shortcut? I can't find the 8 qSaves in the keyboard shortcuts menu. Do I need to do this as an action?
It should be in keyboard shortcuts, under file->scripts
I have been curious as to why there is no version for CS6? I seem to get this error every time I try to run the QSave and it says:
Error 22:Window does not have a construcctor.
Line: 392
-> mainwindow = new Window(setupmainwindow);
Now, I have no idea what kind of work goes into this so I am not saying by any means that is easy. Regardless, when I had CS5 it works great and I am really happy for it! Thanks for this wonderful plug-in.
I have been curious as to why there is no version for CS6? I seem to get this error every time I try to run the QSave and it says:
Error 22:Window does not have a construcctor.
Line: 392
-> mainwindow = new Window(setupmainwindow);
Now, I have no idea what kind of work goes into this so I am not saying by any means that is easy. Regardless, when I had CS5 it works great and I am really happy for it! Thanks for this wonderful plug-in.
Thanks for the bug report mate, if I ever get my hands on CS6 I'll be sure to have a look !
Version 2.3 Released
• export format can now be either saved with PSD or a global setting
• removed global depth, no longer needed and was just clutter
Version 2.3e Released
fixed rare bug where tga was written regardless of local format
This issue is weird, let me know if anyone still getting bugs with this
I am! I'm using 2.3e but somehow I started getting this bug a few days ago, and now it's only saving TGAs no matter what I select. I deleted my prefs and reinstalled qSave, but it's still happening. I'm not sure where the preference file is located so I can delete it as well to try and fix it.
I am! I'm using 2.3e but somehow I started getting this bug a few days ago, and now it's only saving TGAs no matter what I select. I deleted my prefs and reinstalled qSave, but it's still happening. I'm not sure where the preference file is located so I can delete it as well to try and fix it.
Thanks a lot for this amazing little program.
Hey thanks for reporting it, I wanna fix this asap !
hi!
Your script is awesome!
I think it can be better if you could set the alpha channel for SuperPNG files using the photoshop alpha Channel instead of image transparency (as png format).
This makes the trick for me:
var id21 = charIDToTypeID( "alfC" );
instead of:
var id21 = charIDToTypeID( "alfT" );
Replies
Thanks for your script its very handy, I modified it slightly to add an extra option for the choice of saving the alpha channel when saving superpng rather than the transparency. I hope you don't mind. If you get the chance to add the option yourself it could be useful for others.
fixed bug where qSave wouldn't fire off due to upper case PSD file extension
top uvs layer name is no longer case sensitive
Ye good point that makes sense, added it to the todo list.
Just check out the readme.txt that comes with it.
Basically after you install, the scripts are in file->script->qSave.
First one setup script, and the others export.
If it isn't possible, are you planning on adding support for that format in the future? It would be awesome
fixed bug where TIFF ignored alpha (24/32bit) settings
Cheers for reporting the bug mate !
http://www.scriptspot.com/3ds-max/scripts/psd-to-3ds
It takes the PSD in PS and slaps it into max with diffuse and opacity (when using .tga/.tiff)
I "get material from object" and the maps are set up and ready to go. It's designed for 2d image planes but this is the quickest way I've found to get textures into Max.
Maybe this can be used to put all the maps into Max mat slots, diff, spec, opacity etc etc with one click.
Not sure if you guys use another method to do this , but thought it worth a mention.
It's beyond my limited scripting abilities btw...so don't ask
Well I'll be. Thank you for saving even more clicks during my export process! ;-)
I'm curious about this, how would you guys suggest to go about it ?
A group that's named in a certain manner or what ?
As an example imagine the export settings would be like:
Save (groupname) as (map type) of (groupname2)
And have as many slots as necessary of this format.
Perhaps it could be set up as a one-button deal where it saves all maps out at once, which might be less complex (otherwise when saving a particular group you'd have to check what goes in its Alpha then save that too—I'm just assuming it's less work if the user sets up all those relations first so weird combinations don't muck with things)
Great work Chai.
Here's a PS action I set up for Marmoset a while back, it takes the PS group "GLOSS", flattens it, and copies it into the alpha channel of equally flattened group "SPECULAR".
Obviously it's fairly specific to my PSD setup and requires a certain naming structure, but maybe it can be helpful. Shouldn't be too hard to reproduce, especially if you leave out the parts that add texture padding.
I hope jpg artifacts don't ruin your reading experience.. ;-)
EDIT: Oh and not to cause confusion - within actions, PS likes to refer to groups as "layers". All the "layers" in CAPITALS are actually groups in my PSD.
It should be in keyboard shortcuts, under file->scripts
Error 22:Window does not have a construcctor.
Line: 392
-> mainwindow = new Window(setupmainwindow);
Now, I have no idea what kind of work goes into this so I am not saying by any means that is easy. Regardless, when I had CS5 it works great and I am really happy for it! Thanks for this wonderful plug-in.
Thanks for the bug report mate, if I ever get my hands on CS6 I'll be sure to have a look !
• added option to name export based on selected layer name
• export format can now be either saved with PSD or a global setting
• removed global depth, no longer needed and was just clutter
fixed bug with layer name tag enabling when it shouldn't
IT JUST Works
Hahaha, cheers for the heads up !
Ah thanks, I'll look into it
fixed issue where TIFF files saved as layers
fixed issue where TIFF files saved as layers
Cheers mate, which channel #zbrush ?
fixed rare bug where tga was written regardless of local format
This issue is weird, let me know if anyone still getting bugs with this
My bad, the installation instructions should be :
Copy Presets folder to your photoshop directory
Whoops! My mistake. Yes I installed it into the windows x86 folder rather than the regular program files. Works perfectly this way!
I am! I'm using 2.3e but somehow I started getting this bug a few days ago, and now it's only saving TGAs no matter what I select. I deleted my prefs and reinstalled qSave, but it's still happening. I'm not sure where the preference file is located so I can delete it as well to try and fix it.
Thanks a lot for this amazing little program.
Hey thanks for reporting it, I wanna fix this asap !
Edit: Ok, I think I got it, try this :
http://www.arielchai.com/files/qSave_v2.3f_r1.rar
That was quick! After a few days of testing I can now say it's working perfectly fine.
• fixed rare bug where tga was written regardless of local format (thanks FlameEye6 !)
Your script is awesome!
I think it can be better if you could set the alpha channel for SuperPNG files using the photoshop alpha Channel instead of image transparency (as png format).
This makes the trick for me:
var id21 = charIDToTypeID( "alfC" );
instead of:
var id21 = charIDToTypeID( "alfT" );
Hope this can be useful for somebody!
solved:
http://www.ps-scripts.com/bb/viewtopic.php?f=2&t=5965&sid=07c08f72742c63965b08a792251cb88b