From: K. Chugh (chugh++at++buffalo.edu)
Date: 05/24/2001 08:43:53
hi -i want to do some programmatic scene graph manipulation and not use
any visual part of performer. so i basically want to initialize a
loader, load a file, do some analysis on the scene graph then quit. i
want to do this all in a console, no X windows, etc. but the problem
is, that in order to use a loader, i have to call pfConfig, and if i
haven't specified a pfPipe and pfPipeWindow before pfConfig is called,
performer specifies one for me. so i inevitably get X errors. is there
a way to *just* use the loaders and get access to the scene graph using
libpfdu. what i want is something like this:
main()
{
pfNode *node;
pfdInitConverter("iv");
node=pfdLoadFile("something.iv");
Analyze(node);
pfExit();
}
of course, in order to use pfdInitConverter, i have to call pfConfig, in
order to call pfConfig, i have to call pfInit, and pfConfig sets up
pipes and windows automatically. so, can i use the database stuff
independently, or can i tell pfConfig to not set up any windows or
pipes, or can i just initialize the arena and not call pfConfig?
thanks for any help,
kevin
This archive was generated by hypermail 2b29 : Thu May 24 2001 - 08:44:04 PDT