Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Something appears wrong with my hermite interpolation function ?

[DiscordArchive] Something appears wrong with my hermite interpolation function ?

[DiscordArchive] Something appears wrong with my hermite interpolation function ?

rektbyfaith
Administrator
0
01-15-2022, 10:31 PM
#1
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&]
rektbyfaith
01-15-2022, 10:31 PM #1

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&]

rektbyfaith
Administrator
0
01-15-2022, 10:31 PM
#2
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&]
rektbyfaith
01-15-2022, 10:31 PM #2

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&]

rektbyfaith
Administrator
0
01-15-2022, 10:34 PM
#3
Archived author: Foe • Posted: 2022-01-15T22:34:41.135000+00:00
Original source

Looks a bit wrong
rektbyfaith
01-15-2022, 10:34 PM #3

Archived author: Foe • Posted: 2022-01-15T22:34:41.135000+00:00
Original source

Looks a bit wrong

rektbyfaith
Administrator
0
01-15-2022, 10:34 PM
#4
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&]
rektbyfaith
01-15-2022, 10:34 PM #4

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&]

rektbyfaith
Administrator
0
01-15-2022, 10:38 PM
#5
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&]
rektbyfaith
01-15-2022, 10:38 PM #5

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&]

rektbyfaith
Administrator
0
01-15-2022, 10:39 PM
#6
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&]
rektbyfaith
01-15-2022, 10:39 PM #6

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&]

rektbyfaith
Administrator
0
01-15-2022, 10:42 PM
#7
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
rektbyfaith
01-15-2022, 10:42 PM #7

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

rektbyfaith
Administrator
0
01-15-2022, 10:43 PM
#8
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&]
rektbyfaith
01-15-2022, 10:43 PM #8

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&]

rektbyfaith
Administrator
0
01-15-2022, 10:44 PM
#9
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
rektbyfaith
01-15-2022, 10:44 PM #9

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

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)