How to Convert a Pz in a C channel in a Cop2net

   5168   6   1
User Avatar
Member
5 posts
Joined: Feb. 2010
Offline
Hi… I m trying to convert a zdepth to a color, Im using a channelcopy node right now but I doesnt work.
User Avatar
Staff
5287 posts
Joined: July 2005
Offline
Make sure your Color plane is a 32b Floating point plane, otherwise all you'll see is white.
User Avatar
Member
218 posts
Joined: March 2006
Offline
I have the same problem. I have a pic with 32b Floating point plane C. A and Pz, looks fine in H10 but can't copychannel Pz to C. Just get a white picture.
In H11 I see something strange as a red picture. What am I doing wrong?
Detlef
User Avatar
Staff
5287 posts
Joined: July 2005
Offline
Try adapting the viewer to the full pixel range (Shift+R). COPs does not remap your Z values to 0-1, it leaves them at near->far. It correctly identifies Pz as a depth plane and does this adapt for you, but when you transfer this data to a Color channel, this no longer happens as color channels are not auto-adapted.
User Avatar
Member
218 posts
Joined: March 2006
Offline
Ha I must be a very stupid man ;o)
- Shift+R wow I can see it
- using a bright to adjust
- export to TGA ;o( still nothing…

One more world about exporting for having a mask in Photoshop?
Detlef
User Avatar
Staff
5287 posts
Joined: July 2005
Offline
The “Adapt to Pixel Range” is just for visualizing the data. If you'd like to actually map it to a range that can be exported in a TGA file, use a default Equalize COP. Note that you'll lose a lot of precision because a Targa is an 8b format.
User Avatar
Member
218 posts
Joined: March 2006
Offline
thanks a lot. I've got a 8Bit TGA. It's only to blur a little in Z in Photoshop.

Have a nice Houdini-day

Detlef
  • Quick Links