Re: pfLOD???

New Message Reply Date view Thread view Subject view Author view

Rémi Arnaud (remi++at++remi.asd.sgi.com)
Thu, 22 May 1997 10:14:29 -0700 (PDT)


Amaury Aubel wrote:
>
> Hi,
>
>
> Somewhow I can't get pfNode work correctly with my application.
> I have a separate animation engine (i.e. not reflected in the Performer scene
> tree with DCSs), which is called every frame after pfFrame().
> Consequently when a switch between children occurs at the pfLOD level I also
> have to switch data structures for my animation engine. I wrote a callback
> function for the pfLOD to handle this. This callback is performed Post Cull
> because it seems there's no other time when I could call it.
>
> The problem is that at the frame when the switch occurs it is too late to call
> my animation engine because the data must have already been propagated down the
> pipe to the Draw process and so I have one frame which is a real mess.
>
> Does anyone know how I could avoid this flickering?
>
 Performer provides the pfCycleBuffer that automatically propagate
 the right information to the right stage of the pipeline. You
 can then do modifications in the APP, so the values are synchronized
 with all other computation you do, andd pfCycle buffer will give
 the Cull stage and the Draw stage the right data.

    _ / _ _
|_) _ ._ _ o /\ |_)|\ | /\ | || \
| \(/_| | || /--\| \| \|/--\|_||_/
                                           

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:17 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.