Blender Git Commit Log

Git Commits -> Revision 0305fc3

Revision 0305fc3 by Dalai Felinto (master)
February 23, 2018, 16:26 (GMT)
Fix border rendering for eevee + stop passing render result around

Technically the original issue is that xof/yof in render result is calculated
for drawing border render. So a simpler patch could be:

- rr->xof = re->disprect.xmin;
+ rr->xof = re->disprect.xmin + BLI_rcti_cent_x(&re->disprect) - (re->winx / 2);

However everywhere in the code we are getting border directly from re->disprect
which we may as well do here too.

Besides I'm taking this as a chance to get rid of RenderResult in the internal
loop of eevee, to help prepare the code to the upcoming rendering pipeline

Commit Details:

Full Hash: 0305fc30b3ba6a1b24e2c9c182ae2e76d553f341
Parent Commit: 5127910
Lines Changed: +36, -31

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021