Carter Anderson
bd97da3a51
Add comments to examples and fix example_showcase script timing
2020-04-06 21:33:18 -07:00
Carter Anderson
574bc93e4f
expand top level crate docs slightly and add hello world example
2020-04-06 17:39:06 -07:00
Carter Anderson
0af36cfaed
make every bevy dependency optional in bevy crate
2020-04-06 17:03:21 -07:00
Carter Anderson
b5d78477cf
cargo fmt
2020-04-06 16:15:59 -07:00
Carter Anderson
683a70d8e7
add SchedulePlans
2020-04-06 01:57:00 -07:00
Carter Anderson
686e1422db
Crate-ify (almost) everything
2020-04-05 20:19:02 -07:00
Carter Anderson
0202dcb009
Use type_name as plugin name default
2020-04-05 14:12:14 -07:00
Carter Anderson
6d53100ff3
mouse motion
2020-04-05 00:32:53 -07:00
Carter Anderson
ec65cfef4a
Add mouse input
2020-04-04 23:42:39 -07:00
Carter Anderson
f089df3a49
keyboard input events
2020-04-04 14:59:49 -07:00
Carter Anderson
4c3af427e9
dont force static lifetime on appplugin string
2020-04-04 13:00:52 -07:00
Carter Anderson
ef8c85f0c7
cargo fmt
2020-04-04 12:43:16 -07:00
Carter Anderson
5cbf606ef7
make window its own plugin and rename add_defaults to add_default_plugins
2020-04-04 12:40:32 -07:00
Carter Anderson
f6f8ba2cb6
Document and test Events. Rename EventHandle to EventReader. Fix buffer indexing. Customizable bevy path for proc macros
2020-03-31 18:04:54 -07:00
Carter Anderson
70b4100132
using consistent system naming conventions
2020-03-30 15:51:41 -07:00
Carter Anderson
dcb292e00a
quad uses size. polish examples
2020-03-30 15:44:29 -07:00
Carter Anderson
29bbc05eae
add support for multiple windows
2020-03-30 14:53:32 -07:00
Carter Anderson
7c121563db
headless apps
2020-03-30 11:52:33 -07:00
Carter Anderson
13da707aee
add event example
2020-03-29 23:51:13 -07:00
Carter Anderson
d8e7a3dcca
fix material shader example
2020-03-29 01:34:08 -07:00
Carter Anderson
3d261f72de
move plugin to app module
2020-03-29 01:15:47 -07:00
Carter Anderson
ec84a33b43
everything is a plugin
...
... well almost everything
2020-03-28 23:18:33 -07:00
Carter Anderson
ed9eb88835
only create wgpu swap chain when surface is ready
2020-03-28 13:57:41 -07:00
Carter Anderson
26ff878469
add default diagnostics wait time
2020-03-28 13:55:55 -07:00
Carter Anderson
92c421b5e1
add empty_defaults example
2020-03-27 18:00:21 -07:00
Carter Anderson
93bf728475
new Diagnostics system
2020-03-27 15:03:47 -07:00
Carter Anderson
e523dc92d8
shader_def: use to_upper instead of to_screaming_snake
2020-03-25 13:24:17 -07:00
Carter Anderson
a0fa4d2d79
cargo fmt
2020-03-22 11:06:08 -07:00
Carter Anderson
eaff311a80
simplify render graph builder interface
2020-03-22 03:06:08 -07:00
Carter Anderson
c6d7402318
add bevy_derive to prelude
2020-03-22 01:33:53 -07:00
Carter Anderson
5d893a83f2
remove unneeded light rotation
2020-03-22 01:16:29 -07:00
Carter Anderson
c9aec26f88
CommandBufferBuilder and setup systems
2020-03-21 22:35:57 -07:00
Carter Anderson
d2e160d44a
refactor cameras. add defaults
2020-03-21 21:55:33 -07:00
Carter Anderson
fb496a6172
validate VertexBufferDescriptors and fill in blanks when possible
2020-03-21 21:10:58 -07:00
Carter Anderson
a4eed18800
RenderGraph is now a Resource. RenderGraph owns vertex buffer descriptors. Assorted cleanup
2020-03-21 19:57:59 -07:00
Carter Anderson
7660b8bf3f
batched resource creation, vertex buffer macro
2020-03-21 18:12:30 -07:00
Carter Anderson
ae0d5abf45
use RenderResourceAssignments in place of Entity
2020-03-20 17:49:29 -07:00
Carter Anderson
71d091e10c
entities with renderable.is_instanced are now removed from normal rendering
2020-03-20 16:58:21 -07:00
Carter Anderson
cbba656f16
replace appbuilder::new() with app::build()
2020-03-20 16:35:19 -07:00
Carter Anderson
9881f64715
cargo fmt
2020-03-20 12:47:33 -07:00
Carter Anderson
04590de678
separate albedo color and make it required
...
I worked really hard to make ColorSource work, but sadly we need color to be instanceable and making it optional would add too much complexity. Maybe at some point in the future we can add it back. On the plus side, albedo color now modulates the albedo texture
2020-03-17 22:02:01 -07:00
Carter Anderson
28fb0fdfc8
Reflect Vertex Buffer Attributes
...
Must follow VertexBufferDescriptorName_AttributeName format
I_VertexBufferDescriptorName_AttributeName indicates that an attribute is instanced
Currently all attributes must be defined in shaders or offsets will be incorrect.
2020-03-17 13:20:54 -07:00
Carter Anderson
5d99f3a7e8
Add Handle<T> support to uniform resource provider. Use Handle<StandardMaterial> instead of StandardMaterial
2020-03-16 00:45:28 -07:00
Carter Anderson
63f40589e3
begin instancing work
2020-03-14 12:58:22 -07:00
Carter Anderson
56e79d5225
reorganize texture and mesh
2020-03-14 12:56:37 -07:00
Carter Anderson
ad654a3c25
add fps printer system to diagnostics mod
2020-03-11 01:44:46 -07:00
Carter Anderson
7342f96174
named pipelines (makes custom shaders easier)
2020-03-10 02:46:27 -07:00
Carter Anderson
fb4752532b
rename pipelinebuilder.build() to finish()
2020-03-10 02:16:01 -07:00
Carter Anderson
807929f9e3
fix plugin example
2020-03-09 23:50:17 -07:00
Carter Anderson
99cdf56e7d
add Color type
2020-03-09 23:43:40 -07:00