From: Marcin Romaszewicz (marcin++at++asmodean.engr.sgi.com)
Date: 05/24/2001 10:06:19
pfconv does just that. The source code should be installed in
/usr/share/Performer/src/conv
-- Marcin
On Thu, 24 May 2001, K. Chugh wrote:
>
> 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
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>
This archive was generated by hypermail 2b29 : Thu May 24 2001 - 10:06:23 PDT