vkdoom_m/src/common/models
Ricardo Luís Vaz Silva d5f5c71d67 Bone Getters Part 2/3, plus fixed warnings for MSVC
* add getters for frame poses

* fix missing joint in GetJointPose

* clean up models_iqm.cpp

* clean up usage of I_GetTimeFrac, split out matrix calculation into its own function

* clean up SetModelBoneRotationInternal

* clean up a few float <-> double and unsigned <-> signed warnings

* fix more warnings

* further clean up warnings

* split mode ObjectToWorldMatrix stuff

* initial work on bone getters, matrix hell

(the matrix/vec3 multiplications are probably wrong af, just gotta add more stuff 'till i can test it)

* clean up matrix math

* GetBone/TransformByBone

* fix GetBoneFramePose

* fix ObjectToWorldMatrix

* fix missing array resize

* raw matrix getters (for use with gutamatics/etc)

* reverse matrix mult order

* replace GetBoneLength/GetBoneDir with GetBoneBaseTRS

* fix GetBonePosition, remove GetBoneWorldMatrix as it's useless

* GetBonePosition

* deduplicate code

* rename GetBonePosition to GetBoneBasePosition to avoid confusion

* GetBoneBaseRotation

* GetBonePosition helper function

* forgot include_offsets
2025-05-10 08:42:20 +08:00
..
bonecomponents.h Bone Getters Part 2/3, plus fixed warnings for MSVC 2025-05-10 08:42:20 +08:00
model.cpp Bone Manip part 1 - bone setters 2025-05-01 15:47:38 +02:00
model.h Bone Getters Part 2/3, plus fixed warnings for MSVC 2025-05-10 08:42:20 +08:00
model_iqm.h Bone Getters Part 2/3, plus fixed warnings for MSVC 2025-05-10 08:42:20 +08:00
model_kvx.h Remove bone component cache, VKDoom Edition 2025-01-30 21:54:29 +08:00
model_md2.h Remove bone component cache, VKDoom Edition 2025-01-30 21:54:29 +08:00
model_md3.h Remove bone component cache, VKDoom Edition 2025-01-30 21:54:29 +08:00
model_obj.h Remove bone component cache, VKDoom Edition 2025-01-30 21:54:29 +08:00
model_ue1.h Remove bone component cache, VKDoom Edition 2025-01-30 21:54:29 +08:00
modelrenderer.h Remove bone component cache, VKDoom Edition 2025-01-30 21:54:29 +08:00
models_iqm.cpp Bone Getters Part 2/3, plus fixed warnings for MSVC 2025-05-10 08:42:20 +08:00
models_md2.cpp Remove bone component cache, VKDoom Edition 2025-01-30 21:54:29 +08:00
models_md3.cpp Remove bone component cache, VKDoom Edition 2025-01-30 21:54:29 +08:00
models_obj.cpp Remove bone component cache, VKDoom Edition 2025-01-30 21:54:29 +08:00
models_ue1.cpp Remove bone component cache, VKDoom Edition 2025-01-30 21:54:29 +08:00
models_voxel.cpp Remove bone component cache, VKDoom Edition 2025-01-30 21:54:29 +08:00
tab_anorms.h - moved model code to 'common'. 2020-04-27 20:50:46 +02:00
voxels.cpp added missing file size validation in the voxel loader, anything below 772 bytes cannot be a valid KVX file. 2024-04-08 12:54:30 +02:00
voxels.h Add X, Y and Z offsets for VOXELDEF. Needed for voxelized weapons which would typically be very large and take up the majority of the 256x256x256 canvas, therefore making precise positioning of the models relative to the screen pretty much impossible without tweakable offsets. 2024-06-21 08:17:54 -03:00