Re: Onyx2 - O2 - pfGetGSetAttrLists

New Message Reply Date view Thread view Subject view Author view

Brian Furtaw (brian++at++clubfed.sgi.com)
Fri, 28 May 1999 12:21:53 -0400


In order to keep the data you are modifing in the APP frame syncronise you need
to create the coordinate array using a pfFlux there are examples in the pfFlux
man page and /usr/share/Performer/src/pguide/libpf/C++/flux_color.C take a
look.

I can't say for certain why you are getting bus errors on the O2 but you'll
need the flux buffer for any multiprocess mode because Performer maintains
copies of the data for APP, CULL and DRAW.

Brian

On May 28, 4:11pm, Devrim Erdem wrote:
> Subject: Onyx2 - O2 - pfGetGSetAttrLists
> Hi,
>
> I have a pf app where I modify the vertices of a pfGeoSet during the
> simulation.
> I call pfGetGSetAttrLists to get the vertices array and than modify this
> array.
>
> It has been developed on an Onyx2 ( 6.5.3, pfDev2.2 & pfEoe 2.2.4 ). I
> have encountered
> a bus error when I try the run the same executable on an R10000 O2 (
> 6.5.3, pfDev2.2 &
> pfEoe 2.2.4 ). The code is :
>
> pfGeoSet *gs;
> pfVec3 *coords;
> gs = pfGetGSet( geode, 0);
> ushort *dummy = (ushort *) malloc( sizeof( ushort ));
> pfGetGSetAttrLists( gs, PFGS_COORD3, (void**) &coords, dummy );
>
> The stack trace is
>
> 0 pfGeoSet::getAttrLists(int,void**,unsigned short**) const(0x102a5bf8,
> 0x65378e20, 0x0, 0x484b7070, 0x3, 0x65378e20, 0x0, 0x0)
> ["/usr/people/allan/trees/perf2.2.4/perf/lib/libpr/pfGeoSet.C":1529,
> 0x59d6b04]
> 1 ::pfGetGSetAttrLists(0x65360940, 0x65378e20, 0x7fff2b10,
> 0x484b7070, 0x3, 0x65378e20, 0x484b7070, 0x0)
> ["/usr/people/allan/trees/perf2.2.4/perf/lib/libpr/cGeoSet.C":195,
> 0x5a9c348]
> 2 _siTraceTasks(0x102a5bf8, 0x0, 0x0, 0x484b7070, 0x3, 0x65378e20,
> 0x484b7070, 0x0)
> ["/disk2/people/devrim/Projects/VSI/Src/VSIModule/siEntity.c":1153,
> 0x10011574]
> 3 _siUpdateSIEntity(0x65360940, 0x65378e20, 0x7fff2b10, 0x484b7070,
> 0x3, 0x65378e20, 0x484b7070, 0x0)
> ["/disk2/people/devrim/Projects/VSI/Src/VSIModule/siEntity.c":1059,
> 0x100112ac]
>
> Help !
>
> /*===============================================
> M. Devrim Erdem devrim++at++infotron-tr.com
> Chief Engineer
> Simulation & Software Development
> info(+)TRON, Turkey
> http://www.infotron-tr.com
> http://abone.turk.net/mderdem
> ===============================================*/
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Devrim Erdem

-- 
    ----oOOo----    ----oOOo----    ----oOOo----    ----oOOo----

Brian Furtaw (brian++at++sgi.com) Graphics Guru Office:(301)572-3293 Fax: (301)872-3293 12200-G Plum Orchard Drive OpenGL/Performer/OpenInventor/ImageVision Silver Spring, Maryland 20904 Optimizer/React/PCI Device Drivers


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Fri May 28 1999 - 07:47:54 PDT

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