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 Highlight postprocessing to Editor selection (remove bouncing animation) #208

Merged
merged 1 commit into from
Nov 5, 2021

Conversation

DasCapschen
Copy link
Member

This removes the "bouncing" animation from the selected object in Editor, and replaces it with Postprocessing Effects to outline and highlight the object.

This is what it would currently look like:
image

Of course, we can decide to only use outlines, or only use highlighting (they are 2 separate nodes that added to the Editor scene tree), and the colors are also configurable.

What is currently not configurable, though I'm sure I can work out how to do that, is the thickness of the outline, which is currently only about 2 pixels...

@HaSa1002 HaSa1002 added editor everthing that belongs to the editor functions of Libre TrainSim enhancement New feature or request labels Oct 31, 2021
@HaSa1002 HaSa1002 added this to In progress in v0.9 (Old) via automation Oct 31, 2021
@HaSa1002 HaSa1002 added this to the 0.9 milestone Oct 31, 2021
@HaSa1002
Copy link
Member

I'd be in favor of only using the outline shader because the tint makes it hard to match colors.

@DasCapschen
Copy link
Member Author

I've changed it to only use outlines.
And I fixed the outline shader... it was discarding half of the outline 🙈
So they are bigger now too, should be well visible.

@DasCapschen
Copy link
Member Author

rebased

Copy link
Member

@HaSa1002 HaSa1002 left a comment

Choose a reason for hiding this comment

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

I mean it is ugly, but who cares xD
grafik

@HaSa1002 HaSa1002 merged commit 9fb0398 into Libre-TrainSim:master Nov 5, 2021
v0.9 (Old) automation moved this from In progress to Done Nov 5, 2021
@HaSa1002
Copy link
Member

HaSa1002 commented Nov 5, 2021

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor everthing that belongs to the editor functions of Libre TrainSim enhancement New feature or request
Projects
No open projects
v0.9 (Old)
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants