LAYERSLAYER -- matte painting tool for Photoshop


#1

Hey guys, I just am finishing up tweaking the final stages of a matte painting tool/color pipeline for Photoshop. Most of you know the routine, you get a log tiff or Cineon file, or get a 32 bit linear EXR and have to do some funky stuff to get it to look right to paint on, and in the end it’s a hassle. Well I’ve managed to take the Fnord Cineon Converter plugin and wrap it into a nice automated process that takes the user error out of the equation, and even manages versions and naming. Take a look at this thing and let me know what you think!

Link to Demo Video:

[VIMEO]35745789[/VIMEO]

Please note that this script will require that you download two plugins from external sources. The first is the FNORD cineon converter, available for free download at:

fnordware.blogspot.com/2008/11/cineon-converter-for-photoshop.html

The guy is giving it away for free, so be sure to check out his other plugins and tools at fnordware.com

And for the time being, Layerslayer is also dependant on the EXR Alpha plugin, this can be downloaded from here:

kb2.adobe.com/cps/883/cpsid_88310.html


#2

Hey Zach, sweet looking tool. Is it available to download? :slight_smile:

Dave.


#3

its not ready for a short while Dave, Zach is ironing out the bugs. This is a tool that is sorely needed.


#4

Yeah, I’m taking care of a couple of small issues present in the interface, and then I’ll be releasing it within the next couple of weeks, Just trying to generate some interest and awareness before then. Glad you guys are wanting to use it! I have to say that it’s one of those tasks that eventually gets really annoying, having to export and save all your layers separately. This tool in particular is helpful for situations where you are exporting multiple layers out for 3d projections. I had some co-workers use the original script this was born from when they were working on Thor at DD. At that point, the script ran a series of actions on all layer sets and the user had no ability to choose what layers you exported, it just ran them ALL. Well, the painters were exporting upwards of forty different layers to be projected in Nuke on that show. Needless to say, even at the crude stage the tool was at, it saved these guys a TON of time. I’m happy to say that even though it seems like it’s geared specifically towards a matte painting workflow, it would also prove to be an excellent tool for texture artists, motion graphics artists, and graphic designers as well. Anyone who needs to export multiple layers with alpha channels out at any capacity can find sanity from this. I can guarantee that. But yeah, thanks again for your interest guys. I can’t wait to drop it on you and see if you find it as useful as I have.


#5

Yep, it sure is a pain in the arss having to split up PSDs into Tiffs and alphas. At the previous studio i was working at i had a TD throw together a similar tool, it was a BIG time saver without doubt!

So to clarify, does the tool split out a separate mask tiff, or simply save the layerd file as a tiff with transparency? Personally I use Max for projection work, and when i prep a PSD for projections i have to save a flattened pre multiplied tiff onto black with a separate mask file. With both files i have to remove all alpha channels and paths, otherwise Max gets confused and starts acting retarded.


#6

Does the tool split out a separate mask tiff, or simply save the layerd file as a tiff with transparency?

That’s an excellent question. The answer is yes on both accounts. It’s really up to you.

To get the result of a tiff with a separate mask, you would just deselect embed alpha in the tiff options, and then select whatever layer you want exported in the MATTE EXPORT listbox. This will spit out both an RGB tiff and another color tiff with the alpha image in the RGB channels.

OR if you prefer, you can leave embed alpha checked in the Tiff options, and it will export the file with an alpha channel embedded.

Another feature that I haven’t really explained in the video is exactly what’s happening in the float operation. I think an image would better help illustrate just to be clear.

The first image is that of your layer in photoshop, we will consider for the first image that the transparency is the black color.

As you can see there are areas that have both hard transparent edges and semi-transparent edges. Always a pain to deal with. My solution exists in the FLOAT column to the left of the EXPORT COLOR listbox. When checked for a layer, the result will be as follows:

As you can see all the image area from the original layerset is preserved in the alpha image, or channel depending on how you export, and the RGB layer is stacked up to concatenate the pixel color, and that way you don’t have to worry about any premultiplication problems popping up. The RGB has enough coverage to be cut out by the alpha without revealing the black background.


#7

Well seems cool to me :slight_smile:

One last question; does it support both CS4/5


#8

yessir it does! I’ve got a mac and pc version that both currently work.


#9

Zach, if you were a lady and could cook and iron id marry you,

Rich


#10

I used this script on several films so far and its a huge time saver - it works great. i was able to shave about 2 hours a day on Thor using this. I had about 50-60 layers for my projection painting and I would just run layer slayer and go to the beach and hit on some trim and drink while it batched out all my layers.

you want to be the first guy on your block using this script i promise. it will get you laid!

Nick Hiatt
www.attackfx.com


#11

Oh, no! I’ve used it too … its very cool.


#12

OK everyone! It’s ready! I have spent a lot of time creating this tool out of necessity. I hope you like it and find it useful… If you do find it useful, know that’s why I put a donate button on there. You can download it

here:

now go get it!


#13

My Norton av wont let me open it, checked with Norton and seems as its a new programme it sees it as a threat. There is a web dispute form on there site.

I know it does not have a virus in it so im hacked off with Norton using its crowd sourcing software to generate false reports of a virus.

Rich


#14

That’s odd, I have installed it on a couple of machines with Norton and had no problems. Does it still give you guff if you turn off the Antivirus and install? Also another important note, The ICC profiles get installed in your system32 folder in Windows, so you should install using administrator privileges if you are on Windows.


#15

Hey Zach,

I am trying to install this on windows 7 cs5.1 and not sure where to put the .png files or the jsx and jszbin files. I have tried to put them in the plugins root directory and also into the filters directory. Can you give me a detailed walkthrough? I did install the icc profiles into the System 32 directory so thats all good.

Thanks!

Christian


#16

SO i got it to work by putting it into the presets/scripts directory. Now I am having some other problems. The open2log converts it but there is white pixelation in some areas. Have you ever heard of this? Also I am getting an error when i click on the layer slayer that says Error 509: Invalid image data Line: 156

It is saved as a psd.


#17

I am trying to install this on windows 7 cs5.1 and not sure where to put the .png files or the jsx and jszbin files. I have tried to put them in the plugins root directory and also into the filters directory. Can you give me a detailed walkthrough? I did install the icc profiles into the System 32 directory so thats all good.

SO i got it to work by putting it into the presets/scripts directory. Now I am having some other problems. The open2log converts it but there is white pixelation in some areas. Have you ever heard of this? Also I am getting an error when i click on the layer slayer that says Error 509: Invalid image data Line: 156

It is saved as a psd.

Hey Christian, a couple of things here… Firstly, I’m not sure as to why you’re even having to play around with what folder to put things in… I’ve created an installer to take the guesswork out of that part… if you’re not using 64bit Photoshop that could be causing the problem…

And the “Error 509: Invalid image data Line: 156” message has popped up before when all the .png icons aren’t in the “C:\Program Files\Adobe\Adobe Photoshop CS5.1 (64 Bit)\Presets\Scripts” folder. More specifically in this case, the icon called “LS_FLT.png”

As far as the white, blown out pixels… I can’t be sure, but if you’re not opening images that are in linear space to begin with, you are most likely going to get some crazy looking images using the open2log script. If you open a file with that script that is in srgb space, it’s going to send the values through the roof. Hopefully that helps some. If not let me know, and I’ll do my best to help you get rolling here.


#18

Thanks Zach. I will give this a try and see if it works. I was having someone else install it (IT) and it didnt work so then I was trying to troubleshoot it. Sounds pretty simple though.

Ill let you know how it goes.


#19

Hey Zach,

Unfortunately it did not work. We deleted everything that we manually had placed and started fresh. All the exe did was to place them onto the desktop. Does it need to be executed within the program directory?

Are you at DD in venice still? I am in Florida at DDMG.


#20

My bad man, I made a small fix to the code, and when I re-packaged the .exe I forgot something. I’ll get it fixed today.

but in the meantime, to install you can just put the stuff in the following directories:

anything with the extension .jsx, .jsxbin, .png goes in

C:\Program Files\Adobe\Adobe Photoshop CS5.1 (64 Bit)\Presets\Scripts

the Cineon Converter.8bf plugin goes into:

C:\Program Files\Adobe\Adobe Photoshop CS5.1 (64 Bit)\Plug-ins

the OpenEXR Alpha.8bi plugin goes into:

C:\Program Files\Adobe\Adobe Photoshop CS5.1 (64 Bit)\Plug-ins\File Formats
-make sure that all other openEXR plugins are commented out/disabled by adding.bak to them as they will fight with the code and LayerSlayer won’t work.

and for the .icc profiles, they all go into:

C:\WINDOWS\system32\spool\drivers\color\

Thanks for bringing it to my attention, let me know if that all works when it’s in the right places.

EDIT:

Ok, I’ve recompiled the installer with what should be the proper settings, if you haven’t already installed everything manually, you can re-download the installer and give it another shot.