[DiscordArchive] Something appears wrong with my hermite interpolation function ?
[DiscordArchive] Something appears wrong with my hermite interpolation function ?
![[Image: qtcreator_hUPN9HLhdh.png?ex=690c78f8&is=...19e4bf439&]](https://cdn.discordapp.com/attachments/415944535718494208/932039277938901092/qtcreator_hUPN9HLhdh.png?ex=690c78f8&is=690b2778&hm=6d33e005579e0a591ee5fca03899ae65f6417f3c70856062d35fd5919e4bf439&)
Archived author: Intemporel • Posted: 2022-01-15T22:31:20.494000+00:00
Original source
Something appears wrong with my hermite interpolation function ?
![[Image: qtcreator_hUPN9HLhdh.png?ex=690c78f8&is=...19e4bf439&]](https://cdn.discordapp.com/attachments/415944535718494208/932039277938901092/qtcreator_hUPN9HLhdh.png?ex=690c78f8&is=690b2778&hm=6d33e005579e0a591ee5fca03899ae65f6417f3c70856062d35fd5919e4bf439&)
![[Image: CameraCinematic_9YrFCEoRVJ.png?ex=690c79...5d02f5254&]](https://cdn.discordapp.com/attachments/415944535718494208/932039352039649300/CameraCinematic_9YrFCEoRVJ.png?ex=690c7909&is=690b2789&hm=562a38069ec28b81d6d4a0bb75993637581f51a80fc8b1e48f2dff35d02f5254&)
Archived author: Intemporel • Posted: 2022-01-15T22:31:38.145000+00:00
Original source
Because i've this result
![[Image: CameraCinematic_9YrFCEoRVJ.png?ex=690c79...5d02f5254&]](https://cdn.discordapp.com/attachments/415944535718494208/932039352039649300/CameraCinematic_9YrFCEoRVJ.png?ex=690c7909&is=690b2789&hm=562a38069ec28b81d6d4a0bb75993637581f51a80fc8b1e48f2dff35d02f5254&)
Archived author: Foe • Posted: 2022-01-15T22:34:41.135000+00:00
Original source
Looks a bit wrong
![[Image: qtcreator_DRVk3j64og.png?ex=690c79c2&is=...cea7d238d&]](https://cdn.discordapp.com/attachments/415944535718494208/932040127822315570/qtcreator_DRVk3j64og.png?ex=690c79c2&is=690b2842&hm=348a8182349d5e10ab5c7d2bd66a94489e754a69aec67a055df4e18cea7d238d&)
Archived author: Intemporel • Posted: 2022-01-15T22:34:42.998000+00:00
Original source
And here it's how i use the function and display the curve, the `data` variable contain all couples of vectors like i wrote in comment `value1`,
```cpp
QVector<QVector<QVector<float > > > data = {
value1, // see the first picture to show the content of valueX
value2
}
```
![[Image: qtcreator_DRVk3j64og.png?ex=690c79c2&is=...cea7d238d&]](https://cdn.discordapp.com/attachments/415944535718494208/932040127822315570/qtcreator_DRVk3j64og.png?ex=690c79c2&is=690b2842&hm=348a8182349d5e10ab5c7d2bd66a94489e754a69aec67a055df4e18cea7d238d&)
![[Image: CameraCinematic_XjU3YgG2GW.png?ex=690c7a...e716a36d3&]](https://cdn.discordapp.com/attachments/415944535718494208/932041020143714394/CameraCinematic_XjU3YgG2GW.png?ex=690c7a97&is=690b2917&hm=c675cc6086b0ec3b5f8f1ee395ccc1ed31352f6bd453e6d7189a4dde716a36d3&)
Archived author: Intemporel • Posted: 2022-01-15T22:38:15.836000+00:00
Original source
So sad because my linear interpolation work fine
![[Image: CameraCinematic_XjU3YgG2GW.png?ex=690c7a...e716a36d3&]](https://cdn.discordapp.com/attachments/415944535718494208/932041020143714394/CameraCinematic_XjU3YgG2GW.png?ex=690c7a97&is=690b2917&hm=c675cc6086b0ec3b5f8f1ee395ccc1ed31352f6bd453e6d7189a4dde716a36d3&)
![[Image: CameraCinematic_q2bjJ5YDN1.png?ex=690c7a...01f5adf77&]](https://cdn.discordapp.com/attachments/415944535718494208/932041364613509150/CameraCinematic_q2bjJ5YDN1.png?ex=690c7ae9&is=690b2969&hm=2329f9238bd772e36acb2513eb47ee0ad5feb36aeee73dfea76329f01f5adf77&)
Archived author: Intemporel • Posted: 2022-01-15T22:39:38.039000+00:00
Original source
Same path using hermite
![[Image: CameraCinematic_q2bjJ5YDN1.png?ex=690c7a...01f5adf77&]](https://cdn.discordapp.com/attachments/415944535718494208/932041364613509150/CameraCinematic_q2bjJ5YDN1.png?ex=690c7ae9&is=690b2969&hm=2329f9238bd772e36acb2513eb47ee0ad5feb36aeee73dfea76329f01f5adf77&)
Archived author: Foe • Posted: 2022-01-15T22:42:33.382000+00:00
Original source
I won't be of any help unfortunately, but interesting design
![[Image: CameraCinematic_lJjCD9JcHZ.png?ex=690c7b...7d0b9211a&]](https://cdn.discordapp.com/attachments/415944535718494208/932042459452690441/CameraCinematic_lJjCD9JcHZ.png?ex=690c7bee&is=690b2a6e&hm=85ab840ed0e7e33836a6e0665c66e64ca5d5bdb96514a36588f52e57d0b9211a&)
Archived author: Intemporel • Posted: 2022-01-15T22:43:58.985000+00:00
Original source
the curve is now continuous
![[Image: CameraCinematic_lJjCD9JcHZ.png?ex=690c7b...7d0b9211a&]](https://cdn.discordapp.com/attachments/415944535718494208/932042459452690441/CameraCinematic_lJjCD9JcHZ.png?ex=690c7bee&is=690b2a6e&hm=85ab840ed0e7e33836a6e0665c66e64ca5d5bdb96514a36588f52e57d0b9211a&)
Archived author: Intemporel • Posted: 2022-01-15T22:44:55.677000+00:00
Original source
`Axe1` & `Axe2` is my variable to know which axes is currently displayed, X/Y ; X/Z or Y/Z