Re: pfLoadMatrix, pfScale

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Mon, 16 Jan 95 21:57:37 -0800


pfScale and pfLoadMatrix are both Performer wrappers around the
similar GL routines. These functions either touch the graphics
hardware directly or are put into a pfDispList, if one is active in
the current process.

The best place to call routines such as these is in the channel DRAW
callback or in a node DRAW callback. Because the current
implementation of Performer uses a pfDispList to communicate between
the CULL and DRAW when multiprocessing, you can also make such calls
in CULL callbacks, but doing it in the draw is safer. Calling
routines like these in the APP or ISECT process is a quick way to
dump core.

However, what are you trying to accomplish? The simplest way to
include matrix ops in the scene graph is with a pfDCS or by changing
the channel view matrix.

rgds,

-jim helman

jimh++at++surreal.asd.sgi.com
415/390-1151


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:52 PDT

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