Replies: 1 comment 5 replies
-
Not an expert with modeling and geometry, but here is my take on this: For re-evaluation: I think it really depends on how you represent the CSG graph and whether the manifolds are mutable. If they are mutable, this would be pretty hard because you have to think about how to cache them. If we do something like the lazy boolean operations in #114, I think we can speed up re-evaluation of the CSG graph by storing the cached result and its hash, so when we need to re-evaluate the CSG graph, we can just propagate the changed objects and reuse the cached result for those that did not change. Not simple but probably easier than a mutable version. For precision: I don't think you can increase the precision without recreating the entire solid with higher precision. Cache can only work if they have the same precision I guess. The smooth function may provide visually appealing results but probably not something you want to use for 3D printing/CNC machining. |
Beta Was this translation helpful? Give feedback.
-
Let's assume I have a solid made out of many transformations and boolean operations. Now I want the final mesh of that solid in lowest acceptable precision for screen rendering but the exported output mesh has to be in accordance to required precision for 3D printing or CNC machining. And maybe for the screen rendering I want interactively change some transformation parameters or so. Now the question is: Do i need to recreate that solid from scratch for each such modification or is there a way to re-evaluate the CSG graph of that solid (and possibly saving some memory allocations).
Beta Was this translation helpful? Give feedback.
All reactions