Repository navigation
Fix subdivision memory handling, crease artifacts and stale texture references - #750
FreeCAD-Nut wants to merge 1 commit into
Conversation
|
Similarly to the related BlendLuxCore PR, can you provide scene-files, blend-files, or some example renderings? Without having read and undestood all the code (I did not write the subdiv feature): I am wondering about the described situations like The PR might also benefit from being split into multiple commits to separate individual parts for easier understanding. |
|
Hello, Sorry, but I'm gonna reject your PR.
|
|
BlendLuxCore was crashing when I tried to render a scene. I cannot share the scene because of licensing restrictions, and I am not sure how to reproduce the crash with a simpler scene. Since Codex AI was able to fix the crash and the remaining rendering artifacts, I thought sharing the fixes with the project would be helpful. If you find the submission unhelpful or confusing, by all means, reject it. I won’t be submitting any further fixes. |
Subdivision could corrupt attribute buffers or fail on material meshes with unused vertices, while Enhanced mode introduced creases that depended on vertex numbering. This fixes those defects and related ownership/reference issues found while debugging a Blender subdivision/displacement scene.
Changes:
Validation:
The existing main fixes for phantom AOV layers and wheel packaging are retained rather than duplicated. Companion addon changes: LuxCoreRender/BlendLuxCore#1110
To run: configure with -DLUXCORE_SUBDIVISION_TESTS=ON, build subdivision_regression, then run ctest -C Release --output-on-failure from the build directory (runtime dependency libraries on PATH).