Commit graph

372 commits

Author SHA1 Message Date
Ammar Askar
818f239526 Add Animation component to scenegraphs with bones/morphs 2023-08-13 22:58:37 -04:00
Ammar Askar
131023aeab Bind bones and bind poses to models 2023-08-13 22:26:27 -04:00
Ammar Askar
31faedf256 Refactor scenegraph rendering code into its own MonoBehaviour 2023-08-13 21:52:44 -04:00
Ammar Askar
ce70486e7f Hold scenegraph bone ids and bind poses for use after rendering scenegraph 2023-08-13 21:32:35 -04:00
Ammar Askar
f421d19e62 Refactor ScenegraphModelAsset for bones work 2023-08-13 21:06:18 -04:00
Ammar Askar
a217247086 Start loading bones from gmdc 2023-08-13 20:40:30 -04:00
Ammar Askar
838b3f2e95 Fix another bug with DXT3 conversion.
Maybe we should switch to a library at this point.
2023-08-13 15:13:31 -04:00
Ammar Askar
073aba2e49 Finish up basic animation reading code 2023-08-13 14:15:19 -04:00
Ammar Askar
eff377ac14 Read keyframes from animation data 2023-08-13 00:14:59 -04:00
Ammar Askar
835df69750 Add more animation parsing logic 2023-08-11 11:14:39 -04:00
Ammar Askar
5393e5ec93 Start reading scenegraph animations 2023-08-11 00:32:42 -04:00
Ammar Askar
5b335306f9 Render transform nodes with their correct names 2023-08-08 21:15:09 -04:00
Ammar Askar
66dd166834 Fix bug with morphs with missing normal deltas 2023-08-08 20:49:42 -04:00
Ammar Askar
c980bea304 Use correct morph target name in morph animations 2023-08-08 20:24:15 -04:00
Ammar Askar
cb5391f89b Fix up and document morph animations 2023-08-08 20:13:11 -04:00
Ammar Askar
570dc65407 Preserve order when storing morph/blend targets 2023-08-08 12:27:55 -04:00
Ammar Askar
ce57824e63 Add basic support for loading clothing meshes 2023-08-08 12:12:48 -04:00
Ammar Askar
96345c3186 Load blend shapes into meshes 2023-08-08 10:22:03 -04:00
Ammar Askar
4d4fc08724 Store morph targets read from GMDC 2023-08-07 22:55:39 -04:00
Ammar Askar
9d28ba09c0 Add cBoneDataExtension scenegraph reader 2023-08-07 22:08:42 -04:00
Ammar Askar
26312de18c Add WIP structure for new material types 2023-08-07 18:30:05 -04:00
Ammar Askar
d000ab5ea7 Start loading animation geometry elements from GMDC 2023-08-07 15:16:14 -04:00
Ammar Askar
acfd5d1ac0 Fix missing version check in cObject 2023-08-07 00:11:13 -04:00
Ammar Askar
61ec8a9d38 Fix bug with cShapeRefNode handling on versions 21 and below 2023-08-07 00:05:42 -04:00
Ammar Askar
36782c0953 Load cLightRefNode blocks in scenegraph 2023-08-06 23:38:41 -04:00
Ammar Askar
244263324f Add support for cAnimatable lot objects 2023-08-06 20:08:45 -04:00
Ammar Askar
c03363a57d Fix some scenegraph bugs found by lot rendering 2023-08-06 18:20:10 -04:00
Ammar Askar
8b8b12b22e Add a LotLoadingTest scene 2023-08-06 18:05:38 -04:00
Ammar Askar
43239e4392 Add basic support for loading OBJT/Lot Object assets 2023-08-06 17:37:07 -04:00
Ammar Askar
8f975d7260 Fix color retrieval when alpha and color curve don't match 2023-08-04 13:12:59 -04:00
Ammar Askar
0f41b666ab Extrapolate to 8 alpha/color values for unity 2023-08-04 12:35:21 -04:00
Ammar Askar
46fce52e82 Support particles as meta-particle base effects 2023-08-04 12:11:36 -04:00
Ammar Askar
29c84afc32 Set meta-particle parameters on particle system 2023-08-04 12:02:21 -04:00
Ammar Askar
7971682266 Refactor particles system to make meta-particles easier 2023-08-04 11:47:46 -04:00
Ammar Askar
3dab52b445 WIP implementation for meta-particle effects 2023-08-04 11:29:32 -04:00
Nahuel Rocchetti
7a8b2ba80d add cheat to enable/disable decals 2023-08-04 04:27:31 -03:00
Nahuel Rocchetti
db6affef14 placeholder decal implementation 2023-08-04 04:16:46 -03:00
Nahuel Rocchetti
195ba9296f add more info to traversing graph error catch 2023-08-04 01:14:09 -03:00
Ammar Askar
8e9e617030 Start rendering swarm effects in scenegraph 2023-08-03 21:02:05 -04:00
Ammar Askar
8120f2db12 Refactor EffectsManager to a singleton class like MaterialManager 2023-08-03 20:12:45 -04:00
Ammar Askar
bc9052dfc5 Add component for a running particle system 2023-08-03 19:58:09 -04:00
Ammar Askar
5d0a2f3ff2 Refactor effects manager to make placement easier 2023-08-03 19:22:35 -04:00
Ammar Askar
4bf9ceba85 Add code to start rendering meta particle and models 2023-08-03 19:07:38 -04:00
Nahuel Rocchetti
3ca271f7ec fix console alignment 2023-08-03 19:18:46 -03:00
Nahuel Rocchetti
6a972b5949 Merge branch 'master' of https://github.com/LazyDuchess/OpenTS2 2023-08-03 19:16:43 -03:00
Nahuel Rocchetti
b27665b52b improve cheat console a lot 2023-08-03 19:12:40 -03:00
Ammar Askar
c6f18fb069 Implement particle direction and draw type 2023-08-03 17:47:08 -04:00
Nahuel Rocchetti
37473a9791 bump mapping for standardmaterial 2023-08-03 16:49:53 -03:00
Ammar Askar
b0ba05570c Change particle size over time 2023-08-03 12:23:50 -04:00
Ammar Askar
756ecc9cb1 Use emitter shape from particle system 2023-08-03 12:19:13 -04:00