Vladimír Vondruš
62fb2d5470
Using MurmurHash in MeshTools::Clean.
...
SubdivideCleanBenchmark times are untouched with this change, but the
hash should be better for MeshTools::CombineIndices, where the previous
hash generated all zeros in most cases.
14 years ago
Vladimír Vondruš
7c2f1bec77
Cleaned up CMakeLists.
14 years ago
Vladimír Vondruš
171c75aca9
Naming consistency for variadic templates.
14 years ago
Vladimír Vondruš
ac4a6fd31d
Doc++
14 years ago
Vladimír Vondruš
7dae98ded1
Primitives: using MeshData instead of AbstractPrimitive.
...
The classes now provide better access to the data. Also fixed
SubdivideCleanBenchmark from MeshTools.
14 years ago
Vladimír Vondruš
5306d46b49
Removed MeshTools::AbstractTool, as nothing depends on it.
...
MeshTools namespace documentation moved to doc/namespaces.dox.
14 years ago
Vladimír Vondruš
02b71d6b15
MeshTools: removed dependency on MeshBuilder in Clean and Subdivide.
...
SubdivideCleanBenchmark and Primitives library currently doesn't
compile, will be fixed in next commits.
14 years ago
Vladimír Vondruš
571f41f53f
MeshTools: removed dependency on MeshBuilder in Tipsify.
14 years ago
Vladimír Vondruš
fb0c4f0d15
MeshTools: tool for interleaving attribute arrays.
...
All passed attribute arrays must have the same length, otherwise zero
length array is generated.
14 years ago
Vladimír Vondruš
bca691f2b7
MeshTools: tool for compressing index array.
...
The same functionality which is buried inside MeshBuilder, but properly
tested and more usable.
14 years ago
Vladimír Vondruš
f7ba048c06
Using operator() instead of run() in MeshTools.
...
In other words I finally discovered how to work around C++'s most vexing
parse.
14 years ago
Vladimír Vondruš
8efb5a1e42
Added dllimport/dllexport macros for Windows builds.
14 years ago
Vladimír Vondruš
8d525be511
Using TypeTraits::epsilon and TypeTraits::equals instead of EPSILON.
...
Improves comparison performance on integral Matrix and Vector, fixes NaN
comparison bug (but infinity bug is still present).
14 years ago
Vladimír Vondruš
31fd5bfb32
Added another constructor to MeshTools::AbstractIndexTool.
...
Not forcing to use MeshBuilder, passing just index array and vertex
count.
14 years ago
Vladimír Vondruš
0c67d17148
MeshTools: implementation of Tipsify algorithm.
...
Algorithm used: Pedro V. Sander, Diego Nehab, and Joshua Barczak, Fast
Triangle Reordering for Vertex Locality and Reduced Overdraw, SIGGRAPH
2007, http://gfx.cs.princeton.edu/pubs/Sander_2007_%3ETR/index.php
Also created new shared MeshTools library.
15 years ago
Vladimír Vondruš
37fa078ead
Added MeshTools::AbstractIndexTool, operating only on indices.
...
Doesn't need to be templated and thus leads to smaller generated code
size.
15 years ago
Vladimír Vondruš
37afb7bffe
Splitting tools from MeshBuilderBenchmark to MeshTools.
...
Moved unit tests and benchmarks accordingly.
15 years ago
Vladimír Vondruš
79a36bd373
New namespace and base class for mesh tools.
15 years ago