Z-depth in Toxik


Ok, i know this isnt a Toxik forum, but there doesnt seem to be one here in cgtalk.

But if anyone knows, and cares to indulge, how do I get Toxik to read my z-depths in my .iff? I cant seem to find the right node to do so.



Do you not get access to the channels in the image input node? Also, what version of Toxik/Composite?



In the image input node, it does read it as a 32-bit image, and the details says it exists, but i cant seem to find that channel to pipe into anything… (modulation image?)

Details: Channels=[R,G,B,A] Depth=[8] Tiled=[Yes] PixelRatio=[Not present]

To be honest im not a comper, rather Im a character TD, im trying to this for my reel, and this stuff is interesting to me.

ANyway, another questions, if u dont mind :slight_smile:

I seem to get an edge when I comp my character over my environment, is it something to do with my gamma? (Ive gamma corrected my textures (,457) into my MR lens shader in maya)

Its Toxik 2010.

Oh another question… I think Ive stumbled into a node that can offset the RGB channels, but I can seem to find it, I trying to use it as a chromactic aberration type of effect.

Thanks Eric!


On the Image Import node do you see the Options Tab? Do you have any options beyond None? Second question Enable the Unpremultiply option in the Image Import tab. Not sure what you mean by the last question, if stumbled across the node how can you not find it?

Beyond that images may help,


The premult tab seems to work. Great!

The import Image option. I only get these options>
(i) None
(ii) Gamma
(iii) Rec. 709
(iv) sRGB

But I dont see a change when i flip between these. Should i just render a seperate pass?


Can you post an image of what is available on your options tab of the image input node?



Sorry, took a while, had to buy a PC keyboard to replace my stupid mac keyboard. Image is here…


Hmmm…ok it appears that .EXR is going to be the best way to move forward. With .EXR you get direct access to the channels in the image import options. I can’t find any info on how to get the data from .iff and don’t have Maya to do any testing.



While on the subject of Z-depth, any suggestions on the best way to composite your blur with it?

In After effects I would use the lens blur, or the frischluft lenscare plugin. I’ve seen ways to to blur based on grey value, but it’s either blurry away from camera or towards camera, not focused in the middle.

Any techniques or ideas to share?

Lenscare claims to be ported to Toxik 64 bit on the mac, but I couldn’t get it to show up.


Yes, I recently found this out…

There is a lensBlur node, kinda works like a super node. You plug your Z-depth seqence into the modulation input, and control the blur w/ the offset and etc…

You can also control the aberation effect (by scaling the RGB channels) and other blur effects. and the modulation image is just a scalar value (B&W 0 to 1.0 or etc) of how much blurring you’ve inputed, in this case you use your B&W z-depth.

Honestly Im quite liking Toxik, its quite user-friendly for the amateur compositer.

its a shame it cant read a z-depth channel though.


It can you just need to use the right format. If you use .EXR you shouldn’t have any issues.



Hey Eric,

Actually i did try .exr but Maya doesnt render out files w/ z-depth within the same pass, and renames the z-depth to an odd naming convention that Toxik cant read as sequences. So it was useless for me…
So i just rendered the sequences, used fCheck to output the z-depth into .bmp
Quite annoying.


From what I have briefly read, Maya should embed the zdepth in an .exr. So the issues may be with the render engine or your output settings. I have only opened Maya about 3 times in my life, so I will really be no help on the Maya specific issues. I do know that once you use .exr you will get extra options to control which data of the .exr is fed to the image import node output.

NOTE: All info from here on out is from the 2011 Composite help and may differ in 2010.

There are some tools to help with importing the .exr channels. You should also have the options Tab and access to the .exr channels.

Hope that helps some,


Excuse my ignornce, but whats the difference between Toxik and Composite?


Toxik was the standalone application, when it was removed as a standalone product and bundled with Maya (and now 3ds Max) it was rebranded as Composite. Composite 2010 was not fully rebranded (as you can see by Toxik still being all over the UI and help). 2011, and I am guessing any future releases, are probably going to be branded as Composite.

Hope that helps,


Aw thats great Eric, thanks heaps for ll the info.


This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.