Skip to content

Feature/simplify with attributes#1714

Open
marwie wants to merge 7 commits intodonmccurdy:mainfrom
needle-tools:feature/simplifyWithAttributes
Open

Feature/simplify with attributes#1714
marwie wants to merge 7 commits intodonmccurdy:mainfrom
needle-tools:feature/simplifyWithAttributes

Conversation

@marwie
Copy link
Copy Markdown
Contributor

@marwie marwie commented Sep 13, 2025

#1706

Hello Don,

Been a bit slow in regards to testing the new simplifyWithAttributes feature.

I've went ahead and replaced the original simplify method with the new simplifyWithAttributes option by default here since it seems like there's no good reason to keep both options if I'm not mistaken.

There are still some comments included that would need to be removed. For now I've published a pre-release version as a separate package with these changes below and will start testing and using this in our tools the coming weeks.

Let me know if you have any concerns or things you'd like to change. Otherwise I'm also happy to report back any findings (if any) after this has been rolled-out to more of our users (as of now it's only in internal pre-release versions)

@marwie marwie force-pushed the feature/simplifyWithAttributes branch from 9b0df20 to d7274e5 Compare September 14, 2025 09:55
@marwie marwie force-pushed the feature/simplifyWithAttributes branch from 6f0e19b to ca074ab Compare September 14, 2025 10:01
@donmccurdy donmccurdy added package:functions feature New enhancement or request labels Oct 29, 2025
@donmccurdy donmccurdy added this to the v4.2 milestone Oct 29, 2025
let attributes = 8; // 3 color, 3 normal, 2 uv
const attributesArray = new Float32Array(positionArray.length / 3 * attributes);

const attrib_weights = [
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why isn't this variable in camelCase? Shouldn't this be detected by the linter?

@donmccurdy donmccurdy modified the milestones: v4.2, 🗄️ Backlog Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New enhancement or request package:functions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants