Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Image Contour shape #610

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

elblake
Copy link
Collaborator

@elblake elblake commented Mar 7, 2025

I've made a new primitive for adding a contoured mesh that fits an image's transparency or mask.

I've spent some time coming up with a contouring algorithm to turn images directly into paths
when importing them into wings, now it works and I've made a new plugin to add images with
an automatically contoured mesh. "Monochrome Mask" is for making a shape from a
non-transparent image. "Transparent Image" is for making a shape from the alpha channel
of an image, and the image is set as the texture.

The code for making paths from images will be useful for other new commands too, so
I put the code in a separate file called trace_2d.erl in the e3d folder, I wasn't sure if it should be
called that or e3d_trace_2d.erl. I can make the change if needed.

NOTE: New Image Contour shape.

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.

None yet

1 participant