From: Brian Furtaw (brian++at++sgi.com)
Date: 06/22/2000 08:18:43
The source for the loader is in
/usr/share/Performer/src/lib/libpfdb/libpfiv/.
Brian
Marc Price wrote:
>
> I've been coding a Performer-based application in which I'd
> like to load a scene-graph from files in inventor format.
> A problem I've noticed is that the standard inventor loader
> loads textures at 16bit, irrespective of the the desired
> `texture quality'. Some of the textures I would like to
> load at full 24bit, but there does not seem to be a way
> of doing this.
>
> With Inventor, the`complexity' node allows you to specify
> the texture colour map with the `textureQuality' field.
> However, Open Inventor does not provide a callback function
> to access this particular field of a complexity node, even
> though callbacks are provided for the other two fields.
> Hence, colour map is fixed at the IRIS Performer default
> value (16bit).
>
> Does anyone know of a way around this? Perhaps I could
> mod the loader in some way so that it somehow accesses the
> textureQuality fields of complexity nodes? However, without
> the callback function, I'm unsure how to do it. Any ideas?
>
> TIA
> Marc
> Dr Marc Price
> ------------------------------------------------------------------------
> BBC R&D Dept., Tel: +44 (0)1737 839789
> Kingswood Warren, email: Marc.Price++at++rd.bbc.co.uk
> Tadworth, Fax: +44 (0)1737 839665
> Surrey KT20 6NP
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
--
----oOOo---- ----oOOo---- ----oOOo---- ----oOOo----
Brian Furtaw (brian++at++sgi.com)
Graphics Guru Office:(301)572-3293 Fax: (603)250-0370
12200-G Plum Orchard Drive OpenGL/Performer/OpenInventor/ImageVision
Silver Spring, Maryland 20904 Volumizer/Optimizer/React/PCI Device
Drivers
This archive was generated by hypermail 2b29 : Thu Jun 22 2000 - 08:21:16 PDT