Commit Graph

52 Commits (master)

Author SHA1 Message Date
Alexei Kotov 695932d2db Parse BSDistantObjectInstancedNode 3 months ago
Alexei Kotov b93291840e BulletNifLoader: Handle NiSkinPartition
Add NiSkinPartition recovery helper method
1 year ago
Alexei Kotov 9a43ca2d00 Move NiGeometry triangulation to NiGeometry 1 year ago
Alexei Kotov 981e482171 Read BSSubIndexTriShape
It's currently handled exactly like BSTriShape, which works ok enough for our purposes
1 year ago
Alexei Kotov 284129b9ec Support Fallout 4 skinning
Convert the skinning data into NiSkinData-compatible format
1 year ago
Alexei Kotov b9d42946be Fix SSE mesh loading 1 year ago
Alexei Kotov 0497fd111f Handle BSTriShape basic geometry 1 year ago
Alexei Kotov 052fb416c6 Read BSSegmentedTriShape 1 year ago
Alexei Kotov 30b842dd1e Read BSMeshLODTriShape and BSDynamicTriShape
Slightly clean up BSVertexData loading
Fix skin tint alpha loading in BSLightingShaderProperty
1 year ago
Alexei Kotov 18e4af04b3 Rewrite BSVertexData loading and read FO4 geometry properly 1 year ago
Alexei Kotov eb8242946a Improve node record consistency with NifTools 1 year ago
Alexei Kotov bff9231c3b Refactor NiGeometry/BSTriShape
Don't pass invalid geometry data links to the loaders
1 year ago
Alexei Kotov deb051639e Refactor NiBoundingVolume 1 year ago
Alexei Kotov 5b0bc97db0 Refactor NiSwitchNode and NiLODNode 1 year ago
Alexei Kotov c9300cac31 Update NIF node records, first pass 1 year ago
Alexei Kotov b0dfd74562 NIFStream: remove getBoolean, getString 1 year ago
Alexei Kotov 956ede52fb NIFStream: remove getShort, getMatrix3, getQuaternion 1 year ago
Alexei Kotov 4dd2f34e30 Fix Windows build 1 year ago
Alexei Kotov a7cc4e6ba6 Rename Node->NiAVObject and update everything directly related
Update NiNode
Simplify RootCollisionNode handling in BulletNifLoader
1 year ago
Alexei Kotov 6872c7144e Rename Transformation->NiTransform and update everything directly related 1 year ago
Alexei Kotov ef896faa90 Rename Named->NiObjectNET and update everything directly related to it
BulletNifLoader: properly check if the node has animation controllers
Flatten extra data linked list
1 year ago
Alexei Kotov fd3b24e2e6 Make better use of osg::BoundingSpheref in the NIF loader 1 year ago
Alexei Kotov 57144accf6 Phase out NIFStream::get[Types] 1 year ago
Alexei Kotov e7bbfed1fd Read BSTriShape bounds into array 1 year ago
psi29a c290754077 Revert "Merge branch 'loadSSEAlchemyTable' into 'master'"
This reverts merge request !3267
1 year ago
Andrei Kortunov d8ec78d732 Fix some Coverity warnings 1 year ago
alekulyn d2896945e8 Load SSE alchemy table 1 year ago
Alexei Kotov 4265524ad5 Read BSRangeNode and BSBlastNode 1 year ago
alekulyn 7ea2ea96b6 Read new nodes pt1 1 year ago
alekulyn 74aa7b947a Load BSTriShape NIF nodes 1 year ago
Alexei Dobrohotov 1b5e904285 Read BSMultiBound et al. 2 years ago
Alexei Dobrohotov 3e8a9d1de4 Read BSTreeNode, handle as NiNode 2 years ago
Petr Mikheev 493858127a Drop NIF root node transformation for Skyrim models the same way as for Morrowind models. 2 years ago
Alexei Kotov 41d6ccd3f6 Read NiDefaultAVObjectPalette 2 years ago
psi29a 5f9332751c Merge branch 'roottrafo' into 'master'
Don't discard root node transformations for Gamebryo meshes

See merge request OpenMW/openmw!2697
2 years ago
Alexei Kotov b14d1f0c6b Don't discard root node transformations for Gamebryo meshes 2 years ago
Alexei Kotov 8ebdd1e4a5 Fix material data loading for 10.0.1.0 2 years ago
jvoisin 3cbf1dc042 First pass with include-what-you-use 2 years ago
elsid 0688b6de40
Separate record list reading from its state
To make it possible to set record list state independently from reading NIF
file.
2 years ago
elsid f2fb3d6de8
Separate NIFFileReader from NIFFile
NIFFile might not always be created from a file or stream containing NIF data.
Basically there are 2 different responsibilities for this class:
1. Read NIF file
2. Provide input for nifosg and bulletnifloader.

Remove no longer needed NIFFileMock since the state of NIFFfile can be
initialized independently from reading NIF file.
2 years ago
elsid b39ccbeeef
Remove NIFFile::warn and NIFFile::fail functions
These functions use NIFFile only as context, they are not really a part of
either reading nor state invariant. And they only confuse reader because it's
not immediatelly obvious that no code is executed after fail.
2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
Alexei Kotov 126090bdc5 Load NiBillboardNode mode field 2 years ago
elsid f99ed6f1db
Split components/misc/stringops.hpp into multiple headers
Replace all ciEqual overloads with one having std::string_view as argument.
2 years ago
Andrei Kortunov c36c28e8f9 Move NIF implementation to cpp files 2 years ago
scrawl 236d628884 Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	apps/opencs/model/doc/document.cpp
	apps/opencs/model/doc/documentmanager.cpp
	components/CMakeLists.txt
	components/bsa/resources.cpp
	components/nif/data.hpp
	components/nif/node.cpp
	components/nifogre/mesh.hpp
	components/nifogre/ogrenifloader.cpp
	components/nifogre/particles.cpp
10 years ago
scrawl b7867d6f0a Stop warning about unused nif properties 10 years ago
scrawl 8c10d4badb NIF reader compiles without Ogre 10 years ago
scrawl b650338d69 Implement drawMode of NiStencilProperty (Feature #1057) 10 years ago
scrawl e6c59f5585 Revert "Allow NIF rotation matrices that include scale values"
This reverts commit f57ddec6a2.

Conflicts:
	components/nif/nifstream.hpp

(Fixes #2168)
10 years ago