Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Abc492] Handle Attribute Interpolation for Curves #588

Open
wants to merge 43 commits into
base: dev/feature/custom-attributes
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
f724fa8
transfer harcoded array of float
SanaJal Nov 14, 2023
ec63f6f
change subD to aiPolyMesh
SanaJal Nov 17, 2023
8c68f44
draft template function
SanaJal Nov 23, 2023
2182aa5
working hardcoded
SanaJal Nov 28, 2023
fe331e3
hardcoded transfer of data assigned to array of attributeData
SanaJal Dec 7, 2023
c575832
set uv using custom attribute hardcoded
SanaJal Dec 10, 2023
b3d31dc
generalize using switch step1
SanaJal Dec 13, 2023
072fa58
fix color and push isConstant to map arrays correctly
SanaJal Dec 13, 2023
b348186
get resize count within the summary + better memory managment
SanaJal Jan 2, 2024
f4c5d7c
remove commented testing function
SanaJal Jan 2, 2024
d16da86
remove commented function
SanaJal Jan 2, 2024
b849561
working curve support
SanaJal Jan 2, 2024
663111e
only read the one that we currently support
SanaJal Jan 3, 2024
1141b90
remove unused function
SanaJal Jan 3, 2024
65673d4
better memory managment
SanaJal Jan 4, 2024
a0241e0
clean
SanaJal Jan 8, 2024
53b3069
Use templates to process custom attributes (#583)
thomas-tu Jan 11, 2024
b9f91d1
working curve support
SanaJal Jan 2, 2024
9b75b95
only read the one that we currently support
SanaJal Jan 3, 2024
4e56802
remove unused function
SanaJal Jan 3, 2024
549340b
better memory managment
SanaJal Jan 4, 2024
4a2ab17
clean
SanaJal Jan 8, 2024
9003e43
working curve templated
SanaJal Jan 11, 2024
0fe7fad
templated copy data method
SanaJal Jan 12, 2024
a6c16fe
Merge branch 'ABC483-Support-curves' of https://github.com/Unity-Tech…
SanaJal Jan 12, 2024
b85c6e5
working curve support
SanaJal Jan 2, 2024
2dd3ec5
remove unused function
SanaJal Jan 3, 2024
8909a7a
working curve templated
SanaJal Jan 11, 2024
6d2b302
templated copy data method
SanaJal Jan 12, 2024
acf7568
Merge branch 'ABC483-Support-curves' of https://github.com/Unity-Tech…
SanaJal Jan 12, 2024
9a25b10
clean
SanaJal Jan 12, 2024
8841611
clean
SanaJal Jan 15, 2024
0a91d68
missing generalizaiton
SanaJal Jan 17, 2024
0bf2346
interpolation curve working
SanaJal Jan 25, 2024
fb532b0
rename att_int
SanaJal Jan 25, 2024
a406ac8
rename att_int
SanaJal Jan 25, 2024
8b547c2
apply formatting
SanaJal Jan 25, 2024
56e14b5
remove comment, change the type back to unisgned int and int
SanaJal Jan 25, 2024
d89d50f
remove static from function
SanaJal Jan 26, 2024
d3bbcb9
Merge remote-tracking branch 'origin/ABC464-Transfer-attributes' into…
SanaJal Feb 1, 2024
52613c2
revert static
SanaJal Feb 1, 2024
a17541e
Merge branch 'ABC-495-get-data-summary-curves' into ABC-492-hande-cur…
SanaJal Feb 1, 2024
2723c76
uncomment condition
SanaJal Feb 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions Source/abci/Importer/AlembicImporter.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ struct aiCurvesSummary
bool has_position = false;
bool has_UVs = false;
bool has_widths = false;
std::vector<bool>* constant_attributes = new std::vector<bool>();
};

struct aiPointsSummary
Expand All @@ -240,15 +241,15 @@ struct aiCurvesSampleSummary

struct aiCurvesData
{
bool visibility = true;
void* m_attributes;

abcV3 *positions = nullptr;
int32_t *numVertices = nullptr;
abcV2 *uvs = nullptr;
float *widths = nullptr;
abcV3 *velocities = nullptr;
int32_t count = 0;

bool visibility = true;
//abcV3 center = { 0.0f, 0.0f, 0.0f };
//abcV3 size = { 0.0f, 0.0f, 0.0f };
};
Expand Down