Commit Graph

9 Commits

Author SHA1 Message Date
Latif Khalifa
f2d2d6b29d Mesh upload: moved collada library into it's own namespace 2014-06-27 22:48:28 +02:00
Latif Khalifa
9043124aaf Mesh upload: request inventory fetching of the newly created item 2014-06-27 15:41:47 +02:00
Latif Khalifa
9262308529 Mesh upload: added image upload along with the models 2014-06-27 15:08:24 +02:00
Latif Khalifa
0a323d39a9 Added support for quads in meshes, fixed normals 2014-06-27 11:32:29 +02:00
Latif Khalifa
38447ea215 Speedup generation of indices 2014-06-27 11:18:31 +02:00
Latif Khalifa
49ad7e627a Documented ModelUploader, added ability to just do price check 2014-06-27 09:01:47 +02:00
Latif Khalifa
d2f63290f7 Added license stub 2014-06-27 08:23:40 +02:00
Latif Khalifa
2e306450c7 Collada parser and model uploader. Work in progress.
Sample code:

            var parser = new OpenMetaverse.ImportExport.ColladaLoader();
            var prims = parser.Load(o.FileName);
            if (prims != null && prims.Count > 0)
            {
                var uploader = new OpenMetaverse.ImportExport.ModelUploader(client, prims);
                uploader.PrepareUpload();
            }

Note that PrepareUpload performs the upload as well in this initial stage.

TODO:
* Image upload
* Support for quads in addition to triangles
2014-06-27 08:21:29 +02:00
Latif Khalifa
624fe670e4 Added Collada 1.4.1 parser generated from XSD spec with some manual tweaks 2014-06-25 06:34:19 +02:00