Esempio n. 1
0
void CConfigGeneral::load(CConfigManager &ConfMan)
{
	loadOutput(ConfMan.GetSection(_T("Output")));
	loadLogView(ConfMan.GetSection(_T("LogView")));
	loadFiler(ConfMan.GetSection(_T("Filer")));
	loadGeneral(ConfMan.GetSection(_T("General")));
}
Esempio n. 2
0
bool WorkingBuffers::loadTempImages(int level, int frame, int pass)
{
    if (!_is_initialized)
        initialize();

    // Zero out everything
    clearHistory();
    offsets.reset();
    residualCache.reset();
    canvasOutputCache.reset();
    //canvasInputCache.reset();
    canvasVelFCache.reset();
    canvasVelBCache.reset();
    distTransCache.reset();
    offsetsHistogram.reset();

    advectedF.reset();
    advectedB.reset();

    // Load the buffers that we save to disk.
    if (!loadOutput(level, frame, pass))
        return false;
    loadOffsets(level, frame, pass);
    loadResidual(level, frame, pass);

    _current_level = level;

    return true;
}