We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
screenZ (Read 398 times)
screenZ
Jun 4th, 2008, 9:50pm
 
I am working on pretty advanced data visualization of links between websites (link to old version below):

http://www.searchengine-analysis.com/seo-tool/pyr3/

I am now working on adding the possibility to click in the 3D image. My idea seems to work. But I do not understand the screenZ() function. What is the Z value on a two-dimensional screen?

drasko
Re: screenZ
Reply #1 - Jun 4th, 2008, 10:14pm
 
screenZ returns the z-buffer value of the pixel. The z-buffer is used so that when drawing things in 3D items behind others don't get drawn to screen.
Re: screenZ
Reply #2 - Jun 5th, 2008, 1:07am
 
Ok, that makes sense.

regards
drasko
Page Index Toggle Pages: 1