Project

General

Profile

Feature #3872

Editor: Edit functions in terrain texture editing mode

Added by Marc Zinnschlag 11 months ago. Updated 6 days ago.

Status:
Feedback needed
Priority:
Normal
Category:
Editor
Target version:
Start date:
05/14/2017
% Done:

60%

Severity:
Normal

Description

When an unselected piece of terrain is clicked with the primary edit button the texture from the brush button is applied to an area of the terrain specified by the current brush.

When a selected piece of terrain is clicked with the primary edit button the texture from the brush button is applied to all selected terrain tiles.

When the user clicks a piece of terrain with the secondary edit button the brush button is set to use the texture on this terrain tile.

History

#1 Updated by Nelsson Huotari 11 days ago

  • Assignee set to Nelsson Huotari
  • % Done changed from 0 to 10

Started working on the primary edit function (texture painting).

#2 Updated by Nelsson Huotari 10 days ago

  • % Done changed from 10 to 40

Rough one-click-editing for point, circle and square editing are implemented in my local branch, creating a temporary array for land texture grid, and modifying it through world view. Only clicking works, and there's no actual painting. Modifying data isn't yet properly implemented through command-system.

Proper development of this feature waits until the brush button -feature is finished.

Here's a video of current development phase, although the video still has a bugged circle algorithm that is improved in my local branch.
https://youtu.be/J8Dv702gpOY

#3 Updated by Nelsson Huotari 6 days ago

  • % Done changed from 40 to 70

Made some good progress with this. It would be great to get some feedback on code though.
https://github.com/OpenMW/openmw/pull/1680

#4 Updated by Nelsson Huotari 6 days ago

  • Status changed from New to Feedback needed
  • % Done changed from 70 to 80

#5 Updated by Nelsson Huotari 6 days ago

  • % Done changed from 80 to 60

Target version 0.44 might be for primary edit, but I'm not so sure of texture select.

#6 Updated by Alexei Dobrohotov 6 days ago

Feel free to separate it into another issue.

Also available in: Atom PDF