Modifying the Z Buffer image. Possible?

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 02 February 2003   #1
Question Modifying the Z Buffer image. Possible?

What I'm after is a customizable "depth of field" type feature that generates a custom Z buffer image. I know that a generated Z buffer image works by coloring the closest points black and the furthest points white. But is there any way to generate a custom Z buffer image, selecting what is painted black and white. Example: Picture a rendered football field. The near goal would be black, the far goal white. But what if I wanted the "focal point" to be the 50 yard line. The Near and far goals would be white (distant) and the 50 yard line would be black. How could you customize the output; aside from duplicating all the objects and texturing them with "distance from null" which is parented to the camera?

Thanks,
Dustin
 
Old 02 February 2003   #2
i think you would be able to do this with the old time classic hack of using volumetric FOG and defining the regions you need to be WHITE and BLACK in your Football scene example.

 
Old 02 February 2003   #3
Thanks policarpo. I was afraid that "fogging" might be the only choice. I was trying to avoid the multiple rendering passes. But I might not have much of a choice.

Thanks again.
Dustin
 
Old 02 February 2003   #4
yeah..it's the only way i know of doing it...in passes that is.

it would be a nifty plugin though...defining the regions for your ZMap and having it render as one of the Buffers at the time of F9 and F10.

 
Old 01 January 2006   #5
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 09:14 PM.


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