2
0
mirror of https://github.com/dpethes/rerogue.git synced 2025-06-07 18:58:32 +02:00

94 Commits

Author SHA1 Message Date
dpethes
cd9780147c terrain viewer: fix tile block memory allocation 2020-06-15 13:28:02 +02:00
dpethes
6cc0c327ff terrain viewer: add level names 2020-06-15 11:24:01 +02:00
dpethes
2b1f49b7ba terrain viewer: plug memleaks 2020-06-15 11:23:44 +02:00
dpethes
909cfe5a97 terrain viewer: update to 64bit, SDL2, imgui 2020-06-13 11:54:46 +02:00
dpethes
a6a79620b4 terrain viewer: load directly from dat 2020-06-13 09:33:43 +02:00
dpethes
6ea0ea6a1a model viewer: texture export 2020-05-01 07:43:32 +02:00
dpethes
d7632946c0 model viewer: experimental facegroup switching 2018-01-15 21:35:15 +01:00
dpethes
de4de4db13 fix some datatype mismatches in parsers to run properly in debug mode 2018-01-15 21:06:02 +01:00
dpethes
252d93702a model viewer: use up/down arrows to switch between models 2018-01-14 16:17:43 +01:00
dpethes
b739950c03 model viewer: add project debug/release configs 2018-01-14 16:16:14 +01:00
dpethes
2cd5eef69d update imgui and SDL2 bindings 2017-06-04 12:22:39 +02:00
dpethes
14c05bec13 update imgui bindings 2017-05-24 08:32:50 +02:00
dpethes
d2876aece6 update imgui bindings 2017-05-04 01:07:18 +02:00
dpethes
d8c412c589 model viewer: remove unused stuff 2017-05-04 00:52:02 +02:00
dpethes
3245dc4331 use single file SDL2 bindings (compiled from separate .inc files) 2017-05-04 00:51:35 +02:00
dpethes
d76d824e6c this is most likely a float 2017-05-04 00:49:30 +02:00
dpethes
d00f72b2b6 rewrite HOB spec 2017-05-04 00:48:37 +02:00
dpethes
5985a36395 hmp2obj: use height scale value read from file. Might not be the proper scaling, but looks close 2017-03-16 23:05:28 +01:00
dpethes
b21148ca13 hmp2obj - synchronize rs_world with terrain viewer at least a bit 2017-02-04 18:28:57 +01:00
dpethes
86ea3565a4 dat repack: use common units 2017-02-04 18:10:31 +01:00
dpethes
32d9abb3ba model viewer: support texture subtype 5 and set subtype 3 properly as a 32bit 2017-02-04 17:07:41 +01:00
dpethes
53506af6b3 hmt: read texture subtype 5, all hmt files now parse correctly 2017-02-04 16:34:01 +01:00
dpethes
d5eb14b606 remove hob display (replaced by model viewer) 2017-02-04 12:52:19 +01:00
dpethes
39eab7f5ce update readme 2017-02-02 02:23:02 +01:00
dpethes
87cfb0f1cf model viewer: include SDL2 headers 2017-02-02 02:08:13 +01:00
dpethes
1aff4888ab model viewer: load models directly from DAT file
Displays a filelist with hob files, use it to select a mesh. Also, hob and hmt
parsers now load data directly from memory streams.
2017-02-02 02:05:33 +01:00
dpethes
a2b074d9e8 new model viewer, uses SDL2 and imgui 2017-01-31 00:01:46 +01:00
dpethes
f5e9eb92b7 move licence, update .hgignore 2017-01-30 20:14:01 +01:00
dpethes
0d17290499 hob viewer: set texture wrap mode to clamp, it seems to be correct 2017-01-30 20:11:55 +01:00
dpethes
f9f6985a21 hob viewer: obj export (no textures) 2017-01-29 19:33:20 +01:00
dpethes
6decfb931d hob: face group parsing 2017-01-29 19:32:35 +01:00
dpethes
d104b606cd hmp2obj: export raw 8-bit terrain heightmap 2016-12-29 18:21:01 +01:00
dpethes
a86e9edec0 update todo list 2016-04-14 21:10:13 +02:00
dpethes
09b4fecfb0 update HOB spec 2016-04-14 21:07:39 +02:00
dpethes
6e9c227554 hmp2obj: check paths 2016-04-14 20:58:00 +02:00
dpethes
4ed4bf9ca0 terrain viewer: fix GL_TEXTURE_MAG_FILTER param 2015-07-25 13:11:31 +02:00
dpethes
0054194a05 terrain viewer: fix - the last terrain block was missing 2015-07-15 22:27:48 +02:00
dpethes
01684392cb terrain viewer: merge terrain blocks' data into render batches, one batch per texture index
Dramatically reduces glDrawElements calls at the cost of more memory usage.
About 3x faster on A4300M.
2015-07-14 23:15:00 +02:00
dpethes
8aac8cd05c terrain viewer: load file by index 2015-07-12 18:23:22 +02:00
dpethes
aaedff5e21 terrain viewer: sort terrain blocks by texture - faster rendering 2015-07-12 14:51:57 +02:00
dpethes
22d812fe4f terrain viewer: fix parameter ordering in TileToBlock 2015-07-12 12:22:29 +02:00
dpethes
0d8ff0407e terrain viewer: use vertex arrays + glDrawElements.
Vertex normals are fake, needs proper per-vertex normals
2015-07-12 11:20:21 +02:00
dpethes
2d5c549847 terrain viewer: use mip-mapping 2015-07-11 21:41:32 +02:00
dpethes
8f9fb78d19 terrain viewer: tile texture index remapping 2015-07-06 18:42:36 +02:00
dpethes
89f88b0918 terrain viewer: simple lighting with per-face normals 2015-07-06 18:35:34 +02:00
dpethes
ab91e14a2f terrain viewer: fix uv coords 2015-07-06 17:44:12 +02:00
dpethes
ef525fc0ff terrain viewer: use textures. Works for quads only at the moment 2015-07-06 15:25:47 +02:00
dpethes
93536c4b64 new terrain viewer; currently displays points only. Updated HMP spec 2015-07-06 11:45:46 +02:00
dpethes
a856753543 viewer: triangulate quads when transforming the hob structure 2015-07-06 00:11:02 +02:00
dpethes
564674cfa8 viewer: rename simple_model to hob_mesh, move mesh rendering code to model class.
Also don't crash if hmt cannot be found
2015-07-05 23:27:54 +02:00