dahlia
|
73efb1633f
lock collision mesh cache when accessing
|
9 gadi atpakaļ |
dahlia
|
60e719286b
Make Meshmerizer mesh cache static so it can be shared across class instances
|
9 gadi atpakaļ |
dahlia
|
c0380d1bfe
apparently mono DeflateStream has no CopyTo method =(
|
11 gadi atpakaļ |
dahlia
|
1496de7ce9
use System.IO.Compression.DeflateStream for mesh decompression in an attempt to reduce mesh asset decoding failures
|
11 gadi atpakaļ |
dahlia
|
7faf286d00
add null check for jpeg2000 sculpt image decode failure. Note: the j2kDecodeCache folder should be cleared after updating to this revision so that sculpts containing alpha can be re-decoded and successfully meshed.
|
11 gadi atpakaļ |
dahlia
|
f4ded3af63
discard alpha in 4-plane sculpt textures before generating physics proxy mesh
|
11 gadi atpakaļ |
Robert Adams
|
1821372634
Meshmerizer: remember to add the copied hull verts to the list of hulls.
|
11 gadi atpakaļ |
Robert Adams
|
81a6c39781
Meshmerizer: add INI parameter to enable DEBUG mesh detail logging.
|
11 gadi atpakaļ |
dahlia
|
440905ad14
change a hull debugging message to Debug instead of Info
|
11 gadi atpakaļ |
dahlia
|
0cdea5c2f3
correct some errors in decoding of mesh asset convex decomposition data
|
11 gadi atpakaļ |
dahlia
|
c5549d2730
add decoder for bounding convex hull
|
11 gadi atpakaļ |
Robert Adams
|
0e002e3693
Add DEBUG level logging in Meshmerizer for mesh parsing. There is
|
11 gadi atpakaļ |
dahlia
|
e65d1e459e
fix error in hull point indexing
|
11 gadi atpakaļ |
dahlia
|
477bee6468
remove duplicate hull scaling
|
11 gadi atpakaļ |
dahlia
|
fa8f5bafb2
add prototype code to decode convex hulls from mesh assets. Please do not use yet; the interface will be defined in a later commit.
|
11 gadi atpakaļ |
dahlia
|
46eb8465a0
fall back to using a display mesh for physics proxy if no physics_mesh entry was wound in a mesh asset
|
11 gadi atpakaļ |
Robert Adams
|
0cd99c74a7
BulletSim: add expanded call to IMesher/Meshmerizer which enables/disables 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.
|
12 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
aae76f7be4
Stop logging spurious asset data for {0} is zero length error for sculpts/mesh
|
12 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
4c41b53a4b
Add prim name to "[MESH]: No recognized physics mesh..." log message
|
12 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
c0760f9f91
Comment out "experimental" log message printed out whenever a physics mesh was generated for a mesh
|
12 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
a17f93ff44
minor: remove mono compile warning, a Vector3 can never be null since it's a struct
|
13 gadi atpakaļ |
Robert Adams
|
18037d41c4
Move GetMeshKey from buried inside Meshmerizer to a public method on PrimitiveBaseShape
|
13 gadi atpakaļ |
Robert Adams
|
80a2b81d52
Add level of detail specification to optionally reduce the number of vertices in generated prim meshes
|
13 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
310a685220
refactor: extract method that generates a physics mesh from prim shape data
|
13 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
4197f66052
refactor: extract code which generate points and faces from sculpt data into it's own method.
|
13 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
b0eacadeb4
fix bug in previous commit
|
13 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
122e01949d
refactor: move the code that generates physics meshs from prim mesh data into a separate method, in order to make the code more readable.
|
13 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
5043be13fb
Return null from CreateMeshFromPrimMesher if OpenJPEG decoding of the sculpt data fails.
|
13 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
18652eb87e
Fix physics proxy regeneration when a mesh with more than one submesh is resized
|
13 gadi atpakaļ |
Justin Clark-Casey (justincc)
|
24efb021ff
minor Tack the prim name on the end of the "experimental mesh proxy generation" message.
|
13 gadi atpakaļ |