[DiscordArchive] begin_second_fixup is not a batch you get from MOBA by index of unk_batch_count?
[DiscordArchive] begin_second_fixup is not a batch you get from MOBA by index of unk_batch_count?
Archived author: Skarn • Posted: 2018-07-30T19:47:55.449000+00:00
Original source
begin_second_fixup is not a batch you get from MOBA by index of unk_batch_count?
Archived author: schlumpf • Posted: 2018-07-30T19:48:34.713000+00:00
Original source
it is an unsigned short, based on what you pasted
Archived author: Skarn • Posted: 2018-07-30T19:49:12.409000+00:00
Original source
I don't quite seem to get how this code gets an unsigned short
Archived author: Skarn • Posted: 2018-07-30T19:49:14.357000+00:00
Original source
and what short it is
Archived author: Skarn • Posted: 2018-07-30T19:49:55.143000+00:00
Original source
that, according to my poor C++ knowledge, should return a batch object by index (unsigned __int16)mapObjGroup->unkBatchCount from an array with moba objects, shouldn't it?
Archived author: schlumpf • Posted: 2018-07-30T19:50:26.039000+00:00
Original source
`moba + sizeof(mobaentry) * mapObjGroup->unkBatchCount - 2 * sizeof(short)`
Archived author: Skarn • Posted: 2018-07-30T19:51:30.609000+00:00
Original source
I see, so it is indeed a way to index vertices belonging to specific batches?
that supposedly replaces all alpha for batches C and B to 255 for exterior contradicts what I see in the game.
Archived author: Skarn • Posted: 2018-07-30T19:52:24.811000+00:00
Original source
I am asking because this last line ( mapObjGroup->mocv[i].w = mapObjGroup->m_groupFlags & SMOGroup::EXTERIOR ? 0xFF : 0x00
that supposedly replaces all alpha for batches C and B to 255 for exterior contradicts what I see in the game.
Archived author: Skarn • Posted: 2018-07-30T19:53:21.328000+00:00
Original source
https://i.imgur.com/NH0qe3t.jpghttps://i...om/NH0qe3t
Archived author: Skarn • Posted: 2018-07-30T19:53:53.790000+00:00
Original source
That is Batch C on the right, and the alpha value remains the way I set it in the exporter on render. It is not replaced by anything.