Re: Wireframes

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++multipass.engr.sgi.com)
Wed, 7 Jan 1998 16:23:43 -0800


On Jan 7, 3:30pm, A. Ballard Andrews wrote:
> Subject: Wireframes
> hi Folks,
>
> I am still having a problem with wireframes
> that only exists on my IR, not my RE2.
> For some reason the calls to:
>
> pfOverride (PFSTATE_ENWIREFRAME, PF_OFF);
> pfEnable (PFEN_WIREFRAME);
>
> etc., must be inside the Draw callback but
> don't work inside the main simulation loop
> when the xevents are processed.
>
> Why is this a problem on the IR and not
> the RE2 (both version are OGL)???!!!
>
> Will somebody please HELP
> (this usually gets attention, that
>

Look at complex.c.

The idea is to create an area of memory which
all processes point to simultaneously. Pointers
returned from shared memory allocations are the
same physical memory for all processes BUT you
only have one process which has called malloc.

The trick is to call a shared memory allocation
prior to the fork which is triggered when you
call pfConfig.
You can pass new pointers via this shared memory
later or just allocate everything you need at
the start.

You should also investigate using pfFlux buffers
to support frame sync downstream data passing.

Cheers,Angus.

-- 
"They can't break you if you don't have a spine."
                                      - Wally.

======================================================================= 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:56:32 PDT

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