Re: Performer 2.0 questions

New Message Reply Date view Thread view Subject view Author view

Lance R. Marrou (marrou++at++vsl.ist.ucf.edu)
Thu, 9 Feb 1995 17:44:03 -0500 (EST)


On 9 Feb 1995, Robert Reif wrote:

...
> 2. A function to allow appending textures to a texture list so more than
> one node hierarchy's textures can be loaded.

You can do this quite easily now with the cool pfList functions. Just do
something like this for adding together two node's texture lists:

   list0 = pfuMakeTexList(node0);
   list1 = pfuMakeTexList(node1);
   list = pfNewList(sizeof(pfTexture*), pfGetNum(list0)+pfGetNum(list1),
                     pfGetSharedArena());
   pfCombineLists(list,list0,list1);
   // other ways exist for adding two lists (even without a third list)

That might be the suggested way to do it (since those functions are supported),
but you can check out the function makeTexListAux() in
/usr/src/Performer/src/lib/libpfutil/tex.c. Maybe this function will become
UNstatic and available in 2.0.

> 3. A way to save a node hierarchy to disk for re-reading later, or preferably
> to some of the supported input formats to allow editing. You could then use
> Performer to write a file conversion program.

This would be cool, I agree, but it would hinge upon the owners of the input
format copyright information. If you know the format yourself, there is
usually no infraction on copyright laws for personal use. I find it unlikely
that a company would offer a converter to other formats though (except for
some of the pd formats and SG formats).

______________________________________________________________________________
           /\ ______ /\____ ______ ______ E-mail: marrou++at++vsl.ist.ucf.edu
Visual / / / _ / / __ // ____// ____/ VSL: (407)658-5073
Systems / /__ / /_/ / / / / // /___ / __/_ R. Marrou Fax: (407)658-5059
Lab /____//____/\\/_/ /_//_____//_____/ http://www.vsl.ist.ucf.edu/~marrou
"Reap the whirlwind." "We don't need no thought control."


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

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