Transparent texture error

Hi

I have a cube with semi transparent textures round the out side. I have some objects behind it from the camera perspective and I have an object in the cube.

My problem is I can see though both sides of the cube to the background objects but I can’t see the object in the cube. When I move in to the cube by moving the camera I can see the inside cube object and the objects outside the cube through the transparent texture

Can anyone help in working out why an object is not visible through transparent textures?

You probably are not drawing the object inside your cube first, so depth testing fails for the object.

http://www.opengl.org/wiki/Transparency_Sorting