Commit Graph

136 Commits

Author SHA1 Message Date
Robin KAY a55c60fd21 Change outline normal generator to use face normals. 2023-03-19 12:34:14 +00:00
Robin KAY cf7358cc44 Move features needed for animated_fox exameple into baseline dev deps. 2023-03-17 22:28:08 +00:00
Robin KAY fc74926073 Fix missing check that scene is loaded in animated_fox example. 2023-03-17 01:00:38 +00:00
Robin KAY 79285311f2 Add enabled flag to OutlineStencil. 2023-03-16 22:03:38 +00:00
Robin KAY 2a4184ab32 Fix outline depth being propagated onto children without InheritOutlineDepth. 2023-03-16 01:27:06 +00:00
Robin KAY d84e476c78 Port to Bevy 0.10. 2023-03-10 18:43:13 +00:00
Robin KAY 2bb0ba2b20 Update version and change-log for 0.3.5. 2023-03-08 08:18:05 +00:00
Robin KAY 12fa2e5448 Fix regression in SetOutlineDepth::Real. 2023-03-08 08:14:41 +00:00
Robin KAY bf1f1b3785 Update version and change-log for 0.3.4. 2023-03-08 00:18:47 +00:00
Robin KAY 64645e387d
Add screenshot to the README. 2023-03-08 00:06:39 +00:00
Robin KAY 0df3735906 Fix bad clipping of triangles behind the camera. 2023-03-07 23:46:58 +00:00
Robin KAY 5f06c32bcf Fix texture format error when HDR is enabled. 2023-03-05 20:42:10 +00:00
Robin KAY a8233ff7fa Update version and change-log for 0.3.3. 2023-02-21 21:52:57 +00:00
Robin KAY 9bba5983b3 Change Example heading to plural. 2023-02-21 21:42:13 +00:00
Robin KAY 1df14ec883 Add example missing from README. 2023-02-21 21:41:11 +00:00
Robin KAY c33cfd7acd Change CI from actions-rs to rust-toolchain. 2023-02-21 21:21:41 +00:00
Robin KAY 78081558bb Change flat flag to enum. 2023-02-21 21:12:44 +00:00
Robin KAY 6896b5ae73 Fix not initialising ComputedOutlineDepth when first Added. 2023-02-21 21:05:30 +00:00
Grey 3f2deedb93
Always recompute outline depth when SetOutlineDepth is changed (#10).
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
2023-02-20 23:20:21 +00:00
Robin KAY db6d6f6722 Update version and change-log for 0.3.2. 2023-01-14 23:59:33 +00:00
Robin KAY 2d900248f0 Change to use RenderLayers if OutlineRenderLayers not present. 2023-01-14 23:51:44 +00:00
Robin KAY a50107426b Change render_layers example to use point lighting since Bevy 0.8 bug is fixed. 2023-01-14 02:45:56 +00:00
Robin KAY b414243baa Add render_layers example. 2023-01-14 02:38:53 +00:00
Robin KAY ae1fe650c6 Merge pull request #9 from mxgrey/outline_render_layers_v0.2
Introduce OutlineRenderLayers for masking which views an outline appears on.
2023-01-14 02:36:03 +00:00
Robin KAY cfd5d12261 Update version and change-log for 0.3.1. 2023-01-05 03:07:40 +00:00
Robin KAY c70c3d3b76 Fix interpolation of enabled flag. 2023-01-05 02:58:10 +00:00
Robin KAY 7b5650fbdb Add non-flat depth mode. 2023-01-03 02:06:45 +00:00
Robin KAY 10f2d985d3 Add Lerp trait impls for outline volume and stencil types. 2022-12-31 04:57:13 +00:00
Robin KAY 20a9386437 Update read-me and change-log for 0.3.0. 2022-11-22 22:43:41 +00:00
Robin KAY cc388a5f61 Factor outline definition into variable. 2022-11-22 22:42:25 +00:00
Robin KAY fd5cfd0a1c Fix whitespace. 2022-11-22 22:37:29 +00:00
Robin KAY 055a5115dd Update top-level docs. 2022-11-22 21:30:54 +00:00
Robin KAY d41057f905 Restrict more internal symbols to crate visibility. 2022-11-22 20:20:45 +00:00
Robin KAY 4a292ca6bc Rename Outline component to OutlineVolume. 2022-11-22 19:11:36 +00:00
Robin KAY 5ae478efe1 Port to Bevy 0.9. 2022-11-22 00:05:47 +00:00
Robin KAY 8afc8f9d14 Add SetOutlineDepth component. 2022-11-21 23:46:36 +00:00
Robin KAY a792cca681 Fix phase item sorting to use ComputedOutlineDepth. 2022-11-21 23:44:52 +00:00
Robin KAY 59d867bf1f Add offset field to OutlineStencil and offset_zero flag to pipeline key. 2022-11-21 20:32:25 +00:00
Robin KAY 5898d7c17c Change mesh pipeline key to a bitfield. 2022-11-20 21:40:22 +00:00
Robin KAY 0f9c52cc38 Fix animated_fox example. 2022-11-18 21:43:15 +00:00
Robin KAY e86c6d6c60 Unify stencil and volume shaders. 2022-11-18 00:50:52 +00:00
Robin KAY 95b3a5b298 Fix leftover use of the align16 feature. 2022-11-17 22:17:04 +00:00
Robin KAY 55dd3a07a8 Rename OutlinePlane to OutlineDepth. 2022-11-17 22:15:13 +00:00
Robin KAY e1c845c434 Add ComputedOutlinePlane and an example. 2022-11-17 00:25:54 +00:00
Robin KAY 6781476bf0 Remove errant debug println. 2022-10-13 01:06:04 +01:00
Robin KAY af6afd1ff1 Update version and change-log for 0.2.4. 2022-10-12 18:44:05 +01:00
Robin KAY 0f4098714b Add support for jointed (skinned) models. 2022-10-12 18:31:02 +01:00
Robin KAY 5a2dc4a728 Update version and change-log for 0.2.3. 2022-08-28 11:19:43 +01:00
Robin KAY 94e1742b44 Add AutoGenerateOutlineNormalsPluign. 2022-08-28 11:00:20 +01:00
Robin KAY 4cf0082cbb Fix typo. 2022-08-23 23:01:01 +01:00