Maniphest T58273

Subdivision Surface modifier is not taken to account when rendering while in edit mode
Closed, Resolved

Assigned To
Brecht Van Lommel (brecht)
Authored By
slawek (nezumi)
Nov 30 2018, 5:10 AM
Tags
  • Modifiers
  • Render Pipeline
  • Cycles
  • BF Blender
Subscribers
Brecht Van Lommel (brecht)
Philipp Oeser (lichtwerk)
slawek (nezumi)
Ulysse Martin (youle)

Description

System Information
Operating system: Windows 7
Graphics card: GTX 1070

Blender Version
Broken:
2018-11-30 00:46, Hash: 4c31bed6b46, Branch: blender2.8

Worked: (optional) 2.79

Like in subject. Subdivision Surface modifier not taken to account when rendering while starting rendering in edit mode

Exact steps for others to reproduce the error
create cube, give it Subdivision Surface modifier with few subdivisions, set camera on it. Then enter edit mode and hit F12 to start render while in edit mode. Cube will be rendered without modifier effect.

Related Objects

Mentioned In
T80768: Subdivision Surface modifier uses viewport subdivision settings when rendering in edit mode
Mentioned Here
rB4c31bed6b462: Fix T57981: Crash entering sculpt mode

Event Timeline

slawek (nezumi) created this task.Nov 30 2018, 5:10 AM
Christopher_Anderssarian edited projects, added BF Blender: 2.8, Modifiers, Render Pipeline; removed BF Blender.Nov 30 2018, 10:43 AM
Philipp Oeser (lichtwerk) assigned this task to Brecht Van Lommel (brecht).Nov 30 2018, 11:29 AM
Philipp Oeser (lichtwerk) lowered the priority of this task from 90 to 50.
Philipp Oeser (lichtwerk) added a project: Cycles.
Philipp Oeser (lichtwerk) added subscribers: Brecht Van Lommel (brecht), Philipp Oeser (lichtwerk).

Confirmed.
Not the case for Eevee though.

@Brecht Van Lommel (brecht): mind having a look?

Brecht Van Lommel (brecht) edited projects, added BF Blender; removed BF Blender: 2.8.Dec 11 2018, 3:08 PM
Ulysse Martin (youle) added a subscriber: Ulysse Martin (youle).EditedMar 28 2019, 1:16 AM

This concerns only cycles.

I add this patch just to mark the places where is the concerned code:

I saw that work had already been done about that (or similar) because there is code tagged as experimental.

I don't know if it can really be considered as a bug because applying this patch causes weird rendering when we are in edit mode + when we "Display Render preview"

Current behaviour:

Patched:

Else, this is fixing the F12 render from edit mode, but idk if it is worth to work on a real fix for that, as it can generate unexpected behaviours (with edit cages...), and as it is easy to switch to object mode to render.

test file:

Ah i didn't saw it was working in 2.79...?

Ulysse Martin (youle) added a comment.EditedMar 28 2019, 1:22 AM

Or maybe it is possible to force to go in object mode before F12 rendering

Brecht Van Lommel (brecht) changed the task status from Unknown Status to Resolved.May 23 2019, 1:55 AM

This appears to be working now, probably after Sergey's latest depsgraph and mesh API changes.