When the user is in camera view and the camera passepartout is set to 1, the rendering region of cycles should be only the visible area. This little patch create borders when the camera passepartout is set to 1. It allows a bit of performance improvements for those who will work with passepartout set to 1.
Details
Details
- Reviewers
Sergey Sharybin (sergey) Brecht Van Lommel (brecht) - Group Reviewers
Render & Cycles - Commits
- rB25316ef9d735: Cycles: optimize 3D viewport rendering with camera passepartout
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
There are some minor things we can address before committing the change, but overall I think is a good and useful improvement.
Not sure if @Brecht Van Lommel (brecht) wants to have a pass of review here as well?
| intern/cycles/blender/blender_camera.cpp | ||
|---|---|---|
| 913–915 | After more careful read this actually seems problematic in the following scenario:
| |
Comment Actions
Sorry, disregard the previous comment. Was confused between Camera, BlenderCamera, and BL::Camera. From testing it seems to work fine.
Wouldn't mind second pair of eyes though.