RE: [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 23:34:17


Thank you for the help.
        
        I have gone thru the example there.
        I'm doing a similar thing as in the example.

        The program does
        not complain of any kind of error, etc. It just
        does not draw the newly loaded tiles.

        One thing to note here is,
        I'm using the same function to load tiles initially
        into the scene graph. That works fine. Updating the
        deleted nodes creates problem somehow. Do you ( / anyone )
        have an idea as to what could possibly be wrong?
        
        Thank you,
        Deepti
        
On Mon, 28 Jun 2004, Dick Rous wrote:

> 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
> > --------------------------------------------------------------
> > ---------
> >
>
> -----------------------------------------------------------------------
> 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
> -----------------------------------------------------------------------
>

-- 
=======================
Your cotton crop has been infected by pesticides
=======================


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Jun 28 2004 - 23:41:17 PDT