Re: callback functions

New Message Reply Date view Thread view Subject view Author view

Michael Jones (mtj++at++babar)
Sat, 13 Nov 1993 10:27:20 -0800


--------------------------------------------------------------------
I am sorry to do just that which I was asking "kotto" not to do, but
his mailer rejected my private email. I mean no harshness here, just
trying to encourage proper network etiquette.
--------------------------------------------------------------------

On Nov 13, 3:59pm, kotto++at++caeg.rmi.de wrote:
> Subject: callback functions
:Working with a Performer 1.2 beta version we noticed that ...

Please do not use the info-performer mailing list for beta-related
questions. There is a special mail address for these questions--it
is provided in the "ReadMe1.2" file in /usr/src/Performer--and we
ask that all beta-test sites use it.

Asking beta-questions in the other list is not a productive use of
the time of the many IRIS Performer developers not participating in
the beta program.

Thank you.

Now, about your question...(It is of general interest)...

:Working with a Performer 1.2 beta version we noticed that for example
:pfGetNodeBBox or pfSetSwitchVal for a pfDCS or pfGroup is not allowed
:in a callback procedure anymore (neither Cull nor Draw, it was allowed
:in 1.1).
:
:We get the message:
:Performer Warning: cannot access this object from this process.
: Object type is pfDCS, id is ... , process id is ...
:
:Is this a bug or implemented on purpose.
:
:Only with PFMP_APPCULLDRAW it is possible to call those functions.

You must not call node functions in the draw process, because the nodes
are gone at stage and only geostates and geosets remain. Likewise, you
must call graphics functions such as gl from the draw process because it
has the graphics context.

When you run in PFMP_APPCULLDRAW mode--singe process--these restrictions
are removed since it's "all" there in the same process context. It is
best to honor the process restrictions by verifying that your program
will run in PPMP_APP_CULL_DRAW mode even if you have a single-cpu system
because one day you may want to run that application on a multiple-CPU
system.

IRIS Performer provides the Indy->Onyx portability at full preformance
IFF you abide by the process guidelines above and as detailed in the
Programming Guide.

-- 

Be seeing you, mtj++at++sgi.com 415.390.1455 M/S 7L-590 Michael Jones Silicon Graphics, Advanced Graphics Division 2011 N. Shoreline Blvd., Mtn. View, CA 94039-7311


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:50:06 PDT

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