Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Snapped to world or locally ?

[DiscordArchive] Snapped to world or locally ?

[DiscordArchive] Snapped to world or locally ?

Pages (7): 1 2 3 4 5 7 Next  
rektbyfaith
Administrator
0
07-04-2023, 07:20 PM
#1
Archived author: Intemporel • Posted: 2023-07-04T19:20:12.515000+00:00
Original source

Snapped to world or locally ?
rektbyfaith
07-04-2023, 07:20 PM #1

Archived author: Intemporel • Posted: 2023-07-04T19:20:12.515000+00:00
Original source

Snapped to world or locally ?

rektbyfaith
Administrator
0
07-04-2023, 07:20 PM
#2
Archived author: robinsch • Posted: 2023-07-04T19:20:23.549000+00:00
Original source

<a:pepoHacker:915917722133602304>
rektbyfaith
07-04-2023, 07:20 PM #2

Archived author: robinsch • Posted: 2023-07-04T19:20:23.549000+00:00
Original source

<a:pepoHacker:915917722133602304>

rektbyfaith
Administrator
0
07-04-2023, 07:20 PM
#3
Archived author: robinsch • Posted: 2023-07-04T19:20:39.946000+00:00
Original source

I just remember the same lag issue I had with brushes
rektbyfaith
07-04-2023, 07:20 PM #3

Archived author: robinsch • Posted: 2023-07-04T19:20:39.946000+00:00
Original source

I just remember the same lag issue I had with brushes

rektbyfaith
Administrator
0
07-04-2023, 07:21 PM
#4
Archived author: Titi • Posted: 2023-07-04T19:21:19.553000+00:00
Original source

it's only models that overlap multiple tiles though it's pretty rare I don't think it would be noticeable
rektbyfaith
07-04-2023, 07:21 PM #4

Archived author: Titi • Posted: 2023-07-04T19:21:19.553000+00:00
Original source

it's only models that overlap multiple tiles though it's pretty rare I don't think it would be noticeable

rektbyfaith
Administrator
0
07-04-2023, 07:21 PM
#5
Archived author: robinsch • Posted: 2023-07-04T19:21:34.971000+00:00
Original source

i had really really big brushes
rektbyfaith
07-04-2023, 07:21 PM #5

Archived author: robinsch • Posted: 2023-07-04T19:21:34.971000+00:00
Original source

i had really really big brushes

rektbyfaith
Administrator
0
07-04-2023, 07:21 PM
#6
Archived author: Titi • Posted: 2023-07-04T19:21:36.394000+00:00
Original source

that's probably far less than 1%
rektbyfaith
07-04-2023, 07:21 PM #6

Archived author: Titi • Posted: 2023-07-04T19:21:36.394000+00:00
Original source

that's probably far less than 1%

rektbyfaith
Administrator
0
07-04-2023, 07:22 PM
#7
Archived author: Titi • Posted: 2023-07-04T19:22:33.329000+00:00
Original source

may be a different issues, getting a few duplicates from tile edges is not gonna have any significant impact
rektbyfaith
07-04-2023, 07:22 PM #7

Archived author: Titi • Posted: 2023-07-04T19:22:33.329000+00:00
Original source

may be a different issues, getting a few duplicates from tile edges is not gonna have any significant impact

rektbyfaith
Administrator
0
07-04-2023, 07:27 PM
#8
Archived author: Titi • Posted: 2023-07-04T19:27:52.098000+00:00
Original source

a few possible options to fix those duplicates:
- iterate _model_instance_storage directly instead of tiles, massive performance drop if many tiles are loaded
- build the full UID list entirely from all tiles hit first instead of iterating the uid list of each tile, and whenever we add an object to the UID list, iterrate it and check for duplicates, quite slow too

at this point idk if any of those options would be faster than doing operations on a few duplicates, depends what the operation is really
rektbyfaith
07-04-2023, 07:27 PM #8

Archived author: Titi • Posted: 2023-07-04T19:27:52.098000+00:00
Original source

a few possible options to fix those duplicates:
- iterate _model_instance_storage directly instead of tiles, massive performance drop if many tiles are loaded
- build the full UID list entirely from all tiles hit first instead of iterating the uid list of each tile, and whenever we add an object to the UID list, iterrate it and check for duplicates, quite slow too

at this point idk if any of those options would be faster than doing operations on a few duplicates, depends what the operation is really

rektbyfaith
Administrator
0
07-04-2023, 07:28 PM
#9
Archived author: Titi • Posted: 2023-07-04T19:28:26.280000+00:00
Original source

if we do things like ray intersect x2 then yeah ensuring no duplicate is probably a lot faster
rektbyfaith
07-04-2023, 07:28 PM #9

Archived author: Titi • Posted: 2023-07-04T19:28:26.280000+00:00
Original source

if we do things like ray intersect x2 then yeah ensuring no duplicate is probably a lot faster

rektbyfaith
Administrator
0
07-04-2023, 07:33 PM
#10
Archived author: Adspartan • Posted: 2023-07-04T19:33:52.579000+00:00
Original source

```cpp
_model_instance_storage.for_each_m2_instance([&](ModelInstance& model_instance)
{
/* ... */
});

_model_instance_storage.for_each_wmo_instance([&](WMOInstance& wmo_instance)
{
/* ... */
});
```
rektbyfaith
07-04-2023, 07:33 PM #10

Archived author: Adspartan • Posted: 2023-07-04T19:33:52.579000+00:00
Original source

```cpp
_model_instance_storage.for_each_m2_instance([&](ModelInstance& model_instance)
{
/* ... */
});

_model_instance_storage.for_each_wmo_instance([&](WMOInstance& wmo_instance)
{
/* ... */
});
```

Pages (7): 1 2 3 4 5 7 Next  
Recently Browsing
 
Recently Browsing