Commit Graph

164 Commits

Author SHA1 Message Date
Dahlia Trimble
87b95e324e Sculpt mesher refactor
adds some previously missing geometry to sculpties
new LOD improves vertex accuracy
fix torus mode mesh edge joining
sync with primmesher r37
2009-05-19 10:09:33 +00:00
Dahlia Trimble
14c1e991c6 some sculpted prim geometry accuracy and meshing speed improvements 2009-05-15 03:14:04 +00:00
Dahlia Trimble
bd3a4e5f01 Added a Copy() method to PrimMesh and SculptMesh as suggested by dmiles. Sync PrimMesher.cs and SculptMesh.cs with PrimMesher.dll r36. 2009-05-08 03:04:45 +00:00
Dahlia Trimble
09522743cb alter behavior of sculpted prim "Inside out" setting. Addresses Mantis #3514 2009-05-03 06:25:52 +00:00
Dahlia Trimble
6f3437b77e some code cleanup
sync with primmesher r35
2009-04-24 19:43:15 +00:00
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
Teravus Ovares
53026affb3 * Instead of referencing mesh stuff in the physics plugin.. change the IMesh Interface. (blame prebuild) 2009-04-11 00:11:54 +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
5f4cab6ed3 fix an error in hollow cylinder face number calculation 2009-04-03 08:45:32 +00:00
Dahlia Trimble
b42fec5c74 partial support for sculpted prim "inside out" setting 2009-04-02 06:54:48 +00:00
Dahlia Trimble
8493123629 Hard code scaled image resolution to 96 dpi prior to sculpt meshing to prevent a mono 2.4 failure. Thanks to cmickeyb for pointing out the failure. 2009-04-01 18:38:51 +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
3bedb59f50 make some arrays static to prevent excessive re-initialization - suggested by jhurliman 2009-03-26 03:10:30 +00:00
Dahlia Trimble
fa5fef33a9 fixed propagation of normalized sculpt mesh vertex normals 2009-03-15 09:05:35 +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
Dahlia Trimble
7731c055e4 Set sculpt map alpha to 255 prior to scaling and meshing. Addresses Mantis #3150 2009-02-15 04:00:00 +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
032b30ffdb Fix an error in sculpt LOD calculation 2009-01-21 02:40:09 +00:00
Dahlia Trimble
20670ff0c8 sync with primmesher r26 on forge 2009-01-04 19:09:31 +00:00
Dahlia Trimble
f836e36c49 Improve LOD scaling for anisotropic sculpted prim meshes 2009-01-04 18:36:13 +00:00
Dahlia Trimble
8a86439985 Removed some debugging code that was inadvertently left in in my last commit :/ 2008-12-22 07:25:41 +00:00
Dahlia Trimble
c66cfb51f7 Fix a floating point comparison that was causing some misshaped triangles on some prim faces 2008-12-22 06:07:51 +00:00
Dahlia Trimble
44d133da66 clean up some old debugging code 2008-12-09 08:17:31 +00:00
Dr Scofield
bdffd56a45 killing warnings, reformatting RemoteAdminPlugin 2008-12-05 15:28:03 +00:00
Jeff Ames
d324389dd9 Update svn properties. 2008-12-03 04:41:31 +00:00
Dahlia Trimble
07ee2c3504 Revert r7548 and r7549 until someone with prebuild-fu can help structure the dependencies 2008-11-30 03:52:18 +00:00
Dahlia Trimble
37afd69feb Removed remaining meshing code
Add PrimMesher.dll r21
All meshing tasks are now passed through Meshmerizer and handled by PrimMesher.dll
2008-11-30 03:13:02 +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
a3f785e978 Changed sculpted prim texture scaling method to bilinear to reduce scaling artifacts 2008-11-16 00:24:10 +00:00
Justin Clarke Casey
c6dad833f5 * minor: remove some mono compiler warnings 2008-11-06 21:01:16 +00:00
Dahlia Trimble
5fffc04ae6 Add more vertex normals and UV coordinates. Sync with primmesher.dll forge project. 2008-11-05 10:22:41 +00:00
Dahlia Trimble
5cf6a7f118 Viewer side normals and UV fixes on profile cuts. Sync with primmesher.dll forge project. 2008-10-29 09:47:45 +00:00
Justin Clarke Casey
7beeaf51f8 * minor: remove mono compiler warnings 2008-10-28 21:47:43 +00:00
Dahlia Trimble
ae5d92a167 some sorely needed extruder code simplification and refactoring, also some fixes to cut face UV coordinates 2008-10-28 08:57:15 +00:00
Justin Clarke Casey
754f6ba2a2 * minor: remove mono compiler warnings 2008-10-27 20:16:42 +00:00
Dahlia Trimble
3447bed8be Add end faces when radius setting is non-zero 2008-10-24 23:37:09 +00:00
Justin Clarke Casey
c519b80680 * minor: eliminate some mono compiler warnings 2008-10-24 21:40:05 +00:00
Dahlia Trimble
71660003de un-double-flipped some double-flipped normals in circular path prim end caps 2008-10-24 20:04:34 +00:00
Dahlia Trimble
a11fa9055a Fixed a floating point error accumulation that was causing missing end faces on some twisted prims 2008-10-24 05:31:43 +00:00
Dahlia Trimble
931b04485d More work in vertex normals and texture UVs. Syncing code with pyov. 2008-10-21 01:35:05 +00:00
Justin Clarke Casey
923f9fb749 * minor: remove mono warnings 2008-10-19 18:45:41 +00:00
Dahlia Trimble
b6396bc9a7 More progress towards implementing vertex normals - not complete yet. 2008-10-19 09:04:25 +00:00
Justin Clarke Casey
98245e4bfa * minor: Oh go on, one more warning. Oooh, you are naughty 2008-10-15 20:46:39 +00:00
Justin Clarke Casey
b1248004f0 * minor: remove some warnings 2008-10-15 17:19:02 +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
Dahlia Trimble
f2700590d7 removed some more extraneous hidden faces 2008-10-12 09:36:01 +00:00
Dahlia Trimble
116a08f42e Fixed a missing face on a profile cut 2008-10-12 08:52:42 +00:00
Dahlia Trimble
216787ee1d Optimization: calculation of profile vertex normals is now disabled as default. 2008-10-12 07:04:52 +00:00