Surface deform modifier says that convex polygons are concave in 0.01 unit scale scene #53398

Closed
opened 2017-11-26 20:05:10 +01:00 by Henrik Berglund · 4 comments

System Information
Win 8, GTX1070

Blender Version
Broken: 2.79 3f614cd (probably others too)

Short description of error

Surface deform modifier says that convex polygons are concave in 0.01 unit scale scene. See image: bug_surfacedeform_concavefaces.png
None of the angles are above 180 degrees which I thought was the definition of a concave face. Still, the modifier says that the target contains concave polygons. Note that this only happens in a 0.01 unit scale scene (custom scene scale is for Unreal Engine 4 compatibility).

I guess this means some mesh checking functions don't work in custom unit scale scenes which doesn't seem great.

Exact steps for others to reproduce the error

  1. Set unit scale to 0.01 metric.
  2. Create a plane. Rotate it and add a few subdivisions.
  3. Scale the top vertices out a bit.
  4. Create a cube. Add a surface deform modifier.
  5. Target the plane and bind. You get an error saying that the target contains concave polygons. (attached .blend file ends here)
  6. Set unit scale to 1 metric.
  7. Set the 3d cursor to the origin of the scene, set the pivot point to 3d cursor and scale down everything 100 times. Apply scale.
  8. Try binding the surface deform modifier again. Now it works.
    bug_surfacedeform_concavefaces.blend
**System Information** Win 8, GTX1070 **Blender Version** Broken: 2.79 3f614cd (probably others too) **Short description of error** Surface deform modifier says that convex polygons are concave in 0.01 unit scale scene. See image: ![bug_surfacedeform_concavefaces.png](https://archive.blender.org/developer/F1194021/bug_surfacedeform_concavefaces.png) None of the angles are above 180 degrees which I thought was the definition of a concave face. Still, the modifier says that the target contains concave polygons. Note that this only happens in a 0.01 unit scale scene (custom scene scale is for Unreal Engine 4 compatibility). I guess this means some mesh checking functions don't work in custom unit scale scenes which doesn't seem great. **Exact steps for others to reproduce the error** 1. Set unit scale to 0.01 metric. 2. Create a plane. Rotate it and add a few subdivisions. 3. Scale the top vertices out a bit. 4. Create a cube. Add a surface deform modifier. 5. Target the plane and bind. You get an error saying that the target contains concave polygons. (attached .blend file ends here) 6. Set unit scale to 1 metric. 7. Set the 3d cursor to the origin of the scene, set the pivot point to 3d cursor and scale down everything 100 times. Apply scale. 8. Try binding the surface deform modifier again. Now it works. [bug_surfacedeform_concavefaces.blend](https://archive.blender.org/developer/F1194030/bug_surfacedeform_concavefaces.blend)
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @cyaoeu

Added subscriber: @cyaoeu

This issue was referenced by a41fe949d8

This issue was referenced by a41fe949d8c346b246bdd1bff4ae50aee19ca859

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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#53398
No description provided.