From: Dick Rous (dick++at++sgi.com)
Date: 06/28/2004 06:42:01
Look at the dbase example in /usr/share/Performer/src/pguide/libpf/C/page.c
and
page_delete.c.
It presents the basic functionality to implement dbase paging.
Dick.
> -----Original Message-----
> From: owner-info-performer++at++performer.engr.sgi.com
> [mailto:owner-info-performer++at++performer.engr.sgi.com]On Behalf
> Of Deepthi
> Singh
> Sent: Monday, 28 June, 2004 11:56
> To: info-performer++at++sgi.com
> Subject: [info-performer] Loading nodes between frames
>
>
>
> 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
>
>
> --
>
> --------------------------------------------------------------
> ---------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> --------------------------------------------------------------
> ---------
>
This archive was generated by hypermail 2b29 : Mon Jun 28 2004 - 06:43:03 PDT