Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] MCSH chunk - wiki says it's uint1 shadow_map[64][64] - The text right below says it would be 8 bytes

[DiscordArchive] MCSH chunk - wiki says it's uint1 shadow_map[64][64] - The text right below says it would be 8 bytes

[DiscordArchive] MCSH chunk - wiki says it's uint1 shadow_map[64][64] - The text right below says it would be 8 bytes

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
07-05-2018, 11:42 AM
#1
Archived author: Kaev • Posted: 2018-07-05T11:42:09.005000+00:00
Original source

MCSH chunk - wiki says it's uint1 shadow_map[64][64] - The text right below says it would be 8 bytes * 64 bytes - Wouldn't it have to be 8x8 bytes instead of 8x64?
rektbyfaith
07-05-2018, 11:42 AM #1

Archived author: Kaev • Posted: 2018-07-05T11:42:09.005000+00:00
Original source

MCSH chunk - wiki says it's uint1 shadow_map[64][64] - The text right below says it would be 8 bytes * 64 bytes - Wouldn't it have to be 8x8 bytes instead of 8x64?

rektbyfaith
Administrator
0
07-05-2018, 11:42 AM
#2
Archived author: Deleted User • Posted: 2018-07-05T11:42:33.604000+00:00
Original source

8 Bytes per row
rektbyfaith
07-05-2018, 11:42 AM #2

Archived author: Deleted User • Posted: 2018-07-05T11:42:33.604000+00:00
Original source

8 Bytes per row

rektbyfaith
Administrator
0
07-05-2018, 11:43 AM
#3
Archived author: Kaev • Posted: 2018-07-05T11:43:01.574000+00:00
Original source

yeah, so 8x8
rektbyfaith
07-05-2018, 11:43 AM #3

Archived author: Kaev • Posted: 2018-07-05T11:43:01.574000+00:00
Original source

yeah, so 8x8

rektbyfaith
Administrator
0
07-05-2018, 11:43 AM
#4
Archived author: Kaev • Posted: 2018-07-05T11:43:12.808000+00:00
Original source

or am i just too stupid to understand it
rektbyfaith
07-05-2018, 11:43 AM #4

Archived author: Kaev • Posted: 2018-07-05T11:43:12.808000+00:00
Original source

or am i just too stupid to understand it

rektbyfaith
Administrator
0
07-05-2018, 11:43 AM
#5
Archived author: Deleted User • Posted: 2018-07-05T11:43:44.312000+00:00
Original source

64 rows with 8 bytes
rektbyfaith
07-05-2018, 11:43 AM #5

Archived author: Deleted User • Posted: 2018-07-05T11:43:44.312000+00:00
Original source

64 rows with 8 bytes

rektbyfaith
Administrator
0
07-05-2018, 11:44 AM
#6
Archived author: Deleted User • Posted: 2018-07-05T11:44:09.835000+00:00
Original source

Te values per row are compressed but you still need 64 rows
rektbyfaith
07-05-2018, 11:44 AM #6

Archived author: Deleted User • Posted: 2018-07-05T11:44:09.835000+00:00
Original source

Te values per row are compressed but you still need 64 rows

rektbyfaith
Administrator
0
07-05-2018, 11:45 AM
#7
Archived author: Kaev • Posted: 2018-07-05T11:45:25.416000+00:00
Original source

so in C# it would be byte[,] ShadowMap { get; set; } = new byte[64, 8]; right?
rektbyfaith
07-05-2018, 11:45 AM #7

Archived author: Kaev • Posted: 2018-07-05T11:45:25.416000+00:00
Original source

so in C# it would be byte[,] ShadowMap { get; set; } = new byte[64, 8]; right?

rektbyfaith
Administrator
0
07-05-2018, 11:45 AM
#8
Archived author: Kaev • Posted: 2018-07-05T11:45:40.821000+00:00
Original source

And then i have to parse out the bits of the bytes
rektbyfaith
07-05-2018, 11:45 AM #8

Archived author: Kaev • Posted: 2018-07-05T11:45:40.821000+00:00
Original source

And then i have to parse out the bits of the bytes

rektbyfaith
Administrator
0
07-05-2018, 11:46 AM
#9
Archived author: Deleted User • Posted: 2018-07-05T11:46:58.371000+00:00
Original source

That’s a possibility
rektbyfaith
07-05-2018, 11:46 AM #9

Archived author: Deleted User • Posted: 2018-07-05T11:46:58.371000+00:00
Original source

That’s a possibility

rektbyfaith
Administrator
0
07-05-2018, 11:48 AM
#10
Archived author: schlumpf • Posted: 2018-07-05T11:48:41.385000+00:00
Original source

`byte[64*64/CHAR_BIT]`
rektbyfaith
07-05-2018, 11:48 AM #10

Archived author: schlumpf • Posted: 2018-07-05T11:48:41.385000+00:00
Original source

`byte[64*64/CHAR_BIT]`

Pages (2): 1 2 Next
Recently Browsing
 
Recently Browsing