Hello

  Art non-programming related

Osg - ive files

  Setup 5 tiled textures used as diffuse colors  = 200k
        1 large texture used to lightmap scene   = 1meg

Problem
  Ive file contains imbedded lightmap for each use with diffuse
resulting in large file.

  Osg format has each diffuse with same lightmap listed as texture
units.  Much smaller as only one copy of lightmap needs to be saved in
'images' folder.

  However on loading of .osg the lightmap appears to be recopied into
memory each time it is read in the .osg file, so large amounts of ram
still needed on copies of the same bitmap data.

Question?
  How can osg simply reference a texture already in memory, so after the
first loading of the lightmap other textures using it do not reload but
simply reference the already loaded texture.

Thank you   Mr. D

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to