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

Add transform_marker to arrows and default to true in 3D #4871

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ffreyer
Copy link
Collaborator

@ffreyer ffreyer commented Mar 17, 2025

Description

Fixes #4870

Reverts a change in defaults caused by #4606

Arrows assumes the scattered meshes to transform just like a normal mesh. I.e. to get the correct length all the vertices should effectively go through the full transformation pipeline. This is not the case with transform_marker = false, as that excludes model.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • Added an entry in CHANGELOG.md (for new features and breaking changes)
  • Added or changed relevant sections in the documentation
  • Added unit tests for new algorithms, conversion methods, etc.
  • Added reference image tests for new plotting functions, recipes, visual options, etc.

Sorry, something went wrong.

@ffreyer ffreyer changed the title Add tranform_marker to arrows and default to true in 3D Add transform_marker to arrows and default to true in 3D Mar 17, 2025
@MakieBot
Copy link
Collaborator

Benchmark Results

SHA: 375c74fe25e405ef8bca7518e76c8e45afe4c001

Warning

These results are subject to substantial noise because GitHub's CI runs on shared machines that are not ideally suited for benchmarking.

GLMakie
CairoMakie
WGLMakie

@ffreyer
Copy link
Collaborator Author

ffreyer commented Mar 18, 2025

I'm wondering if we should revert this at the level of meshscatter. With transform_marker = false the model matrix only applies to meshscatter positions, but not the vertices of the scattered mesh. I.e. it won't affect the size, rotation or translation relative to meshscatter position. That seems like the wrong default to me now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Work in progress
Development

Successfully merging this pull request may close these issues.

arrows doesn't start at base
3 participants