Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] noob questions:

[DiscordArchive] noob questions:

[DiscordArchive] noob questions:

rektbyfaith
Administrator
0
05-10-2023, 06:52 AM
#1
Archived author: 4bhorrent • Posted: 2023-05-10T06:52:45.527000+00:00
Original source

noob questions:
there are at least 3 matrix classes in use in the 335a client i know of:
C33Matrix
C34Matrix
C44Matrix
---
question 1:
is my assumption correct, that those are used for transforming, translating, rotating,... geometry?
---
question 2:
are those matrix functions of those classes running on the CPU or GPU?
---
question 3:
can one say which use case those classes usually are used for each (just rule of thumb)?
---
question 4:
if those functions run on the CPU, how feasable is it to improve them? i think there has been a new matrix multiplication formula being discovered not too long ago, which is more performant.SIMD also comes to mind: i know that not all CPUs would support it, but could one optimize it by using AVX512 or somesuch?
rektbyfaith
05-10-2023, 06:52 AM #1

Archived author: 4bhorrent • Posted: 2023-05-10T06:52:45.527000+00:00
Original source

noob questions:
there are at least 3 matrix classes in use in the 335a client i know of:
C33Matrix
C34Matrix
C44Matrix
---
question 1:
is my assumption correct, that those are used for transforming, translating, rotating,... geometry?
---
question 2:
are those matrix functions of those classes running on the CPU or GPU?
---
question 3:
can one say which use case those classes usually are used for each (just rule of thumb)?
---
question 4:
if those functions run on the CPU, how feasable is it to improve them? i think there has been a new matrix multiplication formula being discovered not too long ago, which is more performant.SIMD also comes to mind: i know that not all CPUs would support it, but could one optimize it by using AVX512 or somesuch?

rektbyfaith
Administrator
0
05-10-2023, 07:00 AM
#2
Archived author: robinsch • Posted: 2023-05-10T07:00:13.052000+00:00
Original source

2) CPU
rektbyfaith
05-10-2023, 07:00 AM #2

Archived author: robinsch • Posted: 2023-05-10T07:00:13.052000+00:00
Original source

2) CPU

rektbyfaith
Administrator
0
05-10-2023, 07:02 AM
#3
Archived author: robinsch • Posted: 2023-05-10T07:02:58.479000+00:00
Original source

I think C33 and C34 are just to save memory.
rektbyfaith
05-10-2023, 07:02 AM #3

Archived author: robinsch • Posted: 2023-05-10T07:02:58.479000+00:00
Original source

I think C33 and C34 are just to save memory.

rektbyfaith
Administrator
0
05-10-2023, 07:03 AM
#4
Archived author: Deamon • Posted: 2023-05-10T07:03:01.541000+00:00
Original source

C33 = rotation + scale
C44 = rotation + scale + translate
C34 = shortened version of c44
rektbyfaith
05-10-2023, 07:03 AM #4

Archived author: Deamon • Posted: 2023-05-10T07:03:01.541000+00:00
Original source

C33 = rotation + scale
C44 = rotation + scale + translate
C34 = shortened version of c44

rektbyfaith
Administrator
0
05-10-2023, 07:05 AM
#5
Archived author: Deamon • Posted: 2023-05-10T07:05:38.186000+00:00
Original source

And in 2d space, C33 is rotation + scale + translate
rektbyfaith
05-10-2023, 07:05 AM #5

Archived author: Deamon • Posted: 2023-05-10T07:05:38.186000+00:00
Original source

And in 2d space, C33 is rotation + scale + translate

rektbyfaith
Administrator
0
05-10-2023, 07:06 AM
#6
Archived author: Deamon • Posted: 2023-05-10T07:06:37.742000+00:00
Original source

It's all math. I tried to explain it in the past. But it takes a lot of time. And in the end ppl still understood nothing.

So I won't bother
rektbyfaith
05-10-2023, 07:06 AM #6

Archived author: Deamon • Posted: 2023-05-10T07:06:37.742000+00:00
Original source

It's all math. I tried to explain it in the past. But it takes a lot of time. And in the end ppl still understood nothing.

So I won't bother

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