CGTalk > Software > Compositing Software > Eyeon Software Digital Fusion
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 12-24-2003, 04:01 PM   #1
Kvaalen
Omnipotent and omniscient
 
Kvaalen's Avatar
 
Join Date: Dec 2002
Posts: 802
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-27-2003, 06:14 PM   #2
Robert Zeltsch
New Member
 
Robert Zeltsch's Avatar
Robert Zeltsch
media technology student
Germany
 
Join Date: May 2003
Posts: 28
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-27-2003, 06:58 PM   #3
Kvaalen
Omnipotent and omniscient
 
Kvaalen's Avatar
 
Join Date: Dec 2002
Posts: 802
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-31-2003, 07:23 AM   #4
m.d.
Know-it-All
 
m.d.'s Avatar
 
Join Date: Feb 2003
Posts: 404
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-27-2004, 02:55 PM   #5
PolyMangler
Masqurading as an artist
 
PolyMangler's Avatar
portfolio
Bruce Cash
Graphic Art Director
Little Rock, United States
 
Join Date: Feb 2003
Posts: 258
Send a message via AIM to PolyMangler Send a message via Yahoo to PolyMangler
Quote:
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-17-2006, 01:00 AM   #6
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 04:50 PM.


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