From: Christian Skluzacek (csklu_fs++at++yahoo.com)
Date: 05/27/2002 03:36:51
Hi,
Is there any way to write directly to the depth buffer
(i.e. set during glWriteBuffer() and then
glCopyPixels())? I have a background photo with trees
and also distance information to the trees (the viewer
remains at the same location but just looks around)
and I want the trees to occlude objects in the scene.
I thought I read a while back about someone reading
from the depth buffer, but how do you write to it?
Regards,
Chris
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
This archive was generated by hypermail 2b29 : Mon May 27 2002 - 03:37:15 PDT