Angus Dorbie (dorbie++at++sgi.com)
Fri, 05 Feb 1999 10:07:23 -0800
didn't cc info-performer on my reply.
for everyoones benefit the problem is probably with the non MP friendly
creation of the image pointer array and the image array itself:
Picture[Shared->showL]
It's a little unusual since there are two allocations and assignments
you need to watch in this case but in both cases you need to create and
assign the data before the call to pfConfig OR create in shared memory
and assign the data after pfConfig. Since Picture is probably a global
off the stack judging by the way it's addressed as an array (can't be
sure) then it must be assigned the image pointers before the pfConfig
call which means they in turn must be allocated before the config. If
you want to write the image data to them after the call to pfConfig
that's fine but you must then create the images from the shared arena so
the draw can see the new data.
There are other ways you could fix this but they revolve around the same
principals.
Cheers,Angus.
Sibylle Steck wrote:
>
> Hi pfAll,
>
> I have a problem with writing pixels of an image to the frame buffer. In the
> single process mode I can see the picture (which is draw with glDrawPixels) and
> also a message (which is draw with pfuDrawMessage). In the multiprocess mode I
> see only the message and the pictures is only a black hole.
>
> Any help would be appreciated,
> thanks for your time.
>
> Greetings
> Sibylle Steck
>
> P.S.: I have my DrawChannel function attached
>
-- "Only the mediocre are always at their best." -- Jean GiraudouxFor advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/
This archive was generated by hypermail 2.0b2 on Fri Feb 05 1999 - 10:07:28 PST