Commit Graph

20 Commits

Author SHA1 Message Date
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
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
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
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
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
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