Scott McMillan (scott++at++++at++ht.com)
Fri, 11 Oct 1996 10:37:01 -0400 (EDT)
yep a typo...they are actually the same
> You cannot acces to G_cbuf from here, as the Draw process is forked BEFORE
> the Cycle buffer is declared. So the G_cbuf is not initialized for DRAW.
>
> Yes, And I bet G_cycle_buffer is NULL
yes again...I suspected this but why does the morph example work? The cycle
buffer appears to be allocated after the pfConfig?
> To solve this problem, allocate a pointer to a pfCyclebuffer in shared
> memory, before pfConfig. All processes will have a pointeur to a
> (pfCycleBuffer*) in shared memory.
There's another point about my code (and the morph code) that I don't
understand...the pfCycleBuffer _pointer_ is not even in shared memory to
begin with. The only difference between the morph code and mine is that my
G_cbuf is an extern variable. Does this make a difference?
scott
-- Scott McMillan | HT Medical, Inc. | Developing virtual environ- scott++at++ht.com | http://www.ht.com | ment medical and surgical Ph: 301-984-3706 | 6001 Montrose Rd., Ste. 902 | simulations and surgery Fax: 301-984-2104 | Rockville, MD 20852 | simulation creation tools.======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:45 PDT