Revision 145e061 by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) July 1, 2019, 15:02 (GMT) |
minor cleanup |
Revision 05027c4 by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) July 1, 2019, 14:57 (GMT) |
cleanup bounce code a little |
Revision 2cedad9 by Julian Eisel (soc-2019-openxr, temp-vr-draw-thread, vamr-openxr-module, vr_scene_inspection) 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. |
Revision d7e2e5f by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) July 1, 2019, 13:53 (GMT) |
remove comments that are more confusing than helpful |
Revision 98e744c by Antonio Vazquez (greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval) July 1, 2019, 13:50 (GMT) |
Merge branch 'master' into greasepencil-object |
Revision ad516ed by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) July 1, 2019, 13:47 (GMT) |
cleanup event handling code |
Revision 6ae9324 by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) July 1, 2019, 13:40 (GMT) |
comment on time span |
Revision 8a6a59d by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) July 1, 2019, 13:36 (GMT) |
comment on particle block |
Revision 7e2418a by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) July 1, 2019, 13:26 (GMT) |
rename block.size() to block.capacity() |
Revision 7afeb97 by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) July 1, 2019, 13:25 (GMT) |
rename inactive to unused to avoid confusion |
Revision f52ff92 by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) July 1, 2019, 13:21 (GMT) |
rename block.slice() to block.attributes_slice() |
Revision ab0c7b8 by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) July 1, 2019, 13:19 (GMT) |
rename block.slice_all() to block.attributes_all() |
Revision f67bb0a by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) July 1, 2019, 13:16 (GMT) |
rename block.slice_active() to block.attributes() |
Revision c74de0c by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) 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) |
Revision b9baffc by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) July 1, 2019, 13:02 (GMT) |
Comment on AttributeArraysCore and AttributeArrays |
Revision eb3fc2c by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) July 1, 2019, 12:48 (GMT) |
comments for AttributeInfo |
Revision 8d8200c by YimingWu (greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval) July 1, 2019, 12:22 (GMT) |
Gpencil: Stretch function now handles short segments and double points. |
Revision 468e2b8 by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) July 1, 2019, 12:14 (GMT) |
cleanup extracting all particle positions |
Revision 0de90d6 by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) July 1, 2019, 12:01 (GMT) |
make sure event data is not overwritten by later events |
|