Commit Graph

11 Commits

Author SHA1 Message Date
Alexander Bock 705c898ccd Asset File cleanup (#2713)
* Updating all assets to new coding style
* Cleaning up asset files
* Moving default_actions and default_keybindings files
* Changing procedural globes to explicitly specified globes
* Move Spice loading explicitly to the initialize part and also deinitialize
* Removing unused asset files
  * Removing asset_helper
  * Removing scale_model_helper asset
  * Removing script_scheduler_helper
  * Removing testing_keybindings
  * Remove procedural_globe
2023-05-28 17:23:20 +02:00
Malin E 6054a817d8 Move model loading code to initialiseGL, fixes #1838 2023-05-24 16:40:17 +02:00
Malin E 0490e94350 Fix modelshader example in Debug mode 2023-05-22 11:37:28 +02:00
Ylva Selling fbf40a4d79 Show animation in example asset modelshader.asset 2023-05-11 10:00:18 -04:00
Malin E f636b76469 Address more PR comments 2023-03-27 11:26:43 +02:00
Malin E bf25e4562a Invert the disable properties culling and depth test in models
* disableFaceCulling -> enableFaceCulling

* disableDepthTest -> enableDepthTest
2022-11-25 10:01:46 +01:00
Alexander Bock 6f25dd31e5 Make the Sun asset export the Sun as a light source (closes #1870) 2022-03-19 13:56:16 +01:00
Alexander Bock 8b74493d96 Removing the asset_helper file (#1868)
- Remove the asset_helper file and call the onInitialize and onDeinitialize functions directly
 - Small compile fix on Windows
 - Removes the need for the registerIdentifierWithMeta function by automatically doing that for all asset.export statements
 - Allow the passing of either identifiers (as before) or entire tables to the removeSceneGraphNode, removeScreenSpaceRenderable, deleteLayer, removeAction, and export methods. In that case, the Identifier key from the table is extracted and used instead
2022-02-01 23:44:36 +01:00
Alexander Bock 064a483b81 Cleanup and unifying coding style for asset files 2021-12-28 23:40:09 +01:00
Alexander Bock fdd995ba01 No longer require the filenames from a synced resource to start with a / 2021-12-28 00:10:01 +01:00
Alexander Bock b649509bf0 Feature/model shader (#1723)
* Add support for RenderableModel to take custom shader code
 * Added example to highlight usage
2021-08-24 10:45:19 +02:00