Commit Graph

2609 Commits

Author SHA1 Message Date
Jim Radford
29c5fea933 Updated README/runprebuild.sh with information on vs2010 and xbuild compiling options
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3098 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-20 23:46:26 +00:00
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
Latif Khalifa
52c6e4e7a1 Testing sync with http://code.google.com/p/libopenmetaverse/source/list
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3096 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-20 20:31:36 +00:00
Latif Khalifa
1d08e2a327 Fix a couple of links in README.txt
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3095 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-20 19:28:13 +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
Robin Cornelius
173340f263 Ensure openjpeg does not overrun the MCT array when encoding images with alpha channels
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3091 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-18 19:49:46 +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
41b7ad90c1 Added Color4.Lerp()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3076 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-12 05:22:47 +00:00
John Hurliman
85a2f183f4 Prebuild:
* Don't add duplicate assembly references
* Create a HintPath for assembly references that exist in a project reference directory (fixes an xbuild issue)
* Add a VS2010 target

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3075 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-12 04:46:44 +00:00
Jim Radford
3419ce6353 * Remove unnecessary resources file from WinGridProxy, directly uses only resource instead.
* Remove Settings/Settings Designer files from WinGridProxy since they were unused.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3074 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-11 21:15:04 +00:00
John Hurliman
82aaed1876 Added x64 binary of openjpeg-dotnet to the NSI installer file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3073 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-11 18:55:24 +00:00
John Hurliman
5eab4dcc19 Reverting the change to remove a WGP file. Apparently someone needs this
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3072 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-11 15:47:52 +00:00
John Hurliman
1d2882b3c1 Update prebuild.xml to compile everything using the .NET 3.5 profile. Fixes VS2010 compatibility
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3071 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-11 06:40:44 +00:00
John Hurliman
f6840d6352 Deleted what appears to be a duplicate resources file in WGP? Hope I didn't delete the wrong one... WGP appears to still work
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3070 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-11 06:39:58 +00:00
Jim Radford
d06148f777 Updating Documentation Generator to new format (Uses MSBUild now YAY), updated requirements in readme.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3069 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-07 00:00:51 +00:00
Jim Radford
c7eb96a2b2 Update runprebuild2008.bat generator for new documentation generator format (Doc build will still fail, working on converting the documentation file format)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3068 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-06 23:39:06 +00:00
Jim Radford
1d007275bd LIBOMV-663 Updates to OpenJpeg makefile/solutions files
* Makefile support IBM s390 and PPC architecture (patch courtesy of sdague)
* Visual studio x64 platform added for compiling openjpeg-dotnet on 64 bit windows platforms

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3067 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-06 21:22:59 +00:00
John Hurliman
a5cc49b4d6 Going through ridiculous contortions to prevent OpenMetaverse.StructuredData.dll from crashing on Mono while decoding JSON objects
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3066 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-06 19:37:33 +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
Latif Khalifa
78f0068633 Fix compilation, not sending any color or visual params to the baker though
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3059 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-04 23:38:29 +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
7b10da33fa Testing if ServicePointManager.ServerCertificateValidationCallback works in the latest version of Mono
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3055 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-03 22:10:32 +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
John Hurliman
7c016027f2 Improved FindObjects command for TestClient
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3053 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-03 18:28:52 +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
cfa9b5b8f9 Turns out avatar_lad uses inconsistent case in bools
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3049 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-02 22:25:17 +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