Bengt Gustafsson ff1e14bf44 Changed handling of collada meshes with multiple instances so that the prim.Asset values are the same in all Prims, while the difference in rotation, position and scale deduced from the Collada instance transform matrix are stored in the Position, Scale and Rotation members of each prim, properly adjusted for the rescaling and offseting done to the mesh vertices to fit into the unit cube of SL meshes.
This fixes bugs related to the case that several instances of the same mesh but with different rotation in their transformation matrix was present in the Collada file, which previously caused distorted objects except for those having the same rotation as the first instance.

A caveat is that now, as the incoming transform matrix is not used when creating the vertices and as the ModelPrim only stores rotation, scale and translation files which have transforms containing shear etc. not encodable by these three vectors will produce erroneous output even if there is only one instance of each mesh.

At the same time save some time and space during conversion by sharing the Positions and Faces members of all prims and not redoing the AddPositions and AddFacesFromPolyList calls for each instace (as results are identical). Applications that change the vertices or faces in situ in individual prim instances may suffer.
2016-12-29 18:29:22 +01:00
2015-06-11 00:21:24 +02:00
2013-12-01 15:05:43 +01:00
2013-11-06 17:16:46 +01:00

libOpenMetaverse Library Quick Start


Finding Help
------------

If you need any help we have a couple of resources, the primary one being 
the #libomv-dev IRC channel on Freenode. There is also the libomv-dev mailing list 
at http://groups.google.com/group/libomv-dev. You can find us 
in-world via the open invitation libsecondlife group.

Source Code:
   To checkout a copy of libopenmv trunk
   git clone https://github.com/openmetaversefoundation/libopenmetaverse.git libopenmetaverse

For more details see: 
   http://lib.openmetaverse.co/wiki/Download#Development
   http://lib.openmetaverse.co/wiki/Getting_Started

Getting started on Windows
====================================================================================


Prerequisites (all Freely Available)
--------------------------------------

Microsoft .NET Framework 3.5 - Get directly from Windows Update.
Visual C# Express - http://msdn.microsoft.com/vstudio/express/visualcsharp/

Optional-
nAnt (0.86) - http://nant.sourceforge.net/
nUnit Framework (2.2.8 or greater) - http://www.nunit.org/


Compiling
---------
For Visual Studio 2008/Visual C# Express 2008
1. Open Explorer and browse to the directory you extracted the source distribution to
2. Double click the runprebuild2008.bat file, this will create the necessary solution and project files
3. open the solution OpenMetaverse.sln from within Visual Studio
4. From the Build Menu choose Build Solution (or press the F6 Key)

The library, example applications and tools will be in the bin directory

For Visual Studio 2010:
1. Open Explorer and browse to the directory you extracted the source distribution to
2. Double click the runprebuild2010.bat file, this will create the necessary solution and project files
3. open the solution OpenMetaverse.sln from within Visual Studio
4. From the Build Menu choose Build Solution (or press the F6 Key)

The library, example applications and tools will be in the bin directory

For more details http://lib.openmetaverse.co/wiki/Getting_Started


Getting started on Linux
====================================================================================

Prerequisites Needed
--------------------

mono 2.4 - http://www.mono-project.com/

Optional-
nUnit Framework (2.2.8 or greater) - http://www.nunit.org/
nAnt (0.86) - http://nant.sourceforge.net/

Compiling
---------

Using nant:
1. Change to the directory you extracted the source distribution to
2. run the prebuild file: % sh runprebuild.sh nant - This will generate the required nant build files and run
   nant with the correct buildfile parameter to build the library, examples and tools

Using mono xbuild:
1. Change to the directory you extracted the source distribution to
2. run the prebuild file: % sh runprebuild.sh - This will generate the solution files for xbuild
3. Compile the solution with the command: % xbuild OpenMetaverse.sln

The library, example applications and tools will be in the bin directory

For more details http://lib.openmetaverse.co/wiki/Getting_Started


Happy fiddling,
-- OpenMetaverse Ninjas 

Description
A fork of the libopenmetaverse library striving for performance improvements and up-to-date compatibility with Second Life and OpenSimulator (such as it is)
Readme 50 MiB
Languages
C# 97.3%
omnetpp-msg 2.7%