case KEY_AMBIENT_NODE:
case KEY_AMB_LI_INFO:
    private void readKeyframes(int length) throws IOException {        if (DEBUG_LIGHT) System.out.println("Reading Keyframes");        while (length>0){            ChunkHeader i=readChunk();            i.length-=6;            length-=6;            if (DEBUG) System.out.println("Read in keyframer ID:" + Integer.toHexString(i.type) + "* with known length " + i.length);            switch (i.type){                case KEYFRAME_HEAD:                    readKeyframeHeader();                    break;                case KEYFRAME_OBJ:                    readKeyframeObj(i.length);                    break;                case KEY_SEGMENT:                    readSegment();                    break;                case KEY_CURTIME:                    readCurTime();                    break;                case VIEWPORT_LAYOUT:                    readViewLayout(i.length);                    break;                case CAMERA_TARG_INF_TAG:                    readCamTargetInfoTag(i.length);                    break;                case CAMERA_INFO_TAG:                    readCamInfoTag(i.length);                    break;                case KEY_OMNI_LI_INFO:                    readOmniLightKeyframeInfo(i.length);                    break;                case KEY_AMBIENT_NODE:                    readAmbientNodeKeyframeInfo(i.length);                    break;                case KEY_SPOT_TARGET:                    readSpotLightTarget(i.length);                    break;                case KEY_SPOT_INFO:                    readKeySpotLightInfo(i.length);                    break;                default:                    if (DEBUG) System.out.println("Unknown type***:" + Integer.toHexString(i.type) + "***");                    if (DEBUG_SEVERE) throw new IOException("Unknown type:" + Integer.toHexString(i.type) + ": in readKeyframes");                    return;            }            length-=i.length;            if (DEBUG) System.out.println("length left in readKeyframes:" + length);        }    }