aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Meshing (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-12-06apparently mono DeflateStream has no CopyTo method =(dahlia1-1/+5
2013-12-06use System.IO.Compression.DeflateStream for mesh decompression in an attempt ↵dahlia1-9/+5
to reduce mesh asset decoding failures
2013-11-01add null check for jpeg2000 sculpt image decode failure. Note: the ↵dahlia1-0/+9
j2kDecodeCache folder should be cleared after updating to this revision so that sculpts containing alpha can be re-decoded and successfully meshed.
2013-11-01discard alpha in 4-plane sculpt textures before generating physics proxy meshdahlia1-12/+7
2013-10-04Bump OPenSimulator version and assembly versions up to 0.8.0 DevJustin Clark-Casey (justincc)1-1/+1
2013-05-29missing fileUbitUmarov1-0/+5
2013-05-24Meshmerizer: remember to add the copied hull verts to the list of hulls.Robert Adams1-0/+1
2013-05-24Meshmerizer: add INI parameter to enable DEBUG mesh detail logging.Robert Adams1-3/+6
Default to off. To turn mesh parsing DEBUG detail logging on, add [Mesh] LogMeshDetail=true to the INI file.
2013-05-24change a hull debugging message to Debug instead of Infodahlia1-1/+1
2013-05-24correct some errors in decoding of mesh asset convex decomposition datadahlia1-53/+83
2013-05-23add decoder for bounding convex hulldahlia1-4/+53
2013-05-23Add DEBUG level logging in Meshmerizer for mesh parsing. There isRobert Adams1-2/+25
a compile time variable to turn this logging off if it is too spammy.
2013-05-18fix error in hull point indexingdahlia1-1/+1
2013-05-18remove duplicate hull scalingdahlia1-3/+3
2013-05-18add prototype code to decode convex hulls from mesh assets. Please do not ↵dahlia1-21/+110
use yet; the interface will be defined in a later commit.
2013-05-15fall back to using a display mesh for physics proxy if no physics_mesh entry ↵dahlia1-0/+4
was wound in a mesh asset
2013-02-19Deleted all AssemblyFileVersion directivesDiva Canto1-1/+1
2013-02-05BulletSim: remove degenerate triangles from meshes. This fixes theRobert Adams1-1/+1
invisible barriers in sculptie doorways (Mantis 6529). Bump up level-of-detail for physical meshes to 32 (the max). This fixes the invisible barriers that showed up in prim cut arches. NOTE: the default LOD values are removed from OpenSimDefaults.ini. If you don't change your OpenSimDefaults.ini, you will continue to see the arch problem.
2013-02-05Bump version and assembly version numbers from 0.7.5 to 0.7.6Justin Clark-Casey (justincc)1-1/+1
This is mostly Bluewall's work but I am also bumping the general version number OpenSimulator 0.7.5 remains in the release candidate stage. I'm doing this because master is significantly adding things that will not be in 0.7.5 This update should not cause issues with existing external binary DLLs because our DLLs do not have strong names and so the exact version match requirement is not in force.
2013-02-01Revert "Update assembly version numbers"BlueWall1-1/+1
This reverts commit 141ad829f448b9138b12be7cf99c834c1f3977ec.
2013-02-01Update assembly version numbersBlueWall1-1/+1
2012-11-29BulletSim: add expanded call to IMesher/Meshmerizer which enables/disables ↵Robert Adams1-5/+16
mesh caching. Since BulletSim caches and tracks the unmanaged memory version of meshes, the Meshmerizer itself does not need to cache built meshes once BulletSim has made the physical proxy mesh.
2012-11-28Stop logging spurious asset data for {0} is zero length error for sculpts/meshJustin Clark-Casey (justincc)1-1/+4
ODEPrim, for instance, always hits this code path twice at the moment Firstly before any sculpt data has been loaded (hence the spurious message) Secondly when any sculpt data has been loaded or failed to load (when the message would be valid). Hence comment this out and rely on the message in ODEPrim.MeshAssetReceived() instead (though this is not ideal since it requires all physics plugins to copy/paste similar code).
2012-11-14Added AssemblyInfos to every dll in the OpenSim.Region namespace.Diva Canto1-0/+33
2012-10-13 add mesh cache expire on region startup. Expires will be relative toUbitUmarov1-0/+1
previus expire (assumed done only once at startup). File 'cntr' on cache folder stores time. Deleting it will force a skip on expire. Default time is 48hours before previus startup to account for failed ones etc.
2012-10-09 force allocation of mesh data on creation ( messy code version )UbitUmarov2-1/+3
2012-10-07refix so we can compile it, loosing alpha scultps fix on core meshmerizerUbitUmarov1-0/+11
2012-10-07 fix wrong file commitedUbitUmarov1-10/+0
2012-10-07 comment out a spam coment on core MeshmerizerUbitUmarov1-26/+4
2012-10-04 more changes. Most code not in useUbitUmarov1-0/+6
2012-10-03 introduce a ODEMeshWorker class, should be pure cosmetic changes for nowUbitUmarov1-0/+5
2012-08-06** DANGER someone should stress test more ** release unused physics meshs, ↵UbitUmarov1-0/+2
including unmanaged memory allocations (allocated by managed code)
2012-07-13update PrimMesher.cs to dll version r72 which fixes some path errors in ↵dahlia1-143/+183
sliced linear prims. Addresses Mantis #6085
2012-04-16Downgrade an error log message to info because there is nothing we can do ifMelanie1-1/+1
an asset is damaged so it should not spew red ink.
2012-03-20Add prim name to "[MESH]: No recognized physics mesh..." log messageJustin Clark-Casey (justincc)1-1/+1
2012-03-21let convex be a parameter to createMesh so it can be used. Was forced to add ↵UbitUmarov1-0/+5
it also to original mesher code and zeromesher
2012-02-16Comment out "experimental" log message printed out whenever a physics mesh ↵Justin Clark-Casey (justincc)1-2/+2
was generated for a mesh Also adds prim name to the "no asset data" error log message
2012-02-11Use mesh to estimate real center of prims if avaiable. Let sculpt map ↵UbitUmarov3-29/+126
textures with alpha channel work. On linux J2DecodeCache folder must be deleted to remove bad entries. Corrently this can't be cached on linux (mono/ cairo/? problem)
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