Trenchbroom: Valve: expose alternate Alt+Click behaviour in UI

Created on 3 Jan 2018  路  4Comments  路  Source: TrenchBroom/TrenchBroom

The left side is the current Alt+Click behaviour, that mimics Standard texture format. We could possibly offer the behaviour on the right with Alt+Right click (or Alt+Middle Click), which avoids distorting the texture.

screen shot 2018-01-02 at 11 13 29 pm

The code for the right side is in ParallelTexCoordSystem::doUpdateNormalWithRotation (currently unused). Would just need to call it from BrushFace::copyTexCoordSystemFromFace.

2 Enhancement

Most helpful comment

I'd rather see shift+alt-left, since it's just a modification of the standard behavior, thus a modification of the standard shortcut seems appropriate:

  • alt+left: standard copy of texture and attributes
  • ctrl+alt+left: copy of texture only without parameters
  • shift+left: new copy of texture and attributes

Please also consider to implement the double click variant (apply to all faces of a brush instead of the one under the mouse).

All 4 comments

@ericwa let's roll this into 2.0.0 since it kind of belongs to the improvements to Valve 220

Cool, I should be able to put together a PR for this tonight. Does Alt+Right click sound good?

Alt+right would mimic how "wrapping without distorting" is achieved in both Hammer and JACK.

I'd rather see shift+alt-left, since it's just a modification of the standard behavior, thus a modification of the standard shortcut seems appropriate:

  • alt+left: standard copy of texture and attributes
  • ctrl+alt+left: copy of texture only without parameters
  • shift+left: new copy of texture and attributes

Please also consider to implement the double click variant (apply to all faces of a brush instead of the one under the mouse).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Silentdarkness12 picture Silentdarkness12  路  5Comments

kduske picture kduske  路  4Comments

amatecha picture amatecha  路  4Comments

JackViney96 picture JackViney96  路  4Comments

totalnewbie picture totalnewbie  路  3Comments