Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Does that look right?

[DiscordArchive] Does that look right?

[DiscordArchive] Does that look right?

Pages (3): Previous 1 2 3 Next
rektbyfaith
Administrator
0
11-13-2022, 09:01 PM
#11
Archived author: Kaev • Posted: 2022-11-13T21:01:12.968000+00:00
Original source

screenPos.x \*= (viewportWidth * viewportHeight);
screenPos.y \*= (viewportWidth * viewportHeight);
screenPos.z \*= (viewportWidth * viewportHeight);
rektbyfaith
11-13-2022, 09:01 PM #11

Archived author: Kaev • Posted: 2022-11-13T21:01:12.968000+00:00
Original source

screenPos.x \*= (viewportWidth * viewportHeight);
screenPos.y \*= (viewportWidth * viewportHeight);
screenPos.z \*= (viewportWidth * viewportHeight);

rektbyfaith
Administrator
0
11-13-2022, 09:01 PM
#12
Archived author: Pursche • Posted: 2022-11-13T21:01:33.038000+00:00
Original source

Actually you can drop the third axis of the screenpos at this point, it would be depth which we don't care about.
rektbyfaith
11-13-2022, 09:01 PM #12

Archived author: Pursche • Posted: 2022-11-13T21:01:33.038000+00:00
Original source

Actually you can drop the third axis of the screenpos at this point, it would be depth which we don't care about.

rektbyfaith
Administrator
0
11-13-2022, 09:02 PM
#13
Archived author: bandysc • Posted: 2022-11-13T21:02:12.671000+00:00
Original source

x * width, y * height
rektbyfaith
11-13-2022, 09:02 PM #13

Archived author: bandysc • Posted: 2022-11-13T21:02:12.671000+00:00
Original source

x * width, y * height

rektbyfaith
Administrator
0
11-13-2022, 09:02 PM
#14
Archived author: Kaev • Posted: 2022-11-13T21:02:56.233000+00:00
Original source

wouldnt it be z instead of y because z is what y would be in the 3d coordinates?
rektbyfaith
11-13-2022, 09:02 PM #14

Archived author: Kaev • Posted: 2022-11-13T21:02:56.233000+00:00
Original source

wouldnt it be z instead of y because z is what y would be in the 3d coordinates?

rektbyfaith
Administrator
0
11-13-2022, 09:03 PM
#15
Archived author: Kaev • Posted: 2022-11-13T21:03:16.190000+00:00
Original source

y is up i think
rektbyfaith
11-13-2022, 09:03 PM #15

Archived author: Kaev • Posted: 2022-11-13T21:03:16.190000+00:00
Original source

y is up i think

rektbyfaith
Administrator
0
11-13-2022, 09:03 PM
#16
Archived author: bandysc • Posted: 2022-11-13T21:03:42.034000+00:00
Original source

at this point Y is really screen Y as far as I can see
rektbyfaith
11-13-2022, 09:03 PM #16

Archived author: bandysc • Posted: 2022-11-13T21:03:42.034000+00:00
Original source

at this point Y is really screen Y as far as I can see

rektbyfaith
Administrator
0
11-13-2022, 09:03 PM
#17
Archived author: Kaev • Posted: 2022-11-13T21:03:51.680000+00:00
Original source

kk
rektbyfaith
11-13-2022, 09:03 PM #17

Archived author: Kaev • Posted: 2022-11-13T21:03:51.680000+00:00
Original source

kk

rektbyfaith
Administrator
0
11-13-2022, 09:04 PM
#18
Archived author: Kaev • Posted: 2022-11-13T21:04:00.559000+00:00
Original source

so just
screenPos.x \*= viewportWidth;
screenPos.y \*= viewportHeight;
rektbyfaith
11-13-2022, 09:04 PM #18

Archived author: Kaev • Posted: 2022-11-13T21:04:00.559000+00:00
Original source

so just
screenPos.x \*= viewportWidth;
screenPos.y \*= viewportHeight;

rektbyfaith
Administrator
0
11-13-2022, 09:04 PM
#19
Archived author: Kaev • Posted: 2022-11-13T21:04:51.080000+00:00
Original source

i mean yeah that makes sense
rektbyfaith
11-13-2022, 09:04 PM #19

Archived author: Kaev • Posted: 2022-11-13T21:04:51.080000+00:00
Original source

i mean yeah that makes sense

rektbyfaith
Administrator
0
11-13-2022, 09:05 PM
#20
Archived author: Pursche • Posted: 2022-11-13T21:05:01.609000+00:00
Original source

Yep
rektbyfaith
11-13-2022, 09:05 PM #20

Archived author: Pursche • Posted: 2022-11-13T21:05:01.609000+00:00
Original source

Yep

Pages (3): Previous 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)