new IndexMode[] { IndexMode.LineLoop, IndexMode.LineLoop, IndexMode.Lines, IndexMode.Lines });
lineFrustum.getMeshData().setIndexLengths(new int[] { 4, 4, 8, 8 });
lineFrustum.setLineWidth(2);
lineFrustum.getSceneHints().setLightCombineMode(LightCombineMode.Off);
final BlendState lineBlendState = new BlendState();
lineBlendState.setEnabled(true);
lineBlendState.setBlendEnabled(true);
lineBlendState.setTestEnabled(true);
lineBlendState.setSourceFunction(BlendState.SourceFunction.SourceAlpha);
lineBlendState.setDestinationFunction(BlendState.DestinationFunction.OneMinusSourceAlpha);
lineFrustum.setRenderState(lineBlendState);
final ZBufferState zstate = new ZBufferState();
lineFrustum.setRenderState(zstate);
lineFrustum.updateGeometricState(0.0);