Page MenuHome

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


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

Blender Version
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.



Event Timeline

Philipp Oeser (lichtwerk) triaged this task as Confirmed, Medium priority.

Not the case for Eevee though.

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

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:


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...?

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

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