Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] shelby, in you vmaps gen how you check isRenderFace now, if render flag miss?

[DiscordArchive] shelby, in you vmaps gen how you check isRenderFace now, if render flag miss?

[DiscordArchive] shelby, in you vmaps gen how you check isRenderFace now, if render flag miss?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
11-23-2022, 10:21 AM
#11
Archived author: shelby • Posted: 2022-11-23T10:21:58.684000+00:00
Original source

bool isRenderFace = (MPY2[2 * i] & WMO_MATERIAL_RENDER) && !(MPY2[2 * i] & WMO_MATERIAL_DETAIL);
rektbyfaith
11-23-2022, 10:21 AM #11

Archived author: shelby • Posted: 2022-11-23T10:21:58.684000+00:00
Original source

bool isRenderFace = (MPY2[2 * i] & WMO_MATERIAL_RENDER) && !(MPY2[2 * i] & WMO_MATERIAL_DETAIL);

rektbyfaith
Administrator
0
11-23-2022, 10:22 AM
#12
Archived author: shelby • Posted: 2022-11-23T10:22:02.427000+00:00
Original source

same check lul
rektbyfaith
11-23-2022, 10:22 AM #12

Archived author: shelby • Posted: 2022-11-23T10:22:02.427000+00:00
Original source

same check lul

rektbyfaith
Administrator
0
11-23-2022, 10:22 AM
#13
Archived author: MaxtorCoder • Posted: 2022-11-23T10:22:08.055000+00:00
Original source

Fair <:KEKW:778341443156049930>
rektbyfaith
11-23-2022, 10:22 AM #13

Archived author: MaxtorCoder • Posted: 2022-11-23T10:22:08.055000+00:00
Original source

Fair <:KEKW:778341443156049930>

rektbyfaith
Administrator
0
11-23-2022, 10:22 AM
#14
Archived author: shelby • Posted: 2022-11-23T10:22:31.452000+00:00
Original source

i didnt really bother to look at this in detail since the output was fine
rektbyfaith
11-23-2022, 10:22 AM #14

Archived author: shelby • Posted: 2022-11-23T10:22:31.452000+00:00
Original source

i didnt really bother to look at this in detail since the output was fine

rektbyfaith
Administrator
0
11-23-2022, 10:23 AM
#15
Archived author: shelby • Posted: 2022-11-23T10:23:00.597000+00:00
Original source

it use WMO_MATERIAL_COLLISION regardless
rektbyfaith
11-23-2022, 10:23 AM #15

Archived author: shelby • Posted: 2022-11-23T10:23:00.597000+00:00
Original source

it use WMO_MATERIAL_COLLISION regardless

rektbyfaith
Administrator
0
11-23-2022, 10:23 AM
#16
Archived author: OutSide • Posted: 2022-11-23T10:23:08.902000+00:00
Original source

if render miss - bool isRenderFace always will be false^^
rektbyfaith
11-23-2022, 10:23 AM #16

Archived author: OutSide • Posted: 2022-11-23T10:23:08.902000+00:00
Original source

if render miss - bool isRenderFace always will be false^^

rektbyfaith
Administrator
0
11-23-2022, 10:23 AM
#17
Archived author: shelby • Posted: 2022-11-23T10:23:48.412000+00:00
Original source

in the end isRenderFace is just one way to render it, its also check the collision flag
rektbyfaith
11-23-2022, 10:23 AM #17

Archived author: shelby • Posted: 2022-11-23T10:23:48.412000+00:00
Original source

in the end isRenderFace is just one way to render it, its also check the collision flag

rektbyfaith
Administrator
0
11-23-2022, 10:24 AM
#18
Archived author: shelby • Posted: 2022-11-23T10:24:08.547000+00:00
Original source

bool isCollision = MOPY[2 * i] & WMO_MATERIAL_COLLISION || isRenderFace;
if (!isCollision)
continue;
rektbyfaith
11-23-2022, 10:24 AM #18

Archived author: shelby • Posted: 2022-11-23T10:24:08.547000+00:00
Original source

bool isCollision = MOPY[2 * i] & WMO_MATERIAL_COLLISION || isRenderFace;
if (!isCollision)
continue;

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