Blender Git Loki

Kaikki Blender Git kommitit.

Page: 3469 / 8462

February 11, 2018, 01:46 (GMT)
DRW Opengl Context: Adress comments on D3057

- Rename DRW_ogl_ctx_* to DRW_opengl_context_*
- Replace ThreadRWMutex with ThreadMutex
- Remove g_active_window
February 10, 2018, 22:50 (GMT)
fractal boolean with regular alignment, animation bind tweaks
February 10, 2018, 19:04 (GMT)
Fix error in OpenGL render

As F12 and OpenGL are detected as render mode, the pixel size was not correct.

I have added a check to verify if it is a real F12 render or it's a OpenGL.

Maybe this check must be removed if the OpenGL render operator is deprecated by a new system, but we need to keep the verification until them.
February 10, 2018, 16:58 (GMT)
Create multisample buffer for render

As render does not create default buffers by default, the render needs to create multisample default buffer in order to use antialiasing.
February 10, 2018, 16:16 (GMT)
Fix render artifacts

When 3D object was in front there was some noise.
February 10, 2018, 12:12 (GMT)
Fix render error when previous result is NULL
February 10, 2018, 11:56 (GMT)
Fix error when sky is transparent

If the sky is transprarent the zdepth value is not valid to check, so it's better don't copy the pixels.
February 10, 2018, 11:37 (GMT)
Interpolate render result for transparent colors

There is still some problems with AA.
February 10, 2018, 10:28 (GMT)
Cleanup: Rename variables
February 10, 2018, 10:26 (GMT)
Check exist grease pencil objects before render

If the scene has not grease pencil objects, it's not required to call grease pencil rendr functions.
February 10, 2018, 02:32 (GMT)
GHOST: Optimize and simplify the creation of a GHOST_Context on Windows

Instead of cloning the window to create dummyHWNDs and dummyHDCs to avoid calling the SetPixelFormat more than once in the same window, use the original window and HDC and do not call the SetPixelFormat again.

In addition to avoiding a lot of unnecessary calls, it simplifies the code and makes it match the others OS
February 10, 2018, 02:06 (GMT)
Support for the new GHOST API in Windows
February 9, 2018, 20:09 (GMT)
Merge remote-tracking branch 'origin/blender2.8' into temp-drawcontext
February 9, 2018, 20:04 (GMT)
DRW: Add own opengl context to DrawManager.

We create a new offscreen render context (without a window attached as allowed by ogl > 3.0) and use it to draw everything in the draw manager.
This require the context to be setup right. The output Framebuffer need to be created under the drawmanager context (because FBOs are not shared).
Same goes for deletion. Although, fix for proper deletion will come in another commit.

This should fix the MultiWindow/Threaded Render issue. Now every single batch drawn by the draw manager is declared and drawn by the same context.
So the VAO problem is gone and only one VAO per batch is needed.

VAO deletion is also a concern that still needs to be addressed correctly.

We still have issues with ownership and freeing
February 9, 2018, 20:04 (GMT)
GPU/DRW: Make sphere batch local to DrawManager.

Because it won't be possible to use batches created outside DrawManager in the DrawManager if it has its own context.
February 9, 2018, 20:04 (GMT)
WM: Add offscreen context functions.

Windows are drawn in order on one thread, the main thread. If the drawmanager is called the context is changed. wm_window_reset_drawable() function to reset the current window context to resume drawing.
February 9, 2018, 20:04 (GMT)
GHOST: Add interface to manage offscreen opengl contexts.

Only the X11 backend is present in this commit.

This is needed for the multiwindow support.
February 9, 2018, 19:36 (GMT)
Merge branch 'master' into blender2.8
February 9, 2018, 19:16 (GMT)
Eevee: Film filter default to 1.5 instead of 1.0

Cycles already uses 1.5 as default. BI original 1.0 filter doesn't look good for
Eevee. The ideal scenario would be for both Cycles AND Eevee to use the same DNA
setting.

But for now it is nice to at least have Eevee renders to look better by default.

Note: This handles doversion for 2.7x files only. Files previously created in
2.8 need to be manually corrected.
February 9, 2018, 19:10 (GMT)
Missed in previous commit
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021