Archived
1
Fork 0
Commit graph

29 commits

Author SHA1 Message Date
3c9835a662 Reformat example code 2022-08-15 11:08:00 -04:00
e7c157bb7b Choose 0.1 as a new reasonable default for camera near plane 2022-08-15 10:13:45 -04:00
c6da6e05ce Engine::create_empty_scene now returns the Scene it just created 2022-08-15 10:10:50 -04:00
ca2c2c9d3d Move all engine-specific models, materials etc. to a new base directory
This is a huge change, and basically breaks everything (as per usual!)

First of, this includes stuff like shaders so anything involving those
are broken and then fixed. A new BuildAssets cmake file is added to
aid in running AssetCompiler, and it seems to work fine on the engine
base assets.

The File API will eventually be revamped to handle this new way of
organizing the files and domains will eventually be gotten rid of all
together since I probably will replace it with game directory
priorities. As it stands right now, there isn't a way to easily
replace say - render_options.cfg with your own game-specific version.

Apple builds are probably broken by this commit (since I'm moving
around content and shader directories) to be fixed later.
2022-05-21 18:28:48 -04:00
526f35d953 Add asset pipeline tool to aid in converting to compiled game formats
This isn't invoked automatically (yet) but right now already compiles
non-existent models from the "content" directory to the game directory.
2022-05-21 17:52:24 -04:00
cbf1246e2f Change some references to "data" to the new "game" directory
This isn't comprehensive, but will get some things to work.
2022-05-21 17:49:24 -04:00
2f7cc31cc1 Rename "data" directory to "game" 2022-05-21 17:48:40 -04:00
5db6f02742 Actually use SKIP_DATA variable when adding platform executable 2022-05-21 17:47:15 -04:00
71d0eff8dc Revert "Next big changes to make WebGPU work"
This reverts commit 0a95ee2fa8.
2022-03-10 10:20:50 -05:00
0a95ee2fa8 Next big changes to make WebGPU work
Dynamic buffers are removed, since that's now the renderer's job. Texture usage and buffer usage has changed too.
2022-03-07 11:11:17 -05:00
e03d0eceac Add ability to load console commands from a cfg file 2022-02-21 17:37:27 -05:00
4f75d09eaf Move data folder into example directory 2022-02-21 17:37:10 -05:00
0265f1920e Default initialize some more variables in example 2022-02-21 00:15:46 -05:00
6935f85351 Start work on converting GFXMetal to metal-cpp 2022-02-15 11:25:13 -05:00
d30869cc5e Adjust point light sizes for example scene 2022-02-15 09:03:05 -05:00
31238c20ad Add some movement to the example scene 2022-02-08 10:19:30 -05:00
a773efdc35 Properly size environment probe in example scene 2022-02-08 08:32:49 -05:00
6b10ae96f8 Add more point lights to the example scene 2022-02-07 18:36:36 -05:00
aa8968625b Add sibenik scene to example app
* Sourced from McGuire Computer Graphics Archive
* New compiled materials from models are pointed to the textures directory by default
* New models are given a "material hint" for easier authoring, will be an seperate option later on
* Introduced model version 7
2022-02-03 10:49:02 -05:00
redstrate
e79a98c7d2 Some minor code refactoring 2021-10-14 08:51:58 -04:00
redstrate
f213d3d548 Fix resource path handling on macOS 2021-09-13 17:19:59 -04:00
redstrate
1c52c348ed Add sphere to example scene 2021-05-31 06:28:06 -04:00
redstrate
01966c1d81 Rename File -> file and move under the prism namespace 2021-05-12 08:50:02 -04:00
redstrate
4cd63997ce Specifying -1 in your window positions will make SDL center the window 2021-04-20 12:57:59 -04:00
redstrate
0935528d76 Make example app window resizable 2021-04-20 12:48:40 -04:00
redstrate
7d0d81c385 Add simple sky scene to example 2021-04-20 12:45:55 -04:00
redstrate
4a46786db0 Update example app to compile again 2021-04-20 12:17:49 -04:00
redstrate
744123763f Begin work on converting to the new class naming scheme and the new prism namespace 2021-04-19 12:06:44 -04:00
redstrate
97f67560df Add skeleton for future example 2020-12-28 15:45:09 -05:00