This patch adds a new texture mapping mode that maps to the UV space of the stroke curve, tentatively called "roll."
This is a test file for testing the feature on the Draw and Paint brush:
Differential D16414
Sculpt: Stroke Texture Mapping Authored by Joseph Eagar (joeedh) on Nov 7 2022, 6:07 PM.
Details This patch adds a new texture mapping mode that maps to the UV space of the stroke curve, tentatively called "roll." This is a test file for testing the feature on the Draw and Paint brush:
Diff Detail
Event TimelineComment Actions From the previous meeting notes:
Comment Actions
Comment Actions Some notes from testing this and reading other users feedback. These are the most important to tackle if we want to commit before bcon2.
By using the same line thickness and color, having both combined should blend nicely together.
The stroke is never properly concluded up to the boundary. Performance is also quite a lot slower than regular textured strokes. Even a slower stroke does not fully help avoiding this Comment Actions It's also good too note that there will always be a fade in and out for the textured stroke. Also, there should maybe be something to prevent using this texture method with certain stroke methods. Dots should not be combined with Roll. Comment Actions I'd like to review this too, particularly the way the code interacts with the new curve evaluation code. Generally I think the Bezier / even spline code should reuse and improve the existing lower level curve evaluation and parameterization code. I can make that feedback more specific later though. paint_stroke.c should me moved to C++ in a separate commit (as described in T103343). Comment Actions Some quick superficial comments, did not look at this closely yet.
Comment Actions Removing myself as reviewer from sculpt patches since this is not my responsibility and I don't have enough time for it. If it's unclear who should review it can be worked out with Dalai or Thomas. Comment Actions @Hans Goudey (HooglyBoogly) You want to still elaborate on your review? @Joseph Eagar (joeedh) I tested the patch again most issues I mentioned above are still present:
Using the Painting brushes also causes a crash now or won't result in any visual changes and quite poor performance. Comment Actions
It's really more of a conversation that needs to be had. I feel strongly that we shouldn't add another implementation of curve evaluation and arc length parameterization. Adding a helper class to combine data storage as an abstraction for sculpt mode is reasonable, but the implementation should be shared. There are also Brecht's comments and moving the file to C++ separately in master. Comment Actions I don't care where the low-level code lives. I did find the existing arc length parameterization code to be pretty unusable. | ||||||||||||||||||||||