From: Tomlinson, Gordon (GORDON.TOMLINSON++at++ca.com)
Date: 10/02/2000 06:00:31
Hi Hans
One test in the draw should not really hurt
But you could but a draw call back on the scene
node then after it has been called you can have
the function remove its self.
G.
-----Original Message-----
From: Hans Peter Palboel [mailto:proj53++at++imm.dtu.dk]
Sent: Monday, October 02, 2000 4:43 AM
To: info-performer++at++sgi.com
Subject: Multiprocess init
Hi
I've run into a problem with my Performer app. It was developed and run
on uniprocessor machines, but now I need it to run on (and utilize)
multiprocessor machines.
The problem is that when the DRAW process is forked my OpenGL
initialization is performed in the APP process. Ok, so I need to do the
init once and in the DRAW process. A search of the archives suggested
the pipewindow init callback, but that is not working (and wouldn't that
do the init for each pipewindow?).
I could call my init functions on the first draw traversal, but that
would add a test for each frame to render.
So where and how should I call the OpenGL init funcs.
Regards,
Hans
-----------------------------------------------------------------------
List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
Gordon.
_________________________________________________________________
Gordon Tomlinson
Senior Software Engineer
Visualization Engineering
MultiGen-Paradigm Inc
"a Computer Associates Company"
Suite 400, 14900 Landmark Blvd Dallas Texas 75240 USA
Tel: 972 960 2301 ext 309 Fax: 972 960 9049
Email: gordon.tomlinson++at++cai.com <mailto:gordon.tomlinson++at++cai.com>
______________________________________________________________
'Smoke me a kipper, I'll be back before breakfast'
__________________________________________________________________
NOTE:
All opinions here within this email are solely mine and DO NOT
reflect those of Computer Associate CA or any other employee.
This archive was generated by hypermail 2b29 : Mon Oct 02 2000 - 06:00:18 PDT