John Hurliman
832aab14d8
Documentation typo fix
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3097 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-20 21:09:31 +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
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
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
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
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
Jim Radford
c5a2f8bbfd
LIBOMV-672 Adds UDP Handlers for AgentGroupDataUpdate Packets for backwards compatibility with OpenSim. Thanks Douglas Miles for the Report.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3083 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-15 07:50:30 +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
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
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
76309aed8f
Forgot to change ARGB to RGBA when switching from Color to Color4. Tinting appears to be correct now (from my limited testing)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3078 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-12 15:38:22 +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
John Hurliman
52ed43a9fd
Reverting the conversion to the .NET 2.0 method of overriding SSL checks. Even though the new method now compiles on Mono, it will still throw a runtime exception
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3065 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-06 17:51:16 +00:00
Latif Khalifa
d83ea760d9
Remove brilliant "fix"
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3063 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-05 02:12:42 +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
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
751ef64372
* Finished cleaning out .NET 1.1 CheckValidationResult cruft for overriding SSL checks
...
* Added a few more fields to PrimInfoCommand
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3056 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-03 22:27: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
1faa60a75f
LIBOMV-655: Print resend timout before zeroing it out
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3051 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-02 23:49:58 +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
Latif Khalifa
adca88b1ed
Added support for decoding alpha masks and color params for textures using visual params (towards LIBOMV-658)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3048 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-02 17:06:29 +00:00
Latif Khalifa
4fbfbc83d6
Added color and alpha blending/bump information to VisualParams (towards LIBOMV-658)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3047 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-02 07:16:11 +00:00
John Hurliman
79684bd8eb
Added an overload to AssetManager.RequestAsset() that takes a transactionID
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3044 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 23:23:14 +00:00
John Hurliman
ee7bb90907
Implemented UDP fallback for RequestUploadBakedTexture()
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3042 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 21:53:32 +00:00
John Hurliman
59e9e74a45
* Reverted WearableData from a struct back to a class to fix a regression
...
* Started on WearOutfit()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3041 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 19:36:13 +00:00
John Hurliman
7d57b4afab
* Changed WearableData to public and a struct
...
* Added GetWearableAsset(), IsItemWorn(), and GetWearables()
* Swapped InventoryBase for InventoryItem wherever possible in AppearanceManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3039 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 19:00:36 +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
John Hurliman
aa28d07115
Fixed documentation for RequestRezFromInventory() and changed overloads to request CreateSelected flag by default
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3036 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 01:28:24 +00:00
John Hurliman
1f4c182558
Fix AppearanceManager to use Client.Assets instead of passing in an AssetManager
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3033 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-29 17:58:25 +00:00
John Hurliman
6557e50c2e
* Improved notecard generation with embedded items
...
* Added InventoryManager.EncryptAssetID() helper
* Added Permissions.HasPermissions() helper
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3032 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-29 17:29:36 +00:00
John Hurliman
820d447672
* Labeled magic number for transfer timeouts in AssetManager and changed the value from 5 to 15 seconds
...
* Fixed [LIBOMV-649] by implementing the CAPS path for copying an item from a notecard. UDP fallback was left in
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3031 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-27 19:54:08 +00:00
Latif Khalifa
dfd91e393b
LIBOMV-644: ObjectManager does not always set the region handles when creating prims (patch by Douglas R Miles)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3028 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-25 20:03:37 +00:00
Jim Radford
a4242c1a0d
* Corrects some compile warnings caused by out of sync xml documentation
...
* Updates Doc Builder tool to support the OpenMetaverseCore library
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3023 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-24 08:25:28 +00:00
Jim Radford
937ba12fd0
LIBOMV-576 Add missing ClientHelpers class, which is the Replacement class for Helpers that contains static functions useful for client development.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3022 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-23 03:38:00 +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
724033b1af
Misc docu and typofixes
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3020 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 14:38:52 +00:00
Jim Radford
b60db797b2
LIBOMV-501 Cleans up all compiler warnings with a few exceptions that need to be addressed individually
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3015 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 06:57:52 +00:00
Latif Khalifa
0740cc301b
LIBOMV-618: Avoid starting the same thread more than once in case of relog
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3014 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 01:03:12 +00:00
Latif Khalifa
6829ff7648
USE_INTERPOLATION_TIMER no longer static
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3013 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 00:47:53 +00:00
Latif Khalifa
257e6a6fb8
Revert change made in r2977, its no longer needed to make this setting static
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3012 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 00:31:48 +00:00