Re: How to clear texture memory?

New Message Reply Date view Thread view Subject view Author view

Jean-Claude Bachmann (jean-claude.bachmann++at++artemedia.de)
Wed, 02 Sep 1998 10:50:48 +0200


Yutaka Kanou wrote:

> Hello.
>
> I would like to know how to clear texture memory with Performer APIs.
> I have a model with large amount of textures,
> so I would like to control the usage of texture memory by myself.
>
> Is there any APIs for this?
>
> Thanks in advance.
>
> Yutaka Kanou
> Director of Technology(3D Inc.)
> Director of Technology(Prosolvia/3D Inc. VR Center Yokohama)
> mailto:kanou++at++ddd.co.jp
> http://www.ddd.co.jp/
> http://www.ddd.co.jp/vrc
> Tel:+81-45-682-1051
> Fax:+81-45-682-1050
> Queen's Tower C 17F 2-3-5 Minato-Mirai
> Nishi-ku Yokohama 220-6217 Japan
>
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>
>

Take a look at:

/usr/share/Performer/src/lib/libpfutil/pfuTextureManager.C

and you will get an idea how to do it. But watch out, don't just use the code, we did have
some strange behaviour using the code and completly rewrote it. It is still a good
starting point though.

Regards
J.C.

--

******************************************************************** * Artemedia GmbH | Tel.: +49 [0]30 25443 - 0 * * Jean-Claude Bachmann | Tel.: +49 0172 - 219 13 76 * * Hardenbergplatz 2 | Fax.: +49 [0]30 25443 - 400 * * D-10623 Berlin | email: jean-claude.bachmann++at++artemedia.de * * Germany | Web Page http://www.artemedia.de * ********************************************************************


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Sep 02 1998 - 01:54:25 PDT

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