Skip to content

Fixes for manual vertex and stroke/fills. - #294

Merged
tychedelia merged 1 commit into
deferred-destroyfrom
vertex-strokes
Nov 30, 2026
Merged

tychedelia merged 1 commit into
deferred-destroyfrom
vertex-strokes

Conversation

@tychedelia

@tychedelia tychedelia commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

TL;DR, basically all of our shape building was 2d only and has been updated to work with 3d.

Also added normal() and texture_mode(). Fill, stroke and stroke weight are captured per vertex, so you can change them between vertices and they get interpolated.

Strokes in 3D are no longer tessellated flat in the shape's plane. There's a new line renderer that draws each segment as a camera facing capsule, which is basically what P3D does. Furhter, shapes in 3D are lit on both sides and overlapping contours fill with the non-zero rule, both to match P3D. This behavior makes sense for art but we may want to expose more in the future.

Stack created with GitHub Stacks CLI • Give Feedback 💬

@tychedelia
tychedelia added this pull request to stack #290 November 30, 2026 18:12
@tychedelia
tychedelia requested a review from catilac November 30, 2026 18:33
@tychedelia
tychedelia marked this pull request as ready for review November 30, 2026 18:34
@tychedelia
tychedelia force-pushed the vertex-strokes branch 2 times, most recently from 5ef33b6 to 041cee5 Compare November 30, 2026 21:54
@tychedelia
tychedelia merged commit 27c15a4 into main Nov 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants