Commit Graph

389 Commits

Author SHA1 Message Date
Jeff Ames
b4141f9e56 Formatting cleanup. 2008-09-13 22:07:07 +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
Justin Clarke Casey
0dc1018ca1 * minor: Remove warnings
* leaving in the ones to do with ScriptBase since these actually indicate coding bugs that I don't have the time/brainpower to fix at the moment
2008-09-12 21:20:24 +00:00
Dahlia Trimble
febb781779 remove hidden faces inside prim meshes to improve memory use and startup time 2008-09-12 19:42:26 +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
0fc618e7b2 Replaced a lot of trig calls with lookup tables for common prim types in an attempt to improve meshing speed.
Added a new between points interpolation method to improve accuracy of profile cuts in triangle and square profile prims.
2008-09-05 16:38:51 +00:00
Dr Scofield
109aa00150 fix: PostInitialise() not being called on script engines (nasty one that)
cleanup: warnings, readability
2008-09-02 12:07:23 +00:00
Dahlia Trimble
a5e7807612 Y top shear accuracy improvements in circular path prim meshes 2008-09-02 01:54:08 +00:00
Dahlia Trimble
f4035840d2 compensates profile placement effects of Y hole size on X top shear for circular path prim meshes 2008-09-01 08:19:47 +00:00
Dahlia Trimble
9cf9c08696 Improvement in mesh accuracy in X Top Shear parameter for circular path prims 2008-09-01 06:00:07 +00:00
Justin Clarke Casey
49ec6dd882 * squash some obvious warnings
* a couple more remain that preferably the original coders should look at in more detail (obsolete warnings in the ogp module and not overriding warnings in the script 
engine)
2008-08-30 18:09:38 +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
49f9bd8b68 Added some exceptions for bad profile cut parameters 2008-08-28 06:41:32 +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
2c842652c1 ODEPlugin now frees source mesh data after conversion to pinned lists to save memory 2008-08-27 23:39:50 +00:00
Dahlia Trimble
e593a333c7 adds releaseSourceMeshData() method to IMesh and Mesh for freeing mesh data after conversion to pinned lists. 2008-08-27 23:37:14 +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
65c82c2494 Added some exception trapping to PrimMesher 2008-08-27 08:03:52 +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
8be249bc68 Completion of new PrimMesher class 2008-08-27 06:39:39 +00:00
Dahlia Trimble
fce83731ad Modified Mesh object to allow alternative mesher interfacing 2008-08-27 06:29:34 +00:00
Dahlia Trimble
29407a43f5 more progress on new meshing routines 2008-08-24 01:23:04 +00:00
Dahlia Trimble
72f74acdbf more work on new meshing routines... 2008-08-23 10:28:35 +00:00
Dahlia Trimble
df14889635 some initial work on new prim meshing routines (incomplete) 2008-08-23 08:33:00 +00:00
Dahlia Trimble
0f6b899ec7 Cleaned up some warnings 2008-08-22 07:25:53 +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
3035f5cb64 Re-enables testing for config option mesh_sculpted_prim which was inadvertently disabled in a prior modification (oops) :) 2008-07-25 20:29:37 +00:00
Teravus Ovares
1e7c9e4810 * Fix the ODEPlugin unit test 2008-07-25 05:23:10 +00:00
Dahlia Trimble
c67198299e Changed application of constant forces to after PID force is applied. llSetForce() should behave identical to the Linden implementation now. 2008-07-24 21:05:30 +00:00
Dahlia Trimble
f74a9bcdc7 Implements llSetForce() and llGetForce(). These are experimental and the units may not match the Linden implementation. 2008-07-24 07: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
49adb6e09f refactor - commenting out needsMeshing() and all references as createMesh() has the same logic and obsoletes the need for it. 2008-07-18 00:03:28 +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