Object scale seems to be applied twice to Dyntopo Constant Detail #61040

Closed
opened 2019-01-30 23:41:03 +01:00 by Oskar Alexandersson · 4 comments

System Information
Operating system: Windows 10 64-bit
Graphics card: ASUS Strix GTX 1080 Advanced

Blender Version
Broken:
blender-2.80.0-git.a1ae04d15a9f-windows64 (Jan 30)
blender-2.80.0-git.1d908bffddb4-windows64 (Jan 24)

Works in:
blender-2.80.0-git.91a155833e59-windows64 (Jan 8)

Short description of error
I did search for similar bugs, and found some, but all closed. I also found this commit that seems related: https://developer.blender.org/rB22bc6142c3c505de2f2a9a85941c43236f53b941

Object scale seems to be applied twice to Dyntopo Constant Detail. The commit above argues that Constant Detail should be in world space, and maybe that's true, but that is definitely not what it is right now.

Exact steps for others to reproduce the error

  • From the default scene
  • Enable the wireframe overlay
  • Go to sculpt mode
  • Enable Dyntopo, Detailing: Constant Detail and set Resolution to 10
  • Draw on the cube, you get the expected detail level
  • Go to object mode
  • Press S, and type 0.1 to scale the cube down to 1/10 of it's original size
  • Go to Sculpt mode
  • Reenable Dyntopo (Verify it is still set to Constant Detail and Resolution 10)
  • Draw on the cube, the resulting mesh is now 10 times as high (more dense) as before

The only behaviour that seems intuitive to me is if constant detail is relative to a blender unit in the object's scale. If an object is scaled, I expect to be able to continue sculpting on that object with the same constant detail, and expect the same mesh resolution as the sculpting I did before the object was scaled. (This is how it worked in the build from January 8 above.) If I want the detail to be relative to world space, I expect to have to apply scale first.

But in any case, the current behaviour makes no sense.

**System Information** Operating system: Windows 10 64-bit Graphics card: ASUS Strix GTX 1080 Advanced **Blender Version** Broken: blender-2.80.0-git.a1ae04d15a9f-windows64 (Jan 30) blender-2.80.0-git.1d908bffddb4-windows64 (Jan 24) Works in: blender-2.80.0-git.91a155833e59-windows64 (Jan 8) **Short description of error** I did search for similar bugs, and found some, but all closed. I also found this commit that seems related: https://developer.blender.org/rB22bc6142c3c505de2f2a9a85941c43236f53b941 Object scale seems to be applied twice to Dyntopo Constant Detail. The commit above argues that Constant Detail should be in world space, and maybe that's true, but that is definitely not what it is right now. **Exact steps for others to reproduce the error** - From the default scene - Enable the wireframe overlay - Go to sculpt mode - Enable Dyntopo, Detailing: Constant Detail and set Resolution to 10 - Draw on the cube, you get the expected detail level - Go to object mode - Press S, and type 0.1 to scale the cube down to 1/10 of it's original size - Go to Sculpt mode - Reenable Dyntopo (Verify it is still set to Constant Detail and Resolution 10) - Draw on the cube, the resulting mesh is now 10 times as high (more dense) as before The only behaviour that seems intuitive to me is if constant detail is relative to a blender unit in the object's scale. If an object is scaled, I expect to be able to continue sculpting on that object with the same constant detail, and expect the same mesh resolution as the sculpting I did before the object was scaled. (This is how it worked in the build from January 8 above.) If I want the detail to be relative to world space, I expect to have to apply scale first. But in any case, the current behaviour makes no sense.

Added subscriber: @oskara

Added subscriber: @oskara
Member

Added subscribers: @brecht, @lichtwerk

Added subscribers: @brecht, @lichtwerk
Brecht Van Lommel was assigned by Philipp Oeser 2019-01-31 11:07:54 +01:00
Member

Maybe I am misunderstanding what 22bc6142c3 intends to do, but to me it seems wrong, too.

btw. tootip still reads
{SCULPT_DYNTOPO_DETAIL_CONSTANT, "CONSTANT", 0, "Constant Detail", "Mesh detail is constant in object space according to detail size"}

@brecht: are we getting it wrong?

Maybe I am misunderstanding what 22bc6142c3 intends to do, but to me it seems wrong, too. btw. tootip still reads `{SCULPT_DYNTOPO_DETAIL_CONSTANT, "CONSTANT", 0, "Constant Detail", "Mesh detail is constant in object space according to detail size"}` @brecht: are we getting it wrong?

Closed as duplicate of #61702

Closed as duplicate of #61702
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#61040
No description provided.