Re: Drawing bins in multiple channels

New Message Reply Date view Thread view Subject view Author view

From: Ran Yakir (rany++at++rtset.co.il)
Date: 05/09/2000 01:26:47


Actually, the flt loader does share states between files. It is not sharing
GeoStates, but it does share materials, textures, etc. pfdMakeShared does a
more agressive sharing after loading. The way to overcome the sharing in the
loader level is:

After loading every model call:

    fltFreeSharedPalette( fltGetCurSharedPalette() );

The prototypes for those functions is in
/usr/include/Performer/pfdb/pfflt.h

The downside of this technique is that you have to link your executable with
libpfflt.so, which defeats the dynamic file loader idea.

Ran

Marcin Romaszewicz wrote:

> Hi Scott,
>
> This is happening in perfly, right? The functions that make identical
> attributes shared are pfdMakeShared and pfdMakeSharedScene. You can
> comment these out in perfly.c and you'll no longer see this sharing.
>
> -- Marcin
>
> On Mon, 8 May 2000, Scott Herod wrote:
>
> > Hello again,
> >
> > > Also, an unrelated question, is it possible to not draw the alpha
> > > component of an opaque object. I'm experimenting with DST* blending
> > > and don't want the object I draw to mess up my preset alpha plane
> > > values.
> >
> > I know it's poor taste to answer your own question, but the answer
> > to this one is "glColorMask".
> >
> > I do have another question about the .flt loader. It seems that if
> > I load two .flt models, specifically klingon.flt and enterprise.flt,
> > the model loader shares a geostate between them. Is it possible to
> > turn that off? Otherwise, I suppose I can clone the geostate and
> > switch one of them.
> >
> > Scott
> > --
> > RT-SET Broadcast Graphics Division Voice : 303-465-1556 x122
> > 100 Technology Drive, Suite 100 FAX : 303-465-2012
> > Broomfield, CO 80021 USA Email : herod++at++rtset.com
> > -----------------------------------------------------------------------
> > List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> > Submissions: info-performer++at++sgi.com
> > Admin. requests: info-performer-request++at++sgi.com
> >
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

--
 __                                  | Ran Yakir
 /_)  _  __   \  / _   / o __        | RT-SET Ltd.
/ )_ (_(_) )   \/ (_(_/<_(_)(        |
              _/                     |
-------------------------------------+--------------------------------
Phone :                              | E-mail : rany++at++rtset.com
  Work : 972-9-9552236  Ext #118     |          rany++at++netvision.net.il
  Res. : 972-9-7489974               |
  Cell.: 972-58-713040               |
Fax    : 972-9-9552239               |

http://rtset.co.il/rany


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue May 09 2000 - 00:22:08 PDT

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