loading inventor files

New Message Reply Date view Thread view Subject view Author view

From: Marc Price (marcp++at++rd.bbc.co.uk)
Date: 06/22/2000 07:36:52


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


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Jun 22 2000 - 07:38:27 PDT

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