A.N.T. Landscape broken mesh generation #85225

Closed
opened 2021-01-30 11:41:33 +01:00 by Simon I. · 7 comments

System Information
Operating system: Linux-5.8.0-41-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: Mesa Intel(R) HD Graphics 620 (KBL GT2) Intel 4.6 (Core Profile) Mesa 20.2.6

Blender Version
Broken: version:

  • 2.92.0 Beta, branch: master, commit date: 2021-01-29 16:08, hash: 5d215d5225
  • 2.93.0 Alpha, branch: master, commit date: 2021-01-29 16:35, hash: d0f59d3842
  • 2.92.0 Alpha, branch: master, commit date: 2020-11-19 22:15, hash: fdd3032f8f
    The bug was introduced in commit 74188e6502
    Worked: 2.91.2, branch: master, commit date: 2021-01-19 16:15, hash: 5be9ef4177

Addon Information
Name: A.N.T.Landscape (0, 1, 8)
Author: Jimmy Hazevoet

Short description of error
When generating a mesh with A.N.T.Landscape, the values from the operator panel (Adjust last Operation) are misinterpreted which results in a very distorted mesh. When I try to tweak the parameters to achieve something closer to the expected result, it seems like the offset and gain values under noise settings are way to sensitive, moving them just a tiny bit changes the mesh to much.

Exact steps for others to reproduce the error

  1. Enable Addon A.N.T.Landscape
  2. Add Mesh --> Landscape
  3. open Adjust last Operation Panel
  4. Click on "Operator Presets" (at the very top of the panel)
  5. Choose "Mountain 1"

See the result here:
ANT_2-92-0

And compare it to the results from the same preset from Blender 2.91.2
ANT_2-91-2

**System Information** Operating system: Linux-5.8.0-41-generic-x86_64-with-debian-bullseye-sid 64 Bits Graphics card: Mesa Intel(R) HD Graphics 620 (KBL GT2) Intel 4.6 (Core Profile) Mesa 20.2.6 **Blender Version** Broken: version: - 2.92.0 Beta, branch: master, commit date: 2021-01-29 16:08, hash: `5d215d5225` - 2.93.0 Alpha, branch: master, commit date: 2021-01-29 16:35, hash: `d0f59d3842` - 2.92.0 Alpha, branch: master, commit date: 2020-11-19 22:15, hash: `fdd3032f8f` The bug was introduced in commit 74188e6502 Worked: 2.91.2, branch: master, commit date: 2021-01-19 16:15, hash: `5be9ef4177` **Addon Information** Name: A.N.T.Landscape (0, 1, 8) Author: Jimmy Hazevoet **Short description of error** When generating a mesh with A.N.T.Landscape, the values from the operator panel (Adjust last Operation) are misinterpreted which results in a very distorted mesh. When I try to tweak the parameters to achieve something closer to the expected result, it seems like the offset and gain values under noise settings are way to sensitive, moving them just a tiny bit changes the mesh to much. **Exact steps for others to reproduce the error** 1. Enable Addon A.N.T.Landscape 2. Add Mesh --> Landscape 3. open Adjust last Operation Panel 4. Click on "Operator Presets" (at the very top of the panel) 5. Choose "Mountain 1" See the result here: ![ANT_2-92-0](https://archive.blender.org/developer/F9605133/ANT_2-92-0) And compare it to the results from the same preset from Blender 2.91.2 ![ANT_2-91-2](https://archive.blender.org/developer/F9605131/ANT_2-91-2)
Author

Added subscriber: @Simon_I

Added subscriber: @Simon_I
Author

When looking at A / ant_landscape I doubt that this is a problem with the addon itself. The latest change to the addon's code was from Oct 16 2020...

When looking at [A / ant_landscape ](https://developer.blender.org/diffusion/BA/browse/master/ant_landscape/) I doubt that this is a problem with the addon itself. The latest change to the addon's code was from Oct 16 2020...
Author

It looks like the distortion only occurs when using Noise Type "Ridged MFractal" or "Slick Mountains"

It looks like the distortion only occurs when using Noise Type "Ridged MFractal" or "Slick Mountains"

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Robert Guetzkow self-assigned this 2021-01-30 13:16:14 +01:00

The variable scope was improperly changed in 74188e6502. The declaration of the variable pwr should not have been moved into the loop since it was previously declared outside and pwr is modified in the loop. With the error introduced in the commit the value of pwr is reset in each iteration.

The variable scope was improperly changed in 74188e6502. The declaration of the variable `pwr` should not have been moved into the loop since it was previously declared outside and `pwr` is modified in the loop. With the error introduced in the commit the value of `pwr` is reset in each iteration.

This issue was referenced by 4a80c0e275

This issue was referenced by 4a80c0e27519b63929aa48b6fb1d673666829b21

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Thomas Dinges added this to the 2.92 milestone 2023-02-08 16:14:50 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#85225
No description provided.