Graphics.IGLloader - lordmundi/wikidoctest GitHub Wiki

Using the IGL loader plugin

() Warning:** Make sure you have run doug at lease once and exited gracefully with the autosave information stated below BEFORE adding the IGL loader. This makes sure you have a model cache that contains everything except the models to be loaded by the IGL plugin written to disk (usually saved to model_16.update). Then, continue on with this procedure. Otherwise, the IGL loader will try to load other models that are in DOUG's native format and will crash.

  • To use the IGL loader, make sure you have the following files (you can get them from David Shores in the IGOAL if you don't have them):

    lib_Linux_FC3/libIGL12.1.so lib_Linux_FC3/libShaders12.1.so lib_Linux_FC3/libToolKit12.1.so lib_Linux_FC3/libXm.so.3 ()* lib_Linux_FC3/libXp.so.6 (****) models/ plugin_Linux_FC3/dsp_IGL.so

(*|)** This file wasn't included with my delivery, but I copied it from a Fedora Core 3 machine to make it work. If you want the one I used, you can get it here

(***|*) Bah!! Another file that was missing. The one from FC3 can be downloaded here

  • In your config file, find the plugin section. There is likely two loader plugins named "dsp_hslloader" and "dsp_ssmloader". Copty and paste these two lines and change the source for these to be dsp_IGL commenting out the originals. For example, it should look as follows:

    #loader.hsl dsp_hslloader #loader.ssm dsp_ssmloader loader.hsl dsp_IGL loader.ssm dsp_IGL

  • Make sure you have the cache set to autosave. Check your config files for the following lines:

    autosave ON autoupdate ON autocompress ON

  • Add your model files into the scene. So far, I have only done this via config file. However, it should also be possible to use additional .str files as well. If anyone does this or knows how to do this, please edit this page and document how to do this!

  • Run DOUG. Your models should load up using the IGL plugin. If you solve any problems beyond these instructions, please post them here.

  • Verify your models have loaded. Close DOUG gracefully. This should update the model cache.

  • Revert the plugin lines. It should now look like the following:

    loader.hsl dsp_hslloader loader.ssm dsp_ssmloader #loader.hsl dsp_IGL #loader.ssm dsp_IGL

  • Run DOUG and verify that your new models are still there.