OpenSceneGraph/src/osgPlugins/lwo
2009-02-06 12:15:15 +00:00
..
Block.cpp Replaced tabs with spaces. 2005-11-17 15:03:51 +00:00
Block.h From Marco Jez, updates to the LWO loader. 2004-01-03 15:20:33 +00:00
Clip.cpp Replaced tabs with spaces. 2005-11-17 15:03:51 +00:00
Clip.h From Marco Jez, updates to the LWO loader. 2004-01-03 15:20:33 +00:00
CMakeLists.txt From Eric Wing, "lwo must link to osgFX or undefined symbols ensue." 2007-04-25 09:16:31 +00:00
Converter.cpp From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and 2008-11-07 15:08:08 +00:00
Converter.h From Marco Jez: 2006-01-18 12:13:48 +00:00
COPYING Added a bunch of files synched with 0.8.42 2001-09-19 21:08:56 +00:00
iffparser.h Fixed warnings 2009-01-07 11:24:47 +00:00
Layer.h From Marco Jez, updates to the LWO loader. 2004-01-03 15:20:33 +00:00
lwo2chunks.h From Marco Jez, updates to the LWO loader. 2004-01-03 15:20:33 +00:00
lwo2parser.h Fixed warnings 2009-01-07 11:24:47 +00:00
lwo2read.h Fixed data copy bug 2009-02-06 12:15:15 +00:00
lwo2types.h Warning fixes 2009-02-03 15:28:53 +00:00
Object.cpp Replaced tabs with spaces. 2005-11-17 15:03:51 +00:00
Object.h From Marco Jez, updates to the LWO loader. 2004-01-03 15:20:33 +00:00
old_lw.cpp Fixed warnings 2008-12-18 15:49:44 +00:00
old_lw.h From Marco Jez, updates to the LWO loader. 2004-01-03 15:20:33 +00:00
old_Lwo2.cpp Replaced readImageFile() usage with readRefImageFile() to prevent threading issues with caching of imagery in the osgDB::Registry cache. 2009-01-21 18:23:55 +00:00
old_Lwo2.h Fixed warnings 2008-12-18 15:49:44 +00:00
old_Lwo2Layer.cpp Replaced tabs with spaces. 2005-11-17 15:03:51 +00:00
old_Lwo2Layer.h From Marco Jez, updates to the LWO loader. 2004-01-03 15:20:33 +00:00
Polygon.cpp Replaced tabs with spaces. 2005-11-17 15:03:51 +00:00
Polygon.h From Marco Jez, updates to the LWO loader. 2004-01-03 15:20:33 +00:00
ReaderWriterLWO.cpp Replaced readImageFile() usage with readRefImageFile() to prevent threading issues with caching of imagery in the osgDB::Registry cache. 2009-01-21 18:23:55 +00:00
README Added a bunch of files synched with 0.8.42 2001-09-19 21:08:56 +00:00
README_osg.txt Clean ups for the release. 2003-09-11 09:44:22 +00:00
README.txt From Marco Jez, updates to the LWO loader. 2004-01-03 15:20:33 +00:00
spec_lwob.txt Added a bunch of files synched with 0.8.42 2001-09-19 21:08:56 +00:00
Surface.cpp Replaced readImageFile() usage with readRefImageFile() to prevent threading issues with caching of imagery in the osgDB::Registry cache. 2009-01-21 18:23:55 +00:00
Surface.h From Mario Valle, signed/unsgined warning fix 2008-07-21 21:17:05 +00:00
Tessellator.cpp Replaced tabs with spaces. 2005-11-17 15:03:51 +00:00
Tessellator.h From Marco Jez, updates to the LWO loader. 2004-01-03 15:20:33 +00:00
Unit.cpp Replaced tabs with spaces. 2005-11-17 15:03:51 +00:00
Unit.h From Marco Jez, updates to the LWO loader. 2004-01-03 15:20:33 +00:00
VertexMap.cpp Replaced ref_ptr<>:take with ref_ptr<>:release, and added handling of removeal 2006-06-26 20:45:51 +00:00
VertexMap.h From Marco Jez: 2006-01-18 12:13:48 +00:00

LIGHTWAVE (LWO2) PLUGIN INTRODUCTION
------------------------------------------------------------------------------

  This is the plugin version of my LWO2->OSG converter. It has all the
features (and drawbacks) of the original converter but it doesn't replace
it completely.
  I'm planning to further enhance the stand-alone converter by adding osgNV 
compatibility and I can't do this on the plugin version because I'm not going
to introduce a dependancy to osgNV into OSG.
  There is also a LWS plugin which reads Lightwave scene files; make sure you
only read scene files that point to LWO2 (not LWO1) objects, otherwise you may
experience problems (the LWO1 plugin doesn't convert the coordinate system
correctly).


PLUGIN OPTIONS
------------------------------------------------------------------------------

   USE_OLD_READER           pass control to the old LWO/LWO2 reader plugin
                            (all other options ignored)

   FORCE_ARB_COMPRESSION    create compressed textures
   
   USE_OSGFX                use osgFX effects to improve visual appearance
   
   NO_LIGHTMODEL_ATTRIBUTE  prevent the plugin from creating a LightModel
                            state attribute; using this option may result in
                            visual artifacts

   MAX_TEXTURE_UNITS <n>    set the maximum number of texture units to be
                            used when creating multi-textured surfaces


NOTES
------------------------------------------------------------------------------

  NOTE_1: this plugin works fine in reading LWO2 files but it's not well 
optimized,so you can expect slowness and large memory usage.

  NOTE_2: the LWS (scene) support is a quick-and-dirty work, it's there 
only because I needed it. Do not pretend too much from it, at least until
I improve it somehow.

  NOTE_3: the osgFX support is still limited, only osgFX::SpecularHighlights
is used to improve the specularity effects on materials that have a specular
component. Future enhancements will allow osgFX to be used more widely to 
give a better visual matching between the original LWO2 model and OSG.


  Marco Jez <marco.jez@poste.it>
  January 2004