Please HELP ME!!!!!!!
I have got a scene from a *.obj file.
This is the code of it:
ObjectFile f=new ObjectFile(flags,
s = f.load(filename); //load a .obj file
} catch (FileNotFoundException e)
objTrans.addChild(s.getSceneGroup());//add scene to BranchGroup
Can I get the depthComponent(z-Buffer) of this scene?
By the way,I have got the depthComponent in the function of postSwap().But it looks like no use for me.Can I get the depthComponent in an another way???
Please help me.This puzzled me for a long time.