Re: Altering Geometry

New Message Reply Date view Thread view Subject view Author view

AnitaKishore (kishore++at++electrogig.com)
Tue, 7 Nov 1995 21:51:10 -0800


> Given that Performer operates best of staic geometry data, has anyone else
> tried to alter the geometry of a scene on the fly? I've seen systems that
> alter vertices of geosets in order to produce dynamic terrain, fluid, etc.
> that work produce relatively fast response. Unfortunately, for my
> application, this approach doesn't work. I am required to generate all of
> the geosets, etc. for the new geometry each time a change is necessary.
>
> Now that I've rambled on, does anyone have any experience with generating
> and swapping new geometry into the Performer tree? I'm mostly interested
> in any tricks to help increase the speed of response. We have a GL based
> test program which only takes about a second to update where the Performer
> based program requires nearly five seconds to change the geometry on the
> same machine.

I have done this kind of thing using Performer2.0 Beta version. This provides
a separate process called DBASE which is meant to be used for changing the
scene graph dynamically. This process is used together with the pfBuffer
mechanism also available with 2.0. I have successfully deleted and added
new scenes using the inventor loader (so far on a small scale). The DBASE
process does the work for you while the APP remains unaffected, and then in
the end using the merge API, the DBASE buffer is merged with the APP buffer.

        I guess you can also do this in Performer1.2. But the work will be
done by the APP process which will visually affect the performance. Or you
could fork off your own process for handling the changes just like DBASE, in
which case YOU have to take care of all inter-process headaches.

-anita


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:52:01 PDT

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