Commit graph

447 commits

Author SHA1 Message Date
Ammar Askar
d55f2c1bd2 Parse decal effects 2023-08-01 23:30:31 -04:00
Ammar Askar
2bbda81f43 Parse meta-particle effects 2023-08-01 22:39:23 -04:00
Ammar Askar
6163150d6e Refactor to prepare for meta particles 2023-08-01 21:26:51 -04:00
Ammar Askar
7f32393fd2 Read the first section of swarm effects files.
This adds the first set of parsing code for particle effects in
swarm. We currently deserialize into a giant data structure like
the game but once we do meta-particles this should be refactored
with the common types to make it less ugly.
2023-08-01 18:39:52 -04:00
Nahuel Rocchetti
f58e8f216c Update Batching.cs 2023-08-01 19:38:49 -03:00
Ammar Askar
d6c79c6bf3 Fix capitalization in test file name 2023-08-01 15:43:06 -04:00
Ammar Askar
7f879a3116 Start adding code to read effects 2023-08-01 15:32:06 -04:00
Ammar Askar
27a9231d96 Store data from cDataListExtensions scenegraph blocks 2023-08-01 10:43:47 -04:00
Nahuel Rocchetti
2ec6920943 another batching refactor 2023-08-01 04:13:50 -03:00
Nahuel Rocchetti
cca1ae128b Batching rework and optimization 2023-08-01 03:42:47 -03:00
Nahuel Rocchetti
1c7589027c streamline batcher 2023-08-01 03:25:07 -03:00
Nahuel Rocchetti
c14cb74e51 Update Batching.cs 2023-08-01 02:54:06 -03:00
Nahuel Rocchetti
bbb56bbbb1 improve batching a little 2023-08-01 02:07:44 -03:00
Nahuel Rocchetti
46d1e658cd fix artifacts on road textures 2023-07-31 23:14:21 -03:00
Ammar Askar
ad19747dcc Whoops, fix wrong sign in imposter rotation 2023-07-31 21:42:57 -04:00
Nahuel Rocchetti
3fa7713514 Merge branch 'master' of https://github.com/LazyDuchess/OpenTS2 2023-07-31 22:39:45 -03:00
Ammar Askar
a32bed95ee Don't null pointer when scenegraph look ups fail 2023-07-31 21:32:10 -04:00
Nahuel Rocchetti
2ad821afbb Merge branch 'master' of https://github.com/LazyDuchess/OpenTS2 2023-07-31 22:26:25 -03:00
Nahuel Rocchetti
c674d91d21 batch lots 2023-07-31 22:24:04 -03:00
Ammar Askar
a7812ef513 Fix imposter positioning/rotation 2023-07-31 21:16:40 -04:00
Ammar Askar
f2fc1bd63d Store more lot info in LotInfoAsset 2023-07-31 21:16:40 -04:00
Nahuel Rocchetti
3a35ee1a06
screenshot in readme 2023-07-31 18:42:31 -03:00
Nahuel Rocchetti
091259caa5 dummy out json on build 2023-07-31 16:45:06 -03:00
Nahuel Rocchetti
3769801fd3 Add shaders to always compile list 2023-07-31 16:41:07 -03:00
Nahuel Rocchetti
12ddd6e691 Batch roads 2023-07-31 16:39:13 -03:00
Nahuel Rocchetti
465024f9ef Batching works! 2023-07-31 16:27:39 -03:00
Nahuel Rocchetti
941b9281f7 batching poc 2023-07-31 13:44:57 -03:00
Nahuel Rocchetti
516f94805d Fix lot imposter terrain colors 2023-07-31 02:25:30 -03:00
Nahuel Rocchetti
530f6eda43 Use Stencil Buffer to render imposter terrain 2023-07-31 01:50:55 -03:00
Ammar Askar
16547d704d Handle stdMatDiffCoef in StandardMaterial 2023-07-30 22:50:44 -04:00
Ammar Askar
ed0db98e7e Don't render gmdc groups not listed in the shpe 2023-07-30 22:05:36 -04:00
Nahuel Rocchetti
1d4589a408 Disable z write on alpha blend shaders 2023-07-30 21:44:40 -03:00
Nahuel Rocchetti
4d724abc86 Match TS2 terrain triangulation, remove imposter depth bias for now 2023-07-30 21:29:40 -03:00
Ammar Askar
c2db4dca31 half-fix imposter rotation 2023-07-30 16:43:26 -04:00
Nahuel Rocchetti
14a0617a14
Merge pull request #43 from ammaraskar/full_scenegraph_render
Start rendering full scenegraph graphs with all objects
2023-07-30 15:41:44 -03:00
Ammar Askar
074d7773ca Start rendering full scenegraph graphs with all objects 2023-07-30 14:31:51 -04:00
Nahuel Rocchetti
f36ceeda8a remove terrain type log 2023-07-30 14:07:22 -03:00
Ammar Askar
9fb3468998 Store other scenegraph info needed to render full scenes 2023-07-30 12:59:12 -04:00
Ammar Askar
8fd0c1d0e0 Add a Scenegraph json dumper to make debugging easier 2023-07-30 12:59:12 -04:00
Nahuel Rocchetti
8ea2c05f6d Adjust imposter depth offset 2023-07-30 13:33:22 -03:00
Nahuel Rocchetti
52978b6960 terrain roughness 2023-07-30 04:36:20 -03:00
Nahuel Rocchetti
2a7c08829a Fix road triangles, shadows on road 2023-07-30 04:00:14 -03:00
Nahuel Rocchetti
f04c9d692f Rotate road pieces 2023-07-30 03:00:17 -03:00
Nahuel Rocchetti
eb966f07cd Start road work 2023-07-30 01:26:50 -03:00
Nahuel Rocchetti
c049130ca2 some comments 2023-07-30 00:47:38 -03:00
Nahuel Rocchetti
23d0931fbf Fix memory leaks in roads 2023-07-30 00:42:45 -03:00
Nahuel Rocchetti
0c2094fa53 fix imposter clipping, add consts for lots n hood sizes. 2023-07-30 00:33:10 -03:00
Nahuel Rocchetti
ee40719509
Merge pull request #42 from ammaraskar/imposter_try
Start rendering lot imposters in neighborhood view
2023-07-29 22:33:41 -03:00
Ammar Askar
18bfa25ebe Fix tests 2023-07-29 21:25:50 -04:00
Ammar Askar
98e25ff34d Start rendering lot imposters in neighborhood view 2023-07-29 21:19:07 -04:00