Page MenuHome

OffscreenRendering: Fix Incorrect Window Coordinates
ClosedPublic

Authored by Jeroen Bakker (jbakker) on May 15 2019, 9:50 AM.

Details

Summary

When doing offscreen rendering (Viewport Render or Sequencer Scene
strip) EEVEE and workbench used the wrong window coordinates. These
coordinates included the border that was not drawn.

Now the viewcamtexcofac will be reset after calculating the area to
render, as the border will be cropped.

Perhaps we need to move the viewcamtexcofacI from ED_view3d_update_viewmat to its own method.

Diff Detail

Repository
rB Blender
Branch
T64505 (branched from master)
Build Status
Buildable 3602
Build 3602: arc lint + arc unit

Event Timeline

ED_view3d_update_viewmat already sets these values, ideally it would set them correct immediately?

Introduce view3d_main_region_setup_offscreen function

This revision is now accepted and ready to land.May 21 2019, 12:43 PM
This revision was automatically updated to reflect the committed changes.