KhronosGroup / KhronosGroup/OpenCOLLADA

Q: Are CARDINAL and HERMITE identical? Notational?

Open
#523 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
679
Forks
260
PR merge metrics
No merged PRs in 30d

Description

The manuals offer scant information on curve functions, but they say about CARDINAL:

> where c is the tension parameter, which is a constant that modifies the length of the tangent. This
parameter is not specified separately in COLLADA 1.4 and is instead baked into the tangents that are
provided by the OUT_TANGENT and IN_TANGENT inputs to the sampler.

There is a matrix based formulation below, but it seems academic, since it's not defined in COLLADA's stated terms.

If the tension is "baked in" (note elsewhere it's suggested that IN/OUT_TANGENT is only used by BEZIER and HERMITE but here it's expressly used with CARDINAL) and CARDINAL is a cubic Hermite spline, and HERMITE is a cubic Hermite spline, then it stands to reason that CARDINAL is HERMITE and the distinction only communicates to editing tools that they can reconstruct the tension-constant from the data??

In which case, if the tension-constant is also in the HERMITE data would be an interesting question I suppose.

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the COLLADA 1.4 manual passages on CARDINAL, HERMITE, IN_TANGENT, and OUT_TANGENT, then compare their stated definitions and matrix formulations. Done means producing a clear, specification-backed explanation of whether CARDINAL and HERMITE are identical and how tension is represented.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.