Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4469 / 8462

March 29, 2016, 00:19 (GMT)
Add assert to ensure HMD view is always fullscreen
March 28, 2016, 23:58 (GMT)
Cleanup: Unused variable/unused value
March 28, 2016, 23:42 (GMT)
Add build option WITH_INPUT_HMD

If we later want to support other drivers aside from OpenHMD, we only want OpenHMD to work at the low GHOST level. The new option is for the higher, driver independent level.
Since currently only OpenHMD is supported, I added a compile warning for the case HMD input is enabled and OpenHMD is disabled. Also added a compile error for the case OpenHMD is enabled and HMD input is disabled.

This means we now have 3 HMD build options:
* WITH_INPUT_HMD - General HMD support
* WITH_OPENHMD - OpenHMD driver support
* WITH_OPENHMD_DYNLOAD - Dynamic runtime OpenHMD deps loading

Actually, _INPUT_HMD isn't totally correct since it does more than just input, but wanted to stick to naming conventions.
March 28, 2016, 22:00 (GMT)
Merge branch 'master' into HMD_viewport
March 28, 2016, 21:51 (GMT)
Fix compiling with WITH_OPENHMD disabled
March 28, 2016, 21:40 (GMT)
Fix reading HMD window from file causing crash on session start
March 28, 2016, 21:02 (GMT)
Some hacks to disallow toggeling out of fullscreen in an HMD window
March 28, 2016, 19:38 (GMT)
Remove unused storage for lens distortion shader

Also removes unneeded button from UI and unneeded RNA defines.
March 28, 2016, 19:13 (GMT)
Fix memory leak in lens distortion shader

Also, the shader itself wasn't drawing previously, which it does now (but still incorrect).
March 28, 2016, 18:55 (GMT)
Sync Cycles UI code
March 28, 2016, 18:50 (GMT)
Option for HMD view lens distortion shader

Enabled by default. Note that shader is currently broken though.
March 28, 2016, 17:09 (GMT)
Fix HMD session not ended correctly when closing HMD view during session
March 28, 2016, 17:06 (GMT)
Cleanup: Tweak operator names
March 28, 2016, 16:19 (GMT)
Fix T47958: Crash in Walk or Fly Navigation in Camera mode when invoking from non-3DView region
March 28, 2016, 16:08 (GMT)
Cycles: Experiment with using Lambert cylindrical equal-area projection

This commit implements new panorama and environment texture projection
which is called after a dude named Lambert:

https://en.wikipedia.org/wiki/Lambert_cylindrical_equal-area_projection

Advantage of this projection is that it doesn't waste sampling time next
to the poles (which is a huge issue for the equirectangular projection).

Disadvantage of this model is that there'll be some distortion on the
poles when mapping it back to the sphere.

This is partially worked around by using scaling magic so there'll be
a bit more samples added on the top/bottom of the image (which makes it
technically a Roosendaal-Sharybin mapping since that's what we've been
discussing in the studio).

Maybe we should be more aggressive here with clamping of the sine, but
let's start doing some real-world tests first.
March 28, 2016, 16:07 (GMT)
Cycles: Experiment with native cubemap support in Cycles

This commit implements a native cubemap rendering in Cycles,
which is currently a research project with the following goals:

- Make it easier to render cubemaps for engines which supports
or expects them to be used.

- Intermediate projection to optimize rendering of equirectangular
camera.

Cube map layout is not currently standart but it's most efficient
from the resolution and storage point of views and it's currently:

+-------+-------+--------+
| Back | Right | Bottom |
+-------+-------+--------+
| Front | Left | Top |
+-------+-------+--------+

It's easy to re-map views in the future.

There are still issues to be solved, but it'll be nice to get
VR and panorama artists involved into feedback already. So the
limitations are:

- There's no auto-remapping to equirectangular map happening yet,
so the only way to see result is to put result to an environment
map with cubemap projection and either re-render or investigate
it in viewport.

- Projection formulas are not optimized by any mean. This is to
keep them totally obvious to make it easier to make further
tweaks.
March 28, 2016, 14:45 (GMT)
T47532: Pop-ups drop fast mouse clicks

Caused by rBc24be7ec6e5.

Before rBc24be7ec6e5, wm_handlers_do always called handlers a second time with event value KM_PRESS in case of a double click. After it, this was only the case for non-LEFTMOUSE events.
Since ui_popup_handler (almost) always returned WM_UI_HANDLER_BREAK, the second handler iteration with KM_PRESS wouldn't run. This fix just makes sure we return WM_UI_HANDLER_CONTINUE for double click events instead (causing second iteration to run).
March 28, 2016, 14:24 (GMT)
Fix T47969: Select Random always uses same seed

Increment the seed on each use,
otherwise calling again selects the same order, unless you manually adjust the seed.
March 28, 2016, 13:52 (GMT)
Fix T47972: Blender crash showing particle system.

Do same as with faces - if no orcodata is available, fill orco with current location...
March 28, 2016, 13:26 (GMT)
Fix T47973: Render stamp ignores font alpha
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021