Project

General

Profile

Bug #3835

Bodyparts with multiple NiTriShapes are not handled correctly

Added by Andrei Kortunov 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Category:
NIF format
Target version:
Start date:
04/22/2017
% Done:

100%

Reproducibility:
Have not tried
Operating system:
Linux
Severity:
Normal

Description

OpenMW does not handles bodyparts with multiple NiTriShapes well (see screenshots attached).

Tested with Robert's bodies and New Argonian Bodies.

Robert's bodies: problems with chest and groin.
New Argonian Bodies: problems with chest and tail.

Multiple_nodes.png View - Robert's bodies - screen from NifScope (54.5 KB) Andrei Kortunov, 04/22/2017 10:55 AM

Bodypart_bug.png View - New Argonian Bodies - ingame bug (1.27 MB) Andrei Kortunov, 04/22/2017 10:55 AM

Bodypart_bug2.png View - Robert's bodies - ingame bug (2.03 MB) Andrei Kortunov, 04/22/2017 10:59 AM

Associated revisions

Revision 813af876 (diff)
Added by scrawl . 5 months ago

Use a partial binary search in isReservedName (Fixes #3835)

History

#1 Updated by scrawl . 5 months ago

Does OPENMW_OPTIMIZE=OFF environment variable change this?

#2 Updated by Andrei Kortunov 5 months ago

Does OPENMW_OPTIMIZE=OFF environment variable change this?

Yes, with OPENMW_OPTIMIZE=OFF it works fine.

#3 Updated by scrawl . 5 months ago

Ok, then I know what it is:

https://github.com/OpenMW/openmw/blob/master/components/resource/scenemanager.cpp#L384

This optimizer 'blacklist' needs to be adapted to recognize '<Bone>*' in addition to '<Bone>' (just like the actual filtering here)

#4 Updated by Alexei Dobrohotov 5 months ago

  • Subject changed from Bodyparts with multiple NiTriShapes do not handled correctly to Bodyparts with multiple NiTriShapes are not handled correctly
  • Status changed from New to Resolved
  • Assignee set to Andrei Kortunov
  • Target version set to openmw-0.43

#5 Updated by scrawl . 5 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF