Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
refactor: Add new 3D asset options to augmented filter properties
Browse files Browse the repository at this point in the history
This commit adds new 3D asset options to the augmented filter properties in the augmented-filter.cpp file. The assets "Crown_02_v1dot4", "Crown_02_v1dot5", "Crown_03_v1dot4_PBRcol", "Crown_04_v1dot4_PBRref", and "Crown_05_blend" are now available for selection in the properties dropdown list. This enhancement improves the functionality of the augmented filter by providing more diverse asset options for users.
  • Loading branch information
royshil committed Jul 8, 2024
1 parent d2bf6f0 commit b53bb3c
Show file tree
Hide file tree
Showing 6 changed files with 706 additions and 0 deletions.
138 changes: 138 additions & 0 deletions data/assets/Crown_02_v1dot4.dae

Large diffs are not rendered by default.

140 changes: 140 additions & 0 deletions data/assets/Crown_02_v1dot5.dae

Large diffs are not rendered by default.

144 changes: 144 additions & 0 deletions data/assets/Crown_03_v1dot4_PBRcol.dae

Large diffs are not rendered by default.

138 changes: 138 additions & 0 deletions data/assets/Crown_04_v1dot4_PBRref.dae

Large diffs are not rendered by default.

136 changes: 136 additions & 0 deletions data/assets/Crown_05_blend.dae

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions src/augmented-filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,16 @@ obs_properties_t *augmented_filter_properties(void *data)
OBS_COMBO_FORMAT_STRING);
obs_property_list_add_string(asset_list, "Crown", "assets/crown.dae");
obs_property_list_add_string(asset_list, "Ghost", "assets/ghost.dae");
obs_property_list_add_string(asset_list, "Crown_02_v1dot4",
"assets/Crown_02_v1dot4.dae");
obs_property_list_add_string(asset_list, "Crown_02_v1dot5",
"assets/Crown_02_v1dot5.dae");
obs_property_list_add_string(asset_list, "Crown_03_v1dot4_PBRcol",
"assets/Crown_03_v1dot4_PBRcol.dae");
obs_property_list_add_string(asset_list, "Crown_04_v1dot4_PBRref",
"assets/Crown_04_v1dot4_PBRref.dae");
obs_property_list_add_string(asset_list, "Crown_05_blend",
"assets/Crown_05_blend.dae");

// add slider for rotation
obs_properties_add_float_slider(props, "rotation", "Rotation", -180.0,
Expand Down

0 comments on commit b53bb3c

Please sign in to comment.