#IPAS – Z-Buffer
I've just started using the 3DS IPAS toolkit. I am attempting to write an IPAS
routine that will extract Z buffer information on a frame by frame basis from
an animation. The only IPAS hook I can see would allow me to do this is he AXP
hook. However this only gives me access to the currently selected object. and
each of the objects including the camera appears to have it's own set of
normalised coordinates.
The only way I can see to approach this is to effectively render the seen into
a depth buffer, Only being able to access one object prevents me from doing
this. I could link all of the objects in a scene, but this limits me to 65500
vertices, The image currently has 200000+ vertices and is expected to contain
more.
The Z buffer information is the crux of a new system we are currently working
on, any help you can give would be much appreciated.
Can anyone suggest a possible solution to this problem?
Rob@Westwood Studios