Blender Git Commits

Blender Git commits from all branches.

Page: 1269 / 2888

July 1, 2019, 15:02 (GMT)
minor cleanup
July 1, 2019, 14:57 (GMT)
cleanup bounce code a little
July 1, 2019, 13:57 (GMT)
Initial HMD viewport rendering (DirectX only first)

Finally: This makes it possible to render a viewport to an HMD via
OpenXR. Pure OpenGL rendering will need some more tweaks to work.
To my great delight, performance is quite good for reasonably sized
scenes.

Had to do some hacks and marked some TODOs. Nothing too bad though.

Here are a couple of notes:
* Current initial pose is pretty useless, think it just looks downwards
from world origin. Will change that soon.
* The rendered viewport has some issues: Too dark (bad lighting?), grid
doesn't show up even though I told it to, lighting seems to change with
view position/rotation, etc. Needs some polish.
* Ideally we'd just use the D3D11 Texture given to us via the OpenXR
swapchain and blit the OpenGL framebuffer into that. However the
NV_DX_interop extension fails doing this. Seems like this is a NVidia
Optimus only issue, but I'm missing the hardware to confirm.
So instead, we blit into the D3D11 back buffer first and then into the
Texture.
* The draw-manager uses its own offscreen context so we have to get the
render result from the draw-manager context to the VR session's
context first. Luckily I've already added code to support blitting from
one OpenGL context into another. But it requires blitting twice.
Blitting should be very cheap, but still...
Draw-manager could get a context to use passed instead.
July 1, 2019, 13:53 (GMT)
remove comments that are more confusing than helpful
July 1, 2019, 13:50 (GMT)
Merge branch 'master' into greasepencil-object
July 1, 2019, 13:47 (GMT)
cleanup event handling code
July 1, 2019, 13:40 (GMT)
comment on time span
July 1, 2019, 13:36 (GMT)
comment on particle block
July 1, 2019, 13:26 (GMT)
rename block.size() to block.capacity()
July 1, 2019, 13:25 (GMT)
rename inactive to unused to avoid confusion
July 1, 2019, 13:21 (GMT)
rename block.slice() to block.attributes_slice()
July 1, 2019, 13:19 (GMT)
rename block.slice_all() to block.attributes_all()
July 1, 2019, 13:16 (GMT)
rename block.slice_active() to block.attributes()
July 1, 2019, 13:14 (GMT)
comment on particles container
July 1, 2019, 13:05 (GMT)
Cloth: added support for edge size with vert

Important for collapse edges, it determines the edge size when the edge is collapsed (does not actually collapse edge)
July 1, 2019, 13:02 (GMT)
Comment on AttributeArraysCore and AttributeArrays
July 1, 2019, 12:48 (GMT)
comments for AttributeInfo
July 1, 2019, 12:22 (GMT)
Gpencil: Stretch function now handles short segments and double points.
July 1, 2019, 12:14 (GMT)
cleanup extracting all particle positions
July 1, 2019, 12:01 (GMT)
make sure event data is not overwritten by later events
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021