Norman Vine wrote:
Lee Elliott writes:

I think we need to push a patch to the plib developers list that
optionally lets one specify the texture directory when loading a
geometry file, but still default to the geometries own directory.

void ssgLoaderOptions::setTextureDir ( const char *s )
{
  delete [] texture_dir ;
  texture_dir = ulStrDup ( s ) ;
}

It looks like this makes it easy to support different liveries with just a minimal set of changes (actually only the exterior textures should be different) without any changes to plib.


It does require some (fundamental) changes to SimGear though.
I thin I can  take a look at it in the next few days.

Erik

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to