[PD] (GEM) Getting the z-buffer value of a pixel in a rendered image

Mathieu Bouchard matju at artengine.ca
Wed Jun 15 23:09:54 CEST 2011

On Fri, 10 Jun 2011, Matteo Sisti Sette wrote:

> Is there a way in GEM to take a snapshot of a rendered scene (such as 
> with pix_snap) and save the z-buffer information, for example saving it 
> as an extra channel? (e.g. have the z value saved as the alpha channel)? 
> I'm interested in getting an image of the scene as it would appear if it 
> was captured by a depth sensor like a Kinect...

How many bits do you expect the z-buffer to be, and how can that possibly 
fit in any GEM pix structure ?

AFAIK, only GridFlow, PDP and iemmatrix are equipped to handle that data.

| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC

More information about the Pd-list mailing list