Latif Khalifa
0da94242b2
LIBOMV-982: Alpha wearable checkbox for full alpha on a part has no effect
2014-10-26 02:04:42 +01:00
Latif Khalifa
ae112d56fb
Update copyright notices
2014-02-25 15:31:10 +01:00
Revolution Smythe
057956b3ae
Update the baker so that it can generate better baked textures.
2013-04-20 02:54:01 -04:00
Revolution Smythe
92d9aba102
Add ExportBitmap() method to make the j2k decoder faster, as it's direct, instead of exporting to tga and reimporting it.
2013-03-26 00:02:59 -04:00
Latif Khalifa
2ce37c9caa
Set the morph masks even if no parametrimized masks were added
2013-03-07 22:47:50 +01:00
Latif Khalifa
031e9ab67e
LIBOMV-931: Head tattoo's disappear at rebaking
...
Patch by Ard van der Leeuw and Thijs Wenker
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3598 52acb1d6-8a22-11de-b505-999d5b087335
2012-01-21 18:03:17 +00:00
Latif Khalifa
981d689dca
LIBOMV-870 RAD-200: Add support for SL2's Alpha Mask and Tattoo layers
...
* Updated avatar_lad and regenerated visual params.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3459 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-24 05:34:26 +00:00
Latif Khalifa
f93ed34fbe
Fixed 5 layer jpeg2000 decoding (alpha channel was moved from layer 5 to layer 4 in viewer 1.23 and newer).
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3302 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-25 03:40:09 +00:00
Latif Khalifa
42d3ebebba
LIBOMV-785: Imaging.OpenJPEG.DecodeToImage adds alpha channel to images that do not have alpha component
...
Patch by Sheet Spotter
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3282 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-16 18:43:49 +00:00
Latif Khalifa
cc4d76231e
LIBOMV-805: More reliable resource loading
...
Disable parallel reading of file to avoid files locking issues in the baker
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3270 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-08 22:39:40 +00:00
Latif Khalifa
c1de6e2889
Reverting patch from LIBOMV-785, causes failures in loading tga resource images.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3250 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-14 07:34:52 +00:00
Jim Radford
8d31e2d36f
LIBOMV-785 Applies Patch from Sheet Spotter (what an obscene choice for a name) Which fixes alpha channel decode issue
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3244 52acb1d6-8a22-11de-b505-999d5b087335
2010-01-15 04:30:13 +00:00
John Hurliman
eff1ff4b41
* Cleaned up the CSJ2K source (removed unnecessary projects and an unused file) and added it to prebuild.xml
...
* Fixed a typo in OpenJPEG.J2KLayerInfo (only affected debug display)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3118 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-01 00:09:52 +00:00
Jim Radford
33d3963e8c
LIBOMV-681 Part 2, Updates .NET Wrapper for openjpeg, updates 32 and 64 bit binary versions of the openjpeg dll
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3100 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-22 21:00:00 +00:00
Jim Radford
21fd29683e
LIBOMV-652 Updates OpenJpeg Wrapper to utilise 64 bit dll when being called from a 64 bit machine
...
* Updates Linux OpenJpeg binaries for 32 and 64 bit (Still need to update osx/windows dll's)
* Adds dll map entries for mono to support proper libraries if called from either architecture
* BREAKING CHANGE - This renames the existing pinvoke methods used for calling openjpeg
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3094 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-20 04:14:17 +00:00
Latif Khalifa
4dc29d0f0b
Fix documentation.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3089 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-18 13:34:03 +00:00
Latif Khalifa
6784c751d4
* Enable hair bake
...
* Skip alpha masks where visual param is 0 and mask is marked for skipping on 0 value
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3087 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-18 09:38:50 +00:00
Latif Khalifa
d3755f848a
Implemented morph masks, the last missing layer in 5-later baked texture.
...
Agent Smith is no longer Mr. Tight Pants.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3086 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-17 23:23:12 +00:00
Latif Khalifa
c0d367919c
Tweah head bake:
...
* Skin is drawn last on the head
* Apply hair pattern on top of the hair texture
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3084 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-15 12:05:50 +00:00
John Hurliman
5bd0aae867
* Inventory.RootNode and Inventory.LibraryRootNode now return null instead of throwing an exception. Properties should not throw exceptions
...
* Fixed unintended overriding of LindenMessages.AssetUploaderBlock.State
* Changed the disposable pattern of Simulator to match what MS code analysis suggested
* Added using { } blocks to lots of stream opening to ensure the streams are always closed before going out of scope
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3080 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-12 23:45:52 +00:00
John Hurliman
04f920aea9
* Helpers.GetResourceStream() now uses the executable directory + openmetaverse_data as the path for finding resources instead of current directory + openmetaverse_data
...
* Added add, subtract, multiply operators to Color4
* Switched baking to use Color4 instead of System.Drawing.Color
* Untested implementation of multiply and add color operations in baking
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3077 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-12 06:11:36 +00:00
Latif Khalifa
b7f85867a7
Don't apply aplha masks to skin layer if it has texture, texture overrides all other skin settings.
...
Add debug info measuring how long it takes to produce bakes.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3062 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-05 01:48:03 +00:00
Latif Khalifa
0d75e507c4
Remove leftover debugging info
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3061 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-04 23:50:17 +00:00
John Hurliman
ad462e8669
Added some sanity checks in BakeLayer to fix IndexOutOfRange and NullReference exceptions when playing around in AvatarPreview
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3060 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-04 23:46:38 +00:00
Latif Khalifa
0133909275
LIBOMV-640: Rewrite texture baker
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3057 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-04 23:16:00 +00:00
John Hurliman
c1bc0b4af6
* Moved OpenMetaverse/Resources to bin/openmetaverse_data until we have a working xbuild and reorganize SVN
...
* Complete rewrite of AppearanceManager. Appearance editing has not been (re)implemented yet, but the normal appearance setting is much more reliable
* Added a setting (defaulted to true) for automatically setting appearance
* Various baking hacks to get slightly less ugly avatars
* Added baked texture uploading through CAPS in AssetManager.RequestUploadBakedTexture(). UDP fallback is not implemented yet
* Added Parallel.Invoke() and overloads for all three methods that take a threadCount
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3038 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 17:43:01 +00:00
Jim Radford
b80b974c77
0.8 here we come!
...
LIBOMV-576 Start of Abstracting library into two separate libraries. For now this means: There will be a new dependency for OpenMetaverse.dll named OpenMetaverseCore.dll, the new will be required for OpenMetaverse to operate properly, the inverse is not true. OpenMetaverseCore will eventually contain all packet and message related code.
* Need to create a singleton logger instance (or move the current logger to Core.
* Currently only Packets, Helpers and some common types have been moved to Core.
* Helpers will need to be split and non-core required helpers moved back to OpenMetaverse.
* Lots more work to be done here, but these changes should not break anything (yet)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3021 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-23 03:31:16 +00:00
John Hurliman
5e890f4026
Added a patch to the OpenJPEG wrapper to try and correct bad J2KLayerInfo.End values that occur on 64-bit systems
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2907 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-23 23:11:10 +00:00
John Hurliman
765c772fb2
* Explicitly specify the layout and packing for all of the OpenJPEG structs
...
* Defined the Cable Beach asset service identifier and tweaked the OpenSim avatar attributes slightly to match what OpenSim is actually using
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2856 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-08 05:15:24 +00:00
Latif Khalifa
09377c682e
[Appearance]
...
* Added support for the new hair bake
* Fixed ForceRebakeAvatarTextures()
* Some additional debug info
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2815 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-27 09:46:18 +00:00
John Hurliman
a970cbd661
Initial commit of the OpenMetaverse.Assets namespace. Serialization/deserialization for new PrimObject is done, but OAR saving/loading is still a work in progress
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2746 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-12 00:07:35 +00:00
John Hurliman
0746947075
* Fixing premature commit of BakeLayer
...
* Adding an alternative implementation of one of the benchmark tests for serialization that should be more fair (untested)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2745 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-11 22:32:37 +00:00
John Hurliman
ad102f3ea9
Moving OpenMetaverseTypes library to its own folder. This will save a lot of prebuild headaches
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2744 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-11 19:28:50 +00:00
John Hurliman
00ded81d19
* Sanity check that we are connected to a simulator before teleporting
...
* Gracefully handle zero length layers in JPEG2000 decoding
[Simian]
* Adding OAR file archive writing (untested)
* Add a /save command to Periscope to save an OAR archive of a scene
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2480 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-11 00:09:47 +00:00
John Hurliman
dd408d38fb
* Fixed JSON->OSD deserialization error on empty strings
...
* Fixed exception strings in OpenJPEG.cs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2369 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-01 23:58:45 +00:00
John Hurliman
57704143e4
* Added locking to OpenJPEG encoding and decoding
...
* Better log output when OpenJPEG sanity check fails
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2364 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-24 22:10:26 +00:00
John Hurliman
c4bcb8e2bc
Added more sanity checking to JPEG2000 layer boundary decoding
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2362 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-18 19:13:25 +00:00
John Hurliman
f11dd21677
* Forced struct alignment to 4-bytes for openjpeg-dotnet on Windows
...
* Removed padding hack from openjpeg
* Added sanity check to Simian when copying texture data
* Ignore common unused login parameters in Simian
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2357 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-17 19:08:50 +00:00
John Hurliman
7792f4f6d5
Migrating to external ExtensionLoader project at http://code.google.com/p/extensionloader/ (temporarily breaking the build)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2355 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-17 18:01:46 +00:00
John Hurliman
29026f68f0
* Implemented asset and appearance persistence in Simian
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2283 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 04:50:03 +00:00
John Hurliman
35e6af9e3c
* Updating OpenJPEG.cs to match the new openjpeg-dotnet changes
...
* Adding OpenJPEG.DecodeLayerBoundaries() to get the byte boundaries for each quality layer in a texture
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2173 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-27 02:47:46 +00:00
John Hurliman
e294f47afd
* Basic types renaming continued
...
* Corrected ManagedImage.ExportRaw() function to flip the image (OpenGL has a texture origin in the bottom-left)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2015 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-28 22:23:48 +00:00
John Hurliman
c1f3d6a3c2
Renaming libsecondlife folder to OpenMetaverse. Part of a multi-step process, do not check out this revision!
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1957 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-22 22:56:05 +00:00