Question about the Z Depth and Channel Boolean

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 12 December 2003   #1
Question about the Z Depth and Channel Boolean

I'm trying to make the Z depth of an image the RBG value of the image. I thought the best way would be using a Channel Boolean tool, but when I apply the Z buffer to any of the channels it applies a black and white image that is the same as the Alpha channel. Am I doing something wrong? Is there another way to do it?

Thanks for any help.
__________________
[www.kvaalen.com]

Inspiration sources : http://www.louisfabien.fr - paintings
 
Old 12 December 2003   #2
Hm... I`m not sure if I understand you. Do you want to create a Z-Buffer from the RGB values?
If yes, then it is easy with the Channel Boolean Tool (Bol).
Simply enable the Auxilary Channels and apply the desired channel to the Z-Buffer.
If you want to create RGB-Values from the Z-Buffer (the result should be a greyscale image) then the Channel Boolean Tool should also works. (Apply the Z-Buffer to the RGB Channels)
But your problem sounds strange, so try the following "workarounds":

1. Use a AutoGain Tool (AG) to "expand" the Z-Buffer. It is included in module 2 of DFX+
Since you are a LightWave user, I assume that you are using DFX+. (I have seen your avatar in the newtek forum... )

2. Use the Depth Fog Tool with a Black Color on a white BG-Tool
by applying your Z-Buffer on the green input node. The Background tool goes into the brown node.

Good luck!!
__________________
Trace the Ray!

Robert
 
Old 12 December 2003   #3
Thanks for the help.

Yes I do have the LightWave + DFX+ deal.

My problem is the later: "If you want to create RGB-Values from the Z-Buffer (the result should be a greyscale image)".

But as I said and you mentioned, it gives me a black and white image the resembles the alpha channel instead of the greyscale image I see when I look at the Z Depth in the viewport.

For the time being I've been doing the second seggestion. Using black fog on the black and white image the Channel Boolean tool gives. It works fine and suites my needs, but I suppose it probably takes a little longer to render per frame.

Has anyone else tried this and had the same problem?
__________________
[www.kvaalen.com]

Inspiration sources : http://www.louisfabien.fr - paintings
 
Old 12 December 2003   #4
hey Kvaalen,
ya I have the same problem Zbuffer is just black and white not greyscale...I thought i was doing something wrong?
 
Old 08 August 2004   #5
Originally Posted by Kvaalen: I thought the best way would be using a Channel Boolean tool, but when I apply the Z buffer to any of the channels it applies a black and white image that is the same as the Alpha channel.


could this be because the z-buffer isn't scaled in the same 255 range as normal rgb? If so you'd have to find a way to normalize the z-buffer. I think a dfx tool has that exact option in the color modual
__________________
Make 'waves!
 
Old 01 January 2006   #6
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 08:29 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.