Page MenuHome

Curves editmode: edit points are drawn from the fully evaluated curves
Closed, ResolvedPublicDESIGN

Description

System Information
Operating system: Linux-5.19.6-200.fc36.x86_64-x86_64-with-glibc2.35 64 Bits
Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 515.65.01

Blender Version
Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-10-17 00:16, hash: rB1d1cade9a9a7
Worked: -

Short description of error
Curves editmode: edit points are drawn from the fully evaluated curves.
This does not only include deformation, also newly added points (e.g. by subdividing) are drawn.

Even though the transform system is not hooked up to editmode yet, we clearly only want to draw added/evaluated points (if at all) in a way that indicates that these cannot be transformed or interacted with in other ways.
Mesh editmode modifiers will never draw generated additional points and only draw "on cage" (in deformed space) with the option set in the modifier itself.

Greasepencil editmode modifiers will draw generated additional points (but greyed out / not selectable) and forced "on cage" (in deformed space)

NOTE: With the "on cage" behavior [which seems much more intuitive at first] we introduce crazyspace editing (e.g. translations on one axis might end up totally different on the result, also gizmos are drawn in the wrong place) which on the other hand is not intuitive at all if not done right. Crazyspace is an issue for both greasepencil and mesh atm. and might be an issue with curves too (if not done carefully -- not sure yet if mechanisms introduced in D15407 can help here and if so, if they ar general enough to work in all scenarios)

If we decide to drawn in original locations only (the following pic is doing this with D16281 applied), it becomes obvious that we not only need to draw the editpoints, but connecting lines as well.

Event Timeline

We discussed this in the module meeting today and agreed that it's best to not draw the evaluated points, and just draw the curves. Otherwise the points end up being noise and get in the way.

I think it would be great to support crazyspace editing for curves edit mode. I'd hope the solution wouldn't be too different from what was necessary for sculpt mode.
I'm not quite sure at what point original indices will be necessary-- that might be another larger change in this area (could be totally unrelated to this for now though).