Commit Graph

91 Commits

Author SHA1 Message Date
Dahlia Trimble
9c13a93583 Limit hollow size of physics proxy to 95% 2009-04-24 19:28:29 +00:00
Dahlia Trimble
15b9c528c5 Add some documentation. (note this is *not* a thinly veiled attempt to increase my commit frequency *wink*) 2009-04-18 17:15:56 +00:00
Dahlia Trimble
f73d4f9735 unspecified sculpt stitching mode now defaults to plane instead of sphere. Addresses Mantis #3403 2009-04-05 19:25:39 +00:00
Dahlia Trimble
ad012d4b46 add x-axis mirror capability to sculpted prim mesh - addresses Mantis #3342 2009-03-26 18:12:10 +00:00
Dahlia Trimble
8afad46d10 remove log4net dependency and from PrimMesher.cs
sync PrimMesher.cs with PrimMesher.dll version 29 on forge
2009-02-24 06:02:44 +00:00
Charles Krinke
8f55b9d735 Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:
* Added log4net dependency to physxplugin in prebuild.xml.
* Added missing m_log fields to classes.
* Replaced Console.WriteLine with appropriate m_log.Xxxx
* Tested that nant test target runs succesfully.
* Tested that local opensim sandbox starts up without errors.
2009-02-22 20:52:55 +00:00
Teravus Ovares
1a55dd11f1 * More friendly OpenJpeg error handling.
* Often times now the only reason OpenJpeg doesn't work is because it requires Glibc 2.4    The error messages reflect that.
* In J2kDecoder module, It stops trying to decode modules if it encounters a dllnotfound exception and instead sends a full resolution layer that causes the texture sender to only send the full resolution image.  (big decrease in texture download speed, but it's better then nasty repeating error messages)
2009-01-21 11:16:33 +00:00
Dahlia Trimble
44d133da66 clean up some old debugging code 2008-12-09 08:17:31 +00:00
Dahlia Trimble
fdd2388331 Update meshing code to sync with current PrimMesher.cs on forge.
Migrate sculpt meshing code to primMesher version. This should result in more accurate physical sculpted prim proxies.
Remove much obsolete code from Region/Physics/Meshing
2008-11-29 11:02:14 +00:00
Dahlia Trimble
138a3924e0 Committing more work towards implementing vertex normals. Also added some (hopefully) helpful messages for identifying corrupt prims and some fixup code for corrupt profile cut data. 2008-10-13 22:52:39 +00:00
Justin Clarke Casey
dd886a035b * minor: remove warnings 2008-10-10 21:05:44 +00:00
Dahlia Trimble
62f3e11b4e Some more decrufting 2008-10-10 09:16:36 +00:00
Dahlia Trimble
726e0045d9 Some decrufting 2008-10-10 09:00:52 +00:00
Dahlia Trimble
7fbe942792 refactoring PrimMesher to add viewer compatable features and some code cleanup 2008-10-10 08:22:13 +00:00
Dahlia Trimble
979a354ba0 Cap proxy mesh scale minimum to 0.01 meter for X, Y, and Z terms. 2008-10-04 17:39:03 +00:00
Dahlia Trimble
e6afb28355 re-enabled some ODE internal proxies for some simple prim types to try to save some more memory 2008-09-19 09:13:27 +00:00
Justin Clarke Casey
8ff1bc5b03 * Make the ode simulation update loop print out the stack if an exception occurs (at least, this is what will happen on linux) 2008-09-18 18:54:42 +00:00
Dahlia Trimble
8a8b01d1b8 Circular path prim meshes are now joined where the path ends meet if they match. This may have a minor improvement in memory and speed performance, but it's mainly for viewer applications and it also syncs the c# version of PrimMesher with my python sandbox version. 2008-09-13 10:22:17 +00:00
Jeff Ames
fae34bb10c Update svn properties, formatting cleanup. 2008-09-09 01:26:48 +00:00
Teravus Ovares
7d89e12293 * This is the fabled LibOMV update with all of the libOMV types from JHurliman
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point.  Regular people should let the dust settle.
* This has been tested to work with most basic functions. However..   make sure you back up 'everything' before using this.  It's that big!  
* Essentially we're back at square 1 in the testing phase..  so lets identify things that broke.
2008-09-06 07:52:41 +00:00
Dahlia Trimble
35ad484b6b fixed some ugliness in the conversion from the new mesher format to the old that should speed up region startup a little and maybe even use less memory if the GC decides to play friendly with the other kids. 2008-08-29 08:19:47 +00:00
Jeff Ames
3bf8858727 Update svn properties, formatting cleanup. 2008-08-28 14:41:54 +00:00
Dahlia Trimble
1a83384f90 re-enable new PrimMesher module for mesh creation for standard (non-flexy) prims. 2008-08-27 23:43:53 +00:00
Dahlia Trimble
36d1720fde reverting to prior meshing methods until some physics timing issues can be resolved 2008-08-27 09:49:13 +00:00
Dahlia Trimble
cf951d4d04 Added some exception handling to help catch some possibly corrupt prims 2008-08-27 07:30:14 +00:00
Dahlia Trimble
3481a977f0 Meshmerizer now uses new PrimMesher class for meshing all standard (non-sculpty) prims. This should result in more accurate meshes, lower memory consumption, and eliminate several lockup modes. 2008-08-27 06:53:09 +00:00
Dahlia Trimble
261876fd47 Commented out the float array "normals" in the Mesh object and all references to save memory as it was unused 2008-08-22 07:06:33 +00:00
Jeff Ames
6ef9d4da90 Formatting cleanup. 2008-08-18 00:39:10 +00:00
Dahlia Trimble
1bf60fa1ac updated some prim parameters to project maintained versions 2008-08-14 08:59:13 +00:00
Dahlia Trimble
88fba448a1 reinstates torus profile zflip which was mistakenly removed in patch 1870 2008-08-01 05:48:24 +00:00
Dahlia Trimble
1d3677eb9b Thank you jhurliman for a meshmerizer patch that replaces the quaternion->matrix->vertex*matrix->vertex code with a direct transformation. 2008-08-01 05:45:58 +00:00
Dahlia Trimble
492b25362c Clean up Meshmerizer.cs a bit to make it more readable 2008-07-21 23:08:23 +00:00
Dahlia Trimble
13399ff439 Passes prim physical status to mesher from physics plugins
Small prims now get a full mesh if they are physical
Fixed a logic bug that was preventing many prim meshes from having excess memory cleaned up
Switched to more conservative method of vertex and triangle list trimming to prevent possible crash
2008-07-12 01:58:20 +00:00
Dahlia Trimble
f6c7f167b9 Overloads CreateMesh method of interface IMesher to pass prim physical status to mesher 2008-07-12 01:02:41 +00:00
Dahlia Trimble
b42770bf7a Trim out nulls from mesh vertex and triangle lists to try and save more memory 2008-07-11 20:32:58 +00:00
Dahlia Trimble
3646cc32c4 Experimental physics optimization: prims with all 3 dimensions less than 0.2 meters will be meshed as a simple box 2008-07-11 17:22:37 +00:00
Dahlia Trimble
c5333af7a2 added a hollow size constraint to box, cylinder, and prism prim meshes to prevent a possible sim lockup 2008-07-07 10:09:35 +00:00
Dahlia Trimble
56c6bdcb26 Addresses more problem box cut angles 2008-07-07 05:42:37 +00:00
Dahlia Trimble
063365c0dc fix some Meshmerizer problem angles for sphere dimple and box path cut 2008-07-07 04:32:05 +00:00
Dahlia Trimble
6914fb6f13 disables changes in r5356 until I have more time to do further characterization 2008-07-06 19:44:59 +00:00
Dahlia Trimble
ae468bfc9b Corrects errors in sphere mesh with dimple start angle > 0 and hollow == 0 2008-07-06 17:18:59 +00:00
Dahlia Trimble
fd69251bcd alters a problem path cut angle for the cylinder prim profile 2008-07-06 02:04:24 +00:00
Dahlia Trimble
13d6615263 Adds experimental Meshmerizer support for "prim torture" effects of sphere dimple on prim types box, cylinder, and prism 2008-07-02 17:08:52 +00:00
Dahlia Trimble
b0287a43bd disables spam-like debugging messages inadvertently left on in last commit (oops) 2008-06-30 06:11:43 +00:00
Dahlia Trimble
7077cffe52 Corrects Meshmerizer orientation of profile cut angles for ring type prim 2008-06-30 06:08:43 +00:00
Dahlia Trimble
a944ef4947 Corrects meshmerizer profile cut angle orientation for tube type prims 2008-06-30 02:08:27 +00:00
Dahlia Trimble
0260b33517 Altered prim description/debugging message code to be more warning friendly 2008-06-28 18:04:04 +00:00
Charles Krinke
c06dbf4fe5 Mantis#1620. Applied Melanie's patch 2008-06-28 16:13:11 +00:00
Dahlia Trimble
8b8b45267e altered prior warning fix to Meshmerizer.cs to allow mesh debugging code to function 2008-06-28 00:16:41 +00:00
Dr Scofield
7d55dfba8a dr scofield's warnings safari:
* commenting out unused variables
2008-06-27 17:25:03 +00:00