Subdivision Surface modifier is not taken to account when rendering while in edit mode #58273

Closed
opened 2018-11-30 05:10:10 +01:00 by slawek · 8 comments

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

Blender Version
Broken:
2018-11-30 00:46, Hash: 4c31bed6b4, 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.

**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.
Author

Added subscriber: @nezumi

Added subscriber: @nezumi
Member

Added subscribers: @brecht, @lichtwerk

Added subscribers: @brecht, @lichtwerk
Brecht Van Lommel was assigned by Philipp Oeser 2018-11-30 11:29:58 +01:00
Member

Confirmed.
Not the case for Eevee though.

@brecht: mind having a look?

Confirmed. Not the case for Eevee though. @brecht: mind having a look?

Added subscriber: @you.le

Added subscriber: @you.le

This concerns only cycles.

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

p.diff

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:

current.jpg

Patched:

patched.jpg

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:

subsurfEditRender.blend

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

This concerns only cycles. I add this patch just to mark the places where is the concerned code: [p.diff](https://archive.blender.org/developer/F6893245/p.diff) 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: ![current.jpg](https://archive.blender.org/developer/F6893291/current.jpg) Patched: ![patched.jpg](https://archive.blender.org/developer/F6893293/patched.jpg) 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: [subsurfEditRender.blend](https://archive.blender.org/developer/F6893300/subsurfEditRender.blend) 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

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

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

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

This appears to be working now, probably after Sergey's latest depsgraph and mesh API changes.
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
4 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#58273
No description provided.