aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Meshing (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-11-29minor: remove mono compile warning, a Vector3 can never be null since it's a ↵Justin Clark-Casey (justincc)1-9/+6
struct
2011-08-28Move GetMeshKey from buried inside Meshmerizer to a public method on ↵Robert Adams1-62/+1
PrimitiveBaseShape Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2011-08-28Add level of detail specification to optionally reduce the number of ↵Robert Adams1-5/+31
vertices in generated prim meshes Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2011-07-30refactor: extract method that generates a physics mesh from prim shape dataJustin Clark-Casey (justincc)1-117/+141
2011-07-30refactor: extract code which generate points and faces from sculpt data into ↵Justin Clark-Casey (justincc)1-220/+240
it's own method. fix build break.
2011-07-30fix bug in previous commitJustin Clark-Casey (justincc)1-1/+2
2011-07-30refactor: move the code that generates physics meshs from prim mesh data ↵Justin Clark-Casey (justincc)1-99/+123
into a separate method, in order to make the code more readable.
2011-07-29Return null from CreateMeshFromPrimMesher if OpenJPEG decoding of the sculpt ↵Justin Clark-Casey (justincc)1-1/+11
data fails. This is to address http://opensimulator.org/mantis/view.php?id=5612
2011-07-16Fix physics proxy regeneration when a mesh with more than one submesh is resizedJustin Clark-Casey (justincc)1-1/+4
Addresses http://opensimulator.org/mantis/view.php?id=5584
2011-07-11minor Tack the prim name on the end of the "experimental mesh proxy ↵Justin Clark-Casey (justincc)1-1/+1
generation" message. Can probably comment out this message soon, once a few other issues are tidied up.
2011-07-09minor: code tidy and inserted log lines for future use.Justin Clark-Casey (justincc)1-2/+3
Unable to get to the bottom of why resizing a mesh fails to properly reset the physics proxy, when toggling phantom does After a mesh is generated, the existing sculptdata is set to zero in PrimitiveBaseShape to save memory When phantom is toggled, the sculptdata is regenerated before remeshing. But on resize, the sculptdata is not regenerated. So clearly, resetting sculptdata is possible, but haven't quite been able to pin down how this is being done when phantom is toggled.
2011-07-08refactor: eliminate redundant return statementJustin Clark-Casey (justincc)1-3/+1
2011-07-08refactor: Factor out AddSubMesh() method from long ↵Justin Clark-Casey (justincc)1-44/+53
CraeteMeshFromPrimMesher() method Also remove some of the logging spam left in from the last commit.
2011-07-08Fix interpretation of physics mesh proxies from mesh dataJustin Clark-Casey (justincc)1-0/+10
As per http://wiki.secondlife.com/wiki/Mesh/Mesh_Asset_Format, some submesh blocks may just have the flag "NoGeometry" to signal that they provide no mesh data. If a block contains this, ignore it for meshing purposes rather than suffer a ClassCastException This fixes physics proxy meshing, so you can now walk through mesh doorways, properly stand on the trailer of mesh trucks, etc. To get mesh physics proxy, the UseMeshiesPhysicsMesh must be true in a [Mesh] config section in OpenSim.ini (example in OpenSimDefaults.ini). Convex hull physics not currently supported.
2011-07-08minor: commented out log lines for future use and very small code tidyJustin Clark-Casey (justincc)1-0/+2
2011-06-29Allow physics proxy generation for meshes using new asset format.dahlia1-4/+17
Fix an invalid cast exception while decoding new mesh asset format.
2011-06-10partial update for new mesh asset format - handle both old and new formats ↵dahlia1-1/+5
for physics mesh
2011-04-29Fix crash when [Mesh] section is missing from configuration filesDan Lake1-1/+2
2011-04-21Group collada meshies settings under [Mesh] in OpensimDefaults.iniBlueWall1-1/+2
2011-04-19fix meshing failure on sculpt maps smaller than 64x64dahlia1-3/+10
2010-12-10minor: remove some compiler warningsJustin Clark-Casey (justincc)2-2/+2
2010-11-24catch an exception when a mesh asset header cant be decodeddahlia1-2/+9
2010-10-24* Updated libomv to r3461Latif Khalifa1-2/+2
Main reason for upgrade is to revert API change that was introduced in order to support headerless binary LLSD decoding needed for deserialization of the mesh assets, which turned out to be unnecessary as we can transparently decode both kinds.
2010-10-20fix combining of multiple physics submeshesdahlia1-3/+4
2010-10-18remove some cruft from last commitdahlia1-8/+0
2010-10-18initial support for meshies physics. Must set ini option ↵dahlia1-43/+94
UseMeshiesPhysicsMesh = true to enable. See file OpenSimDefaults.ini for example.
2010-10-15one more silly line ending thing.... *If you have problems, fetch the tree ↵Teravus Ovares (Dan Olivares)1-71/+71
and rebase. Signed-off-by: Teravus Ovares (Dan Olivares) <teravus@gmail.com>
2010-10-14one more silly line ending thing....Teravus Ovares (Dan Olivares)1-71/+71
*If you have problems, fetch the tree and rebase.
2010-10-14more work in progress on mesh physics - still non-functionaldahlia1-2/+67
2010-10-14laying some groundwork for mesh physicsdahlia1-70/+80
2010-10-09* Make line endings consistant in Meshmerizer.csTeravus Ovares (Dan Olivares)1-1/+1
2010-10-07add a flag in OpenSim.ini.example for enabling/disabling decoded sculpt map ↵dahlia1-1/+2
caching for meshing
2010-09-26Typo fixesMelanie1-6/+6
2010-09-26adding configurable j2kDecodeCache pathBlueWall1-4/+9
allowing the decoded sculpt map cache path to be defined in the configuration files. Use DecodedSculpMapPath in the [Startup] section to set the path. The default is still ./bin/j2kDecodeCache
2010-05-24fix sculpt normal direction for mirrored plane sculptsdahlia1-2/+1
2010-05-07GridUserService in place. Replaces the contrived concept of storing user's ↵Diva Canto3-3101/+3101
home and position info in the presence service. WARNING: I violated a taboo by deleting 2 migration files and simplifying the original table creation for Presence. This should not cause any problems to anyone, though. Things will work with the new simplified table, as well as with the previous contrived one. If there are any problems, solving them is as easy as dropping the presence table and deleting its row in the migrations table. The presence info only exists during a user's session anyway. BTW, the Meshing files want to be committed too -- EOFs.
2010-05-06improve handling of undersize sculpt texturesdahlia1-4/+11
2010-05-06corrections for face numbering and uv mapping, mostly for spheres - sync ↵dahlia1-2201/+2284
with PrimMesher r56
2010-05-06Sculpt meshing refactoring - improves mesh accuracy and UV mappingdahlia2-639/+810
Sync with PrimMesher r55
2010-03-15Fixing line endingsJohn Hurliman2-2846/+2846
2010-03-15Restoring LoadPlugin as it was before. Justin's last change made it throw.Diva Canto2-2846/+2846
2010-03-13flip UVs for profile facesdahlia1-1/+1
2010-03-12correct some references which could produce erroneous prim face numbersdahlia1-2202/+2201
2010-03-12some improvements to sculptmap alpha handling and LODdahlia1-627/+645
2009-11-11clean up some cruftdahlia1-12/+2
2009-11-11minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2009-11-09add an overload to _SculptMesh for meshing from a list of coordinatesdahlia1-3/+46
add conditional compilation for System.Drawing dependency
2009-11-09minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-2/+2
2009-11-02Delete depricated extrusion methods and redirect to universal extrude method.dahlia1-833/+10
Sync with PrimMesher.cs r47 on forge.
2009-10-28Switching sculpty from CSJ2K back to OpenJPEG for now until more kinks are ↵John Hurliman1-2/+6
ironed out