Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Maybe modifying the bounding box of the model (either the global one or animations ones) would chang

[DiscordArchive] Maybe modifying the bounding box of the model (either the global one or animations ones) would chang

[DiscordArchive] Maybe modifying the bounding box of the model (either the global one or animations ones) would chang

rektbyfaith
Administrator
0
04-05-2024, 03:57 PM
#1
Archived author: Lyswh • Posted: 2024-04-05T15:57:06.105000+00:00
Original source

Maybe modifying the bounding box of the model (either the global one or animations ones) would change the behaviour?
rektbyfaith
04-05-2024, 03:57 PM #1

Archived author: Lyswh • Posted: 2024-04-05T15:57:06.105000+00:00
Original source

Maybe modifying the bounding box of the model (either the global one or animations ones) would change the behaviour?

rektbyfaith
Administrator
0
04-05-2024, 04:03 PM
#2
Archived author: intra • Posted: 2024-04-05T16:03:25.677000+00:00
Original source

That's a great idea. I just tried creating to extra vertices to scale up the bounding box and that did fix it in-game. Now it doesn't seem to ever fade out.

I wish I understood why it sometimes happens to some m2s and not others. Maybe <@250706991515828224>, <@285139092516372480> or someone who has looked into the rendering code knows what's responsible for small m2s fading out so quickly (sorry for ping btw, just very curious to understand what's going on here )
[Image: image.png?ex=690c1e0d&is=690acc8d&hm=89f...c868f41a8&]
rektbyfaith
04-05-2024, 04:03 PM #2

Archived author: intra • Posted: 2024-04-05T16:03:25.677000+00:00
Original source

That's a great idea. I just tried creating to extra vertices to scale up the bounding box and that did fix it in-game. Now it doesn't seem to ever fade out.

I wish I understood why it sometimes happens to some m2s and not others. Maybe <@250706991515828224>, <@285139092516372480> or someone who has looked into the rendering code knows what's responsible for small m2s fading out so quickly (sorry for ping btw, just very curious to understand what's going on here )
[Image: image.png?ex=690c1e0d&is=690acc8d&hm=89f...c868f41a8&]

rektbyfaith
Administrator
0
04-05-2024, 04:04 PM
#3
Archived author: Lyswh • Posted: 2024-04-05T16:04:47.590000+00:00
Original source

What i know is that wbs only exports the global one right now and exporta that one for the animations too, (it has the UI for importing "preset bounding boxes" (the original boundings per animations) but it's not implemented (it's not hard to implement tho)
rektbyfaith
04-05-2024, 04:04 PM #3

Archived author: Lyswh • Posted: 2024-04-05T16:04:47.590000+00:00
Original source

What i know is that wbs only exports the global one right now and exporta that one for the animations too, (it has the UI for importing "preset bounding boxes" (the original boundings per animations) but it's not implemented (it's not hard to implement tho)

rektbyfaith
Administrator
0
04-05-2024, 04:07 PM
#4
Archived author: Deamon • Posted: 2024-04-05T16:07:18.341000+00:00
Original source

If it's Wrath client, it depends on bounding box indeed. Client has tricky system of buckets, m2 falls into bucket depending on it's size.
And the total amount of m2s rendered from each bucket is limited by bucket size, which is hardcoded iirc.

The variation though, I don't know if it's just bounding box or height of bounding box. And if it's bounding box from M2 header or bounding box of current animation playing (there is bounding box in M2Sequence)
rektbyfaith
04-05-2024, 04:07 PM #4

Archived author: Deamon • Posted: 2024-04-05T16:07:18.341000+00:00
Original source

If it's Wrath client, it depends on bounding box indeed. Client has tricky system of buckets, m2 falls into bucket depending on it's size.
And the total amount of m2s rendered from each bucket is limited by bucket size, which is hardcoded iirc.

The variation though, I don't know if it's just bounding box or height of bounding box. And if it's bounding box from M2 header or bounding box of current animation playing (there is bounding box in M2Sequence)

rektbyfaith
Administrator
0
04-05-2024, 04:07 PM
#5
Archived author: Deamon • Posted: 2024-04-05T16:07:59.266000+00:00
Original source

In later clients, I suspect this fade also is controlled by `NERF` chunk
rektbyfaith
04-05-2024, 04:07 PM #5

Archived author: Deamon • Posted: 2024-04-05T16:07:59.266000+00:00
Original source

In later clients, I suspect this fade also is controlled by `NERF` chunk

rektbyfaith
Administrator
0
04-05-2024, 04:08 PM
#6
Archived author: intra • Posted: 2024-04-05T16:08:23.357000+00:00
Original source

Thank you for clarifying!
rektbyfaith
04-05-2024, 04:08 PM #6

Archived author: intra • Posted: 2024-04-05T16:08:23.357000+00:00
Original source

Thank you for clarifying!

rektbyfaith
Administrator
0
04-05-2024, 04:12 PM
#7
Archived author: intra • Posted: 2024-04-05T16:12:27.305000+00:00
Original source

I went on to test by just increasing the bounding box height and that did increase render distance by some, but when I change width of the box as well the rendering distance seems to be much bigger (I guess that's an example of the different buckets you mentioned)
rektbyfaith
04-05-2024, 04:12 PM #7

Archived author: intra • Posted: 2024-04-05T16:12:27.305000+00:00
Original source

I went on to test by just increasing the bounding box height and that did increase render distance by some, but when I change width of the box as well the rendering distance seems to be much bigger (I guess that's an example of the different buckets you mentioned)

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