Commit Graph

83 Commits

Author SHA1 Message Date
Latif Khalifa
f2ba7318ef RAD-421: Server side appearance does not work if http inventory is disabled
* Always use capability inventory fetch when on server baking region
2013-03-30 16:12:46 +01:00
Latif Khalifa
f9f424b48d Allow passing 'replace' param to AddToOutfit 2013-03-08 12:47:47 +01:00
Latif Khalifa
9447076f19 Store what inventory item we requested to create, to workaround bug in Linden service that returns broken info 2012-12-21 01:49:36 +01:00
Latif Khalifa
9186f94654 Fetch fresh version of COF during appearance setting.
Added setting whether to use caps for some inventory operations.
TODO: Add support for FetchInventory2 capability
2012-12-16 19:21:23 +01:00
Latif Khalifa
496d233034 Use server side baking where supported.
This requires Current Outfit Folder to be maintained which
is not yet supported by the library, but it allows the
appearance to be set correctly if outfit was set in
a COF compliant viewer on previous login
2012-12-16 04:33:30 +01:00
Latif Khalifa
cf953b201a Process additional information in AvatarAppearance message 2012-12-16 01:15:14 +01:00
Douglas R. Miles
525f3a166d LIBOMV - MakeAppearancePacket() to allow individual editing 2012-05-30 13:10:46 -07:00
Latif Khalifa
0c979a204e Don't remove existing attachments at the same spot when replacing and adding to outfit.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3585 52acb1d6-8a22-11de-b505-999d5b087335
2011-10-07 13:35:08 +00:00
Latif Khalifa
0e2454aa9a LIBOMV-926: Add the ability to attach multiple items to one attachment point (multi-attachments)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3583 52acb1d6-8a22-11de-b505-999d5b087335
2011-10-01 03:27:05 +00:00
Latif Khalifa
984aacaab4 In order to display client tags TPVs require that skin textures for upper and lower body be the same.
Send client ID texture there.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3577 52acb1d6-8a22-11de-b505-999d5b087335
2011-08-26 00:27:40 +00:00
Latif Khalifa
9d344e0683 LIBOMV-920: Added ability to retrieve own visual params and appearance textures
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3559 52acb1d6-8a22-11de-b505-999d5b087335
2011-07-20 14:57:04 +00:00
Latif Khalifa
d471ecbbb6 LIBOMV-906: [PATCH] Support for avatar physics
Patch by Tim Hart
(Modified slightly not to send physics params if no physical wearable is worn)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3542 52acb1d6-8a22-11de-b505-999d5b087335
2011-05-24 00:58:42 +00:00
Latif Khalifa
a1c1454596 LIBOMV-898: Alpha and tattoo wearables not persisted
Fix by Skills Hak

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3503 52acb1d6-8a22-11de-b505-999d5b087335
2011-05-04 20:12:29 +00:00
Latif Khalifa
eac29282bb Docufix
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3482 52acb1d6-8a22-11de-b505-999d5b087335
2011-03-09 09:59:40 +00:00
Latif Khalifa
7232d001c7 Added an overload to ReplaceOutfit() that does not check for 4 obligatory body parts. Useful when setting appearance to avatar that has never been logged in to SL before.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3481 52acb1d6-8a22-11de-b505-999d5b087335
2011-03-08 18:09:47 +00:00
Latif Khalifa
3cc85a6ddc Increase number of parallel bake uploads.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3467 52acb1d6-8a22-11de-b505-999d5b087335
2010-11-19 11:59:42 +00:00
Latif Khalifa
10d7c02d4c Remove some cruft from the previous commit.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3460 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-24 05:39:32 +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
622400661e Don't nuke texture UUIDs.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3301 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-23 13:38:02 +00:00
John Hurliman
de2a49dddf First round of memory improvements!
* Disable TRACK_UTILIZATION by default
* Ignore Primitive.ScratchPad and always set it to Utils.EmptyBytes. This field is deprecated on the SL grid and there are better ways to extend the protocol for non-SL grids
* More graceful handling of corrupted wearables
* Free up memory after baking

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3297 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-20 21:58:23 +00:00
Latif Khalifa
84c3b1b6db Be more resilient when encountering new and unknown visual params.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3260 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-01 08:02:28 +00:00
Latif Khalifa
9f1870983e LIBOMV-739: Support for Client Identification Tag
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3198 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-31 13:10:58 +00:00
Latif Khalifa
459b8a4a84 Put EventArg classes in main OpenMetavarse name space.
Better name for AppearanceSet event, since we are actually not waiting for any reply from the server.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3195 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-30 08:03:14 +00:00
Jim Radford
96734383b4 LIBOMV-686 ObjectManager cleanup: Fixes up inline API Documentation, adds additional Simulator parameter to public methods for consistency and to allow for using those methods on neighboring simulators, not just the current simulator.
LIBOMV-705 Cleans up some API documentation in AppearanceManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3189 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-29 23:53:17 +00:00
Jim Radford
61a5bd2b1a LIBOMV-705 Updates AppearanceManager to new event patterns, Thanks Douglas R. Miles for the patch!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3188 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-29 09:47:57 +00:00
Jim Radford
95a87c7857 LIBOMV-686 Convert NetworkManager events/delegates to new patterns
* Remove INetworkManager interface (it was not being used for anything)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3182 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-28 08:01:52 +00:00
John Hurliman
08f74a222f * Fixing the WearOutfit() command to actually be backward compatible
* Marking packet block classes as sealed to match the wrapping packet classes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3172 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-25 08:18:50 +00:00
John Hurliman
4f93ee2e1b Added AppearanceManager.WearOutfit() to keep the API a little bit more backward compatible. This function simply calls ReplaceOutfit() or AddToOutfit()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3171 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-25 07:58:50 +00:00
Latif Khalifa
0c8ef17cdb Abort attempts to upload appearance if we get disconnected in the meanwhile.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3157 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-19 22:27:58 +00:00
Latif Khalifa
870ce77bfe One of the final touches towards finishing LIBOMV-640
Delay rebake on manual outfit changes by 20s since the last change.
The application writer can still call RequestSetAppearance(true) after
changing full outfit if they wished to skip the delay.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3138 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-09 02:44:06 +00:00
Jim Radford
2d37ccf9eb LIBOMV-704 Implements handlers for RebakeAvatarTextures packet to request the agent update the current simulator with its appearance.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3124 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-05 22:39:38 +00:00
Latif Khalifa
679f12a6dc Avoid locking up appearance manager by looking up its status.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3109 52acb1d6-8a22-11de-b505-999d5b087335
2009-09-05 16:58:37 +00:00
Latif Khalifa
4fcd8e6b77 * Added new public methods: AddToOutfit() and RemoveFromOutfit()
* Added helper methods  DecodeWearableParams() and SendAgentIsNowWearing()
* Force full rebake on appearance changes
TODO: Maintain hashes of wearables in the same fashion they are
kept for cached responses from the sim so we can rebake only
the layers that need rebaking and not all 6

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3108 52acb1d6-8a22-11de-b505-999d5b087335
2009-09-05 15:43:10 +00:00
John Hurliman
4f7213d9b4 * Renamed WearOutfit() to ReplaceOutfit() to match what it is actually doing and finished an initial (untested) implementation of it
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3093 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-19 17:51:26 +00:00
Latif Khalifa
8b7570e314 * Always call RequestFetchInventory after successful inventory uploads
in order to keep Store synced. This removes .NET 3.5 specific dependency.
* BakeIndexToTextureIndex is now read-only, and specified size
  (hopefully this will keep it updated should number of bakes change)
* Missing doc param in AssetManager


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3092 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-19 07:25:30 +00:00
Latif Khalifa
c695414564 * Fixed LIBOMV-659 Rebaked textures not cached by the sim
* Added public bool property ManagerBusy so clients can tell
  if the appearance manger is busy
* Fixed documentation errors.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3090 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-18 13:47:22 +00:00
Latif Khalifa
bb421d5662 Added OnAppearanceSet event that signals when main appearance thread is done its work.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3088 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-18 10:09:01 +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
cb58fed531 Tweak timing of uploads some more:
* Try uploading bake twice with 90 sec timeout
  instead of once with 180 sec timeout
(Produces more reliable results in testing with
some packet loss + high latency)

* Catch exception thrown when upload fails to start
in the correct place.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3085 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-15 12:28:59 +00:00
Latif Khalifa
1082b97aeb * Increase Settings.TRANSFER_TIMEOUT to 3 min (yes it can take that long on higher latency link since we are waiting for ack before sending each new packet),
* Make TRANSFER_TIMEOUT non-cost
* Add more logging to ApperanceManger

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3082 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-15 02:24:16 +00:00
Latif Khalifa
66319e5597 * Use MAX_CONCURRENT_UPLOADS constant
* Catch exceptions from baker and asset manager in CreateBake()
* Increase timeouts so appearance setting on higher latency links is more reliable

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3081 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-15 01:44:52 +00:00
Latif Khalifa
aabac70fc6 Hair texture participates in baking of both head (eyebrows and facial hair) and hair bakes.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3079 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-12 19:27:13 +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
John Hurliman
32b36d88af * Removed even more cruft from the old method of overriding SSL checks
* Updated the documentation on AppearanceManager.TextureData

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3058 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-04 23:27:23 +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
0c18efa8e2 Fixed mono compile errors in AppearanceManager and switched from magic numbers to a defined constant
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3054 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-03 18:46:14 +00:00
Latif Khalifa
4f64c9c7be Added function that calculates RGB color based on visual params (yey!). (towards LIBOMV-658)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3052 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-03 03:49:48 +00:00
Latif Khalifa
dc60f34a6d Now we decode all alpha mask/color params for each texture. TODO make function to calculate final color tint of the texture and modify baker to use color tint and alpha masks (towards LIBOMV-658)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3050 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-02 23:29:48 +00:00