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

Terrain smoothing brush and height fixes #81

Merged
merged 4 commits into from
Jul 18, 2022
Merged

Conversation

JamesTKhan
Copy link
Owner

@JamesTKhan JamesTKhan commented Jul 17, 2022

Adds a new Terrain Brush for smoothing based on average heights of vertices within the brush radius. Also fixes the following issues

  1. Terrain becomes un-editable by any brush when terrains global height is not zero.
  2. isUnderTerrain method did not factor in world height
  3. Cleaned up terrain code that was instantiating new Vectors in looped methods
  4. Paint brush radius can be changed now using CTRL+Scroll wheel
Untitled.7.mp4

@JamesTKhan JamesTKhan added bug Something isn't working enhancement New feature or request labels Jul 17, 2022
@JamesTKhan JamesTKhan merged commit 49f161b into master Jul 18, 2022
@JamesTKhan JamesTKhan deleted the terrain-height-fix branch July 18, 2022 03:25
@JamesTKhan JamesTKhan added this to the 0.4.0 Release milestone Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
1 participant