Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Featured Threads
  inspiration alert!!!
(36 replies)
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(37 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  spam alert!!!
(4886 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  three cheers to maxforums...
(240 replies)
  101 Things you didnt know in Max...
(198 replies)
  A Face tutorial from MDB101 :D
(95 replies) Members Gallery
(516 replies)
(637 replies)
  Dub's Maxscript Tutorial Index
(119 replies)

Maxunderground news unavailable

First page  Go to the previous page   [01]  [02]  Go to the next page  Last page
Ways of doing zdepth?
show user profile  cbflex
Are there any other ways to render a depth pass becides the render elements->zdepth?
I feel like it would make more sense if there were numbers on the screen instead of a gray scale image, that would tell the composite program how far objects are from the camera.
read 579 times
6/23/2010 11:15:46 PM (last edit: 6/23/2010 11:15:46 PM)
show user profile  Erm Kahoff
dont know


If everyone around you is panicking and you are calm, perhaps you haven't fully grasped the situation

read 573 times
6/23/2010 11:27:03 PM (last edit: 6/23/2010 11:27:03 PM)
show user profile  BishBashRoss

read 570 times
6/23/2010 11:32:16 PM (last edit: 6/23/2010 11:32:16 PM)
show user profile  mrgrotey
The greyscale image DOES tell the composite program how far away the objects are by their brightness value; the darker the pixel the further from the camera it is. Whats wrong with zdepth?

Every single other person seems to find it works for them.

read 567 times
6/23/2010 11:36:35 PM (last edit: 6/23/2010 11:36:35 PM)
show user profile  DannyMax
cbflex how did you think it worked ??

read 565 times
6/23/2010 11:43:32 PM (last edit: 6/23/2010 11:43:32 PM)
show user profile  JonathanH
"I feel like it would make more sense if there were numbers on the screen instead of a gray scale image, that would tell the composite program how far objects are from the camera."

What did you think it was going to do, put a tiny number in every single pixel that a compositing program can somehow read?

(do note that this is actually what it DOES do, since a greyscale value can be represented by a number from 0 to 255, or more in a higher bit-depth image)

read 563 times
6/24/2010 12:01:05 AM (last edit: 6/24/2010 12:08:59 AM)
show user profile  BWS
Like Jonathan and Mr Grotey said, this is exactly how you pass a number to the compositing software. It doesn't know how to read a human-readable number in the image.

On the other hand, there are sometimes problems with a Z-depth pass: it can take a lot of trial and error to get the range right, which can be slow, and the Z-depth pass doesn't handle mapped transparency.

So in some cases I've used the Ztint effect plugin ( because you can update the effect without re-rendering the whole scene, and that makes it much quicker. You set up your objects to use a white, self-illuminated material (also using the transparency maps, where you need those) and tell Ztint to color the scene black by distance.

Once the scene's rendered you can alter the range by updating the effect in the effects panel and your mapped transparency will be including in the rendering. Remember that for some uses you do not want anti-aliasing in your depth map. So you may want to turn AA off.

Bradley W. Schenck

read 526 times
6/24/2010 4:44:57 PM (last edit: 6/24/2010 4:45:27 PM)
show user profile  jareu
......... aahahahahahahaha

He who says it cannot be done is interrupting the man doing it.

read 519 times
6/24/2010 4:51:02 PM (last edit: 6/24/2010 4:51:02 PM)
show user profile  Dr. Jim
Plenty of Maxscripts to handle this for you
read 511 times
6/24/2010 5:02:11 PM (last edit: 6/24/2010 5:02:11 PM)
show user profile  STRAT
the quick method used in c4d is to remove all materials and re-assign a nominal default matt white to all (or a vray override material if using that), place a standard omni light at the camera possition, and make sure this omni casts no shadows and only ambient light.

renders your zdepth uber fast, and is most controlable as far as fall off is concerned.


read 503 times
6/24/2010 5:29:03 PM (last edit: 6/24/2010 5:29:28 PM)
show user profile  horizon
I'm currently drunk so I'd like to know if it's ok to throw rocks at people, telling them you're just calculating their Z-depth from time you throw the rock to the time they yell in pain?

Kind of like ray-tracing but less ray more rock.

read 463 times
6/26/2010 5:28:44 AM (last edit: 6/26/2010 5:29:20 AM)
show user profile  Bolteon
thread of the week.

on a side note, it would be nice to have subpixel data available...

-Marko Mandaric

read 422 times
6/27/2010 3:51:15 AM (last edit: 6/27/2010 3:51:15 AM)
show user profile  Joey Parker Jr.
 photo 2012-sig_small3_zpsbd114b69.png

read 420 times
6/27/2010 3:57:49 AM (last edit: 6/27/2010 3:57:49 AM)
show user profile  Bolteon
well, there's a million reasons why.

most simply, you can imagine that a pixel isn't small enough to give the amount of information needed.

aside, you cant get aliased pixel information from zdepths now without loosing the ability to have 32bit data included.

it would be good if some effort were put behind changing the standard like there was for vector displacement.

-Marko Mandaric

read 417 times
6/27/2010 4:08:43 AM (last edit: 6/27/2010 4:08:43 AM)
show user profile  Joey Parker Jr.
So zdepth is zdepth?

There's no high end fancy 32 bit zdepth?

I did not know that.
 photo 2012-sig_small3_zpsbd114b69.png

read 409 times
6/27/2010 4:22:51 AM (last edit: 6/27/2010 4:22:51 AM)
First page  Go to the previous page   [01]  [02]  Go to the next page  Last page
#Maxforums IRC
Open chat window