Page MenuHome

Multires Modifier - No smooth shading and no rotation depth.
Closed, ResolvedPublic

Description

System Information
Operating system: Windows 10
Graphics card: NVidia Geforce 940mx

Blender Version
Broken: blender-2.80.0-git.26d5a3625ed-windows64
(example: 2.79b release)
(example: 2.80, edbf15d3c044, blender2.8, 2018-11-28, as found on the splash screen)
Worked: (optional)

Short description of error
With Multires modifier in sculpt mode, the object only shows as flat shaded and the "auto depth" navigation function doesn't seem to work, so when you rotate the view it doesn't pivot from the point on the surface you click, but rather from the middle of the object.

Exact steps for others to reproduce the error
Create an object - add multires modifier - add at least one subdivision - be sure object is shaded smooth - enter sculpt mode - rotate the view (auto depth must be enabled in settings) - compare to the rotation outside sculpt mode.

It is a small thing. If this is not regarded as a bug, just let me know. I want to help as much as possible in the evolution of Blender 2.8 Beta

Details

Type
Bug

Event Timeline

I have a feeling that my bug is similar to this one. I'm on an Intel i3 2 core/ 4 thread, and have a GTX 750ti with the latest Nvidia drivers on Windows 10 64 bit. If I do the same procedure above, with just one multires level, the model disappears completely when rotating in sculpt mode.

with just one multires level, the model disappears completely when rotating in sculpt mode.

(Linux, git blender2.8 tip) It depends on the option "Number of subdivisions in sculpt mode".
For >1, it shows only one division during the view-port movement. The automatic depth positioning for the center point works only when sculpting the 'visible' subdiv #1 mesh points.

Sebastian Parborg (zeddb) triaged this task as Confirmed, Medium priority.

@Brecht Van Lommel (brecht), I don't know who to assign this to.

This one is kind of random to assign, issues could be in different parts of the code. @Sergey Sharybin (sergey), feel free to reassign.

The smooth shading is more for @Clément Foucault (fclem), AFAIR he did majority of the new code.

Rotation depth i am not sure what's going on, @Clément Foucault (fclem), after fixing the smooth shading, feel free to re-assign back to me.

For >1, it shows only one division during the view-port movement.

This is caused of the fast navigate option in the toolbar. This is not a bug.

@Sergey Sharybin (sergey) In GPU_pbvh_grid_buffers_update(), grid_flag_mats is currently NULL and leads to a Null pointer dereferencing. So I think it is not comming from the drawing code.

@Clément Foucault (fclem):At least here, multires objects in Sculpt Mode are always drawn as flat shaded objects, regardless of Fast Navigate being on.

@Clément Foucault (fclem), ah, if it's matter of filling in a flags array it should be a simple task :)

Shading is now fixed. The auto-depth i can't really see a difference between object and sculpt mode. Is it still an issue?

Hi Sergey Sharybin, smooth shading is working in multires modifier now but I have some new artifacts when I zoom/rotate and the mesh changes to lowres. I'm using hash: 779860d34e26
Watch here the behavior.

I'll mark this as resolved as I don't see any issue with auto depth either.