aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-13 rename UbitMeshmerizer class as ubMeshmerizerUbitUmarov1-1/+1
2015-10-12 detect a fully degenerated mesh and avoid using it and so crashing ubOdeUbitUmarov1-1/+8
2015-10-11use System.IO.Compression.DeflateStream for mesh decompression like master, ↵UbitUmarov1-9/+9
since ACE zlib does seem to fail to decompress some meshs present at OSG, (possible same issue happens with map with option to draw prims)
2015-10-11 display prim name, if unzip of selected phsyics mesh part fails on ↵UbitUmarov1-1/+1
ubMeshmerizer ( thx Dan)
2015-09-12rename Ubit physics modulesUbitUmarov1-3/+3
2015-09-09minor clean, letting small classes be own module classUbitUmarov1-2/+4
2015-09-09 demote ConvexDecompositionDotNet to a simple dll, i had made it a region moduleUbitUmarov1-1/+1
2015-09-08and now.. seems to work.. but does it really work?UbitUmarov1-18/+22
2015-09-08a mess with Modules and ModuleUbitUmarov1-2/+2
2015-09-08 fix some compileUbitUmarov1-0/+1
2015-09-08 fix some compileUbitUmarov1-22/+49
2015-09-08More 'everything is a module' merging.Robert Adams1-0/+0
Have most of UbitOde converted. There are compile errors in OpenSimBase as the new modules stuff is not all there. Removed ChOdePlugin as it's connection to OdePlugin was tangled.
2013-05-29*** DANGER TESTING **** changed prims mesh generation hopefully removingUbitUmarov1-25/+39
spurius faces. CHanged several aspects. Fixed prims inertia that was too low, still using box as model. Increased number of quickstep SOR iterations to 15. Keep it 15 even on heavy load ( will only jump simulation time).
2012-11-02 lock unique and uniqueReleased in same order when both locks are neededUbitUmarov1-20/+14
2012-10-16 coment a debug warningUbitUmarov1-1/+1
2012-10-13 add mesh cache expire on region startup. Expires will be relative toUbitUmarov1-3/+85
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-13 retouch mesh idsUbitUmarov1-10/+20
2012-10-13 missing file (again)UbitUmarov1-4/+8
2012-10-12[TEST] disk cache meshsUbitUmarov1-54/+205
2012-10-09 force allocation of mesh data on creation ( messy code version )UbitUmarov1-5/+11
2012-10-07 a few changes/fix (?)UbitUmarov1-9/+9
2012-10-07[DANGER UNTESTED] ODE mesh assets. Other plugins will not do meshs/sculptsUbitUmarov1-61/+3
now
2012-10-03 introduce a ODEMeshWorker class, should be pure cosmetic changes for nowUbitUmarov1-3/+37
2012-08-07 use a bit more complex mesh key identifier, plus a bug fixUbitUmarov1-27/+80
2012-08-06** DANGER someone should stress test more ** release unused physics meshs, ↵UbitUmarov1-7/+110
including unmanaged memory allocations (allocated by managed code)
2012-08-05bug fix: keep sculpt bitmaps border pixels during resolution scaling.UbitUmarov1-0/+3
let this eventually have diferent interpolator last steps on each direction as sl seems to do.
2012-08-05 ubitmeshing: mask out mirror and invert bits on sculpttype convertion.UbitUmarov1-2/+4
Remove some unused
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-21minor cleanUbitUmarov1-27/+24
2012-03-21add convex state to mesh key, so a change is detected.UbitUmarov1-1/+1
2012-03-21let convex be a parameter to createMesh so it can be used. Was forced to add ↵UbitUmarov1-7/+10
it also to original mesher code and zeromesher
2012-03-20 added convex decomposition hulls support. Hardcoded to use mesh or this. ↵UbitUmarov1-18/+146
(so no simple hull of convex prims for now).
2012-03-20WORK in progress!! Now it reads the simple hull shape to use if convex shape ↵UbitUmarov1-22/+158
is selected for a prim. Due to ODE limitations on convex hulls colisions, it creates a mesh. Being work in progress it is hardcoded to only read that simple convex hull for now. It writes a file named "lixo_lixo.raw" that can be imported into blender for examination of the created mesh (the last one loaded and also hardcoded). To play with put in opensim.ini "meshing = UbitMeshmerizer"
2012-03-17 added a new UbitMeshing module so i can mess it...UbitUmarov1-1/+1
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 ↵UbitUmarov1-3/+18
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
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.