Hi Roland, The many many changes now merged and submitted to svn/trunk... We'll need to do call to osg-users to test given the large number of changes. Could you instigate a thread on osg-users?
I'm just merging osgsidebyside. Robert. On Fri, Nov 21, 2008 at 11:08 AM, Smeenk, R.J.M. (Roland) <[EMAIL PROTECTED]> wrote: > Hello all, > > attached you will find an update for the Collada plugin and an example > program called osgsidebyside that I used for testing the dae plugin. > > Overview of the Collada/dae plugin changes > > New features > +Read and write of osg::LOD, osg::Switch, osgSim::Sequence, > osgim::MultiSwitch and osgSim::DOFTransform data in <extra> > +Read and write of osg::Node description data in <extra> > +Plugin option "NoExtras" to prevent writing of <extra> data and only > traverse the active children when saving > > Changes/additions > +instanced_geometry and instanced_controller are now loaded in a single > Geode with multiple Geometries instead of multiple geodes with a single > Geometry > +Changed all calls to the deprecated createAndPlace() to the new add() > methods > +All transformation elements <scale>, <rotate>, <translate>, <lookat>, > <matrix>, <skew> are now concatenated properly in to a single > MatrixTransform. > Previously this was not done in order as required by Collada and and not > all elements were included. > +Complete skew matrix creation > +Automatically add GL_RESCALE_NORMAL if scale is non-identity > +Blinn shininess remapping to [0,128] when in range [0,1] > +Changes to CMake file to make it compile on Windows > +Coding style and code documentation > > Bug fixes > +Transparent texture writing fixed > +Fixed bug in using osg node name as collada node ID > +Fixed usage of double sided faces in GOOGLEEARTH extra > +Not adding blendfunc and blendcolor when opaque > > TODO/Wishlist > -solve differences in drawables, DAE reader should place multiple collation > elements into multiple primitivesets in a single geometry where possible > (only when same material) > -solve differences in matrices > -multitexture support > -skinned mesh and generic animations using osgAnimation > -profile_GLSL based on COLLADA OpenGL Effects Viewer > http://ati.amd.com/developer/rendermonkey/downloads.html > -handling more <extra> to more closely mimic the intended lighting > > ******************** > > osgsidebyside > > This application can be used for testing plugins that can both read and > write a certain file format. It will display the original file next to the > written and reread file. > > Example: > osgsidebyside -o cow.dae cow.osg > > This example will read cow.osg, write cow.dae, read cow.dae and display > cow.osg on the left side and cow.dae on the right side of the view. > > Possible interactions: > KEY_UP Speedup DOF animation > KEY_DOWN SlowDown DOF animation > KEY_RIGHT Toggle all MultiSwitches > > Screenshots: > > sidebyside1.png > An OpenFlight model with animating rotors (Sequence) that are double-sided > and use a transparent image. > Gun is animated with a DOFTransform. Damage state is switchable with a > MultiSwitch. > > sidebyside2.png > F40 from example files as downloaded from ColladaLoader_binary_1_1.zip at > http://sourceforge.net/project/showfiles.php?group_id=197616&package_id=234023&release_id=588570 > > sidebyside3.png > T72 Openflight model from the tutorials > http://www.openscenegraph.org/osgwiki/uploads/Tutorials/NPS_Tutorials.zip > Switched to damage state. > > More Collada DAE models > Test Model Bank https://collada.org/owl/ > Google 3D warehouse http://sketchup.google.com/3dwarehouse/ (rename the kmz > to zip and unzip to find the dae models) > > Of course you may also Google for data, but be aware that there's also a lot > of invalid Collada files available on the web. > I run all models against the coherency checker before using them as a test > model. (the F40 crashes the coherency check however) > > -- > kind regards, > > Roland Smeenk > > This e-mail and its contents are subject to the DISCLAIMER at > http://www.tno.nl/disclaimer/email.html > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
