mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Fix geoset filtering with expanded body range and debug logging
Expanded body part geoset range from 0-18 to 0-99 to cover all humanoid submesh IDs. Added per-model debug logging to track submesh IDs and geoset filtering behavior.
This commit is contained in:
parent
136dd0ac43
commit
9c5e2fb93d
2 changed files with 17 additions and 11 deletions
|
|
@ -1171,10 +1171,10 @@ void CharacterRenderer::render(const Camera& camera, const glm::mat4& view, cons
|
|||
glBindVertexArray(gpuModel.vao);
|
||||
|
||||
if (!gpuModel.data.batches.empty()) {
|
||||
// One-time debug dump of rendered batches
|
||||
static bool dumpedBatches = false;
|
||||
if (!dumpedBatches) {
|
||||
dumpedBatches = true;
|
||||
// One-time debug dump of rendered batches per model
|
||||
static std::unordered_set<uint32_t> dumpedModels;
|
||||
if (dumpedModels.find(instance.modelId) == dumpedModels.end()) {
|
||||
dumpedModels.insert(instance.modelId);
|
||||
int bIdx = 0;
|
||||
int rendered = 0, skipped = 0;
|
||||
for (const auto& b : gpuModel.data.batches) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue