public void RenderBoxGreyScaleTexture3DOnly( DeviceContext deviceContext, Vector3 p1, Vector3 p2, Vector3 t1, Vector3 t2, ShaderResourceView texture, Camera camera )
{
var pBase1 = new Vector3( p1.X, p1.Y, p1.Z );
var pBase2 = new Vector3( p1.X, p1.Y, p2.Z );
var pBase3 = new Vector3( p2.X, p1.Y, p2.Z );
var pBase4 = new Vector3( p2.X, p1.Y, p1.Z );
var pLid1 = new Vector3( p1.X, p2.Y, p1.Z );
var pLid2 = new Vector3( p1.X, p2.Y, p2.Z );
var pLid3 = new Vector3( p2.X, p2.Y, p2.Z );
var pLid4 = new Vector3( p2.X, p2.Y, p1.Z );
var tBase1 = new Vector3( t1.X, t1.Y, t1.Z );
var tBase2 = new Vector3( t1.X, t1.Y, t2.Z );
var tBase3 = new Vector3( t2.X, t1.Y, t2.Z );
var tBase4 = new Vector3( t2.X, t1.Y, t1.Z );
var tLid1 = new Vector3( t1.X, t2.Y, t1.Z );
var tLid2 = new Vector3( t1.X, t2.Y, t2.Z );
var tLid3 = new Vector3( t2.X, t2.Y, t2.Z );
var tLid4 = new Vector3( t2.X, t2.Y, t1.Z );
RenderQuadGreyScaleTexture3DOnly( deviceContext, pBase1, pBase2, pBase3, pBase4, tBase1, tBase2, tBase3, tBase4, texture, camera );
RenderQuadGreyScaleTexture3DOnly( deviceContext, pLid1, pLid2, pLid3, pLid4, tLid1, tLid2, tLid3, tLid4, texture, camera );
RenderQuadGreyScaleTexture3DOnly( deviceContext, pBase1, pBase2, pLid2, pLid1, tBase1, tBase2, tLid2, tLid1, texture, camera );
RenderQuadGreyScaleTexture3DOnly( deviceContext, pBase2, pBase3, pLid3, pLid2, tBase2, tBase3, tLid3, tLid2, texture, camera );
RenderQuadGreyScaleTexture3DOnly( deviceContext, pBase3, pBase4, pLid4, pLid3, tBase3, tBase4, tLid4, tLid3, texture, camera );
RenderQuadGreyScaleTexture3DOnly( deviceContext, pBase4, pBase1, pLid1, pLid4, tBase4, tBase1, tLid1, tLid4, texture, camera );
}