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

Rendering pipeline #1

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Rendering pipeline #1

wants to merge 13 commits into from

Conversation

royshil
Copy link
Contributor

@royshil royshil commented Jul 8, 2024

No description provided.

royshil added 13 commits July 3, 2024 20:10
This commit refactors the code by updating the asset-render.h and augmented-filter-data.h files. It removes the unnecessary parameter from the render_asset_3d function in asset-render.h and adds new variables and functions in augmented-filter-data.h. These changes improve the efficiency and functionality of the code.
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.
…necessary libraries

This commit updates the CMakeLists.txt file to include the new source files and link the necessary libraries. The added source files are:
- src/plugin-main.c
- src/augmented-filter.c
- src/augmented-filter.cpp
- src/asset-utils/asset-loader.cpp
- src/asset-utils/asset-render.cpp
- src/obs-utils/obs-utils.cpp
- src/asset-utils/render-utils.cpp

These changes ensure that the project builds correctly and includes all the required source files for the augmented filter functionality.
This commit updates the asset loader to include a new parameter, flipFaces, which allows for flipping the faces of the loaded asset. The load_asset function in asset-loader.h and asset-loader.cpp now accepts a bool parameter, flipFaces, which determines whether or not to flip the faces of the loaded asset. Additionally, the load_asset function now includes logic to adjust the vertex order if flipFaces is true.

The changes in augmented-filter-data.h include the addition of a new bool member variable, flipFaces, to the augmented_filter_data struct.

The FetchOpenCV.cmake file has been modified to include the necessary library, opencv_imgcodecs490.lib, for linking.

These changes improve code readability and maintainability in the asset loader module.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant