From: Angus Dorbie (dorbie++at++sgi.com)
Date: 06/22/2000 23:48:34
You could traverse the scene graph and adjust the internal format of the
pfTextures in the geostates.
CHeers,Angus.
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
-- For Performer+OpenGL tutorials http://www.dorbie.com/"In the middle of difficulty lies opportunity." --Albert Einstein
This archive was generated by hypermail 2b29 : Thu Jun 22 2000 - 23:48:44 PDT