[info-performer] Loading nodes between frames

Date view Thread view Subject view Author view

From: Deepthi Singh (deepthi_singh++at++students.iiit.net)
Date: 06/28/2004 02:56:25


Hello All,

        I have problems loading nodes between frames.

This is my DB Function.

void myDBFunc(void)
{
        static pfBuffer *buf = NULL;
        
        if ( buf == NULL )
                buf = new pfBuffer();
        
        buf->select();
        
        if ( I_need_to_load_tile )
        {
                node = dbLoadFile(myFile,i); // I have written my file
loader here

                ViewState->scene->bufferAddChild(node);
        }
}

        I'm able to delete nodes though. A call to pfDBase at the end of
the function terminates my program. Can you please guide me about this?

        Thanks a lot!
        Deepti

        

-- 


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Jun 28 2004 - 03:03:51 PDT