Comments (6)
Splitting edges is much easier than collapsing them, but we do already have an internal edge collapse method. Right now it's only for removing degenerates, but it may be modifiable to general decimation.
Making Refine
take a maximum edge length as input should be quite a bit simpler, or even a curvature tolerance.
from manifold.
@elalish Can I persuade you to merge this first before SDFs?
from manifold.
Well, I'm already in the middle of SDFs. Really what you should be asking is when can I dedicate more time to Manifold? I'm trying to work something out, hopefully I'll have more soon.
Can I have some more detail about how you plan to use this feature and the use cases? That'll help me with building a good API.
from manifold.
We've hammered out a workflow using mesh optimizer. https://github.com/zeux/meshoptimizer So I'd like to match the api.
meshoptimizer gives you a relative error and a way to convert it to an absolute value
That's because it internally rescales the mesh, making the largest AABB axis be 1.0
static SimplifyFunc simplify_func;
typedef size_t (*SimplifyWithAttribFunc)(unsigned int *destination, const unsigned int *indices, size_t index_count, const float *vertex_data, size_t vertex_count, size_t vertex_stride, size_t target_index_count, float target_error, float *result_error, const float *attributes, const float *attribute_weights, size_t attribute_count);
static SimplifyScaleFunc simplify_scale_func;
typedef float (*SimplifyScaleFunc)(const float *vertex_positions, size_t vertex_count, size_t vertex_positions_stride);
from manifold.
I was hoping to use this for constructing a csg edit tree and then sampling the sdfs to make a mesh. (citation Sony Media Molecule Dreams).
The idea is once constructed the resulting mesh is a mesh like any other lod'd mesh.
reference
https://www.youtube.com/watch?v=Pi3r18ld-S8
from manifold.
Fixed by #741 (well, not the negative part, but that's a different kind of feature).
from manifold.
Related Issues (20)
- Python created object reports as non-manifold. HOT 3
- Watertightness of Mesh with an Edge Shared by 4 Faces
- vertex halfedge iterator
- Manifold 2.4.5 release tar.gz is incomplete HOT 3
- Vec out of Range HOT 8
- Python binding needs two import call HOT 4
- Manifold Decompose doesn't preserve vertex properties HOT 4
- memory leak when TBB and PSTL is enabled HOT 27
- Triangulate bug: Two separate polygons HOT 5
- [Question] robust geometric predicates, polygon triangulation
- Warning comparison of integer expressions of different signedness
- Modularize Manifold HOT 25
- Build without exceptions HOT 3
- Remove Thrust HOT 19
- How to figure out required size of mem in the C-API? HOT 1
- Crash in Project() HOT 4
- gcc14 build failure HOT 7
- Triangulation issue: Zebra HOT 3
- BSD compiler error HOT 1
- Another Zebra Triangulation issue HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manifold.