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

121 Commits

Author SHA1 Message Date
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
dpethes
2593c8559f dat packer: check input files 2015-03-07 19:49:46 +01:00
dpethes
b867d6891a add bundle unpacker 2015-01-25 17:03:47 +01:00
dpethes
ce9c38a111 viewer: y coord is flipped for display, so flip x too; otherwise the model looks mirrored 2014-11-09 14:21:03 +01:00
dpethes
5f714ceef5 hob parser: improve facegroups seeking 2014-11-09 14:19:54 +01:00
dpethes
acf9b6ebca add hmt compiler to build custom tiefigher_HMT 2014-11-09 14:17:43 +01:00
dpethes
eaa10cba3c update hob description: facegroups 2014-11-02 17:12:21 +01:00
dpethes
3cfa8bebf9 hob parser: read proper facegroup offset 2014-10-29 10:17:14 +01:00
dpethes
59e74db02d import HOB viewer 2014-10-26 17:40:21 +01:00
dpethes
8f1d867c69 update readme 2014-10-26 16:36:58 +01:00
dpethes
1a75a3abab hob parser: distinguish face/vertex color, update hob description 2014-10-26 16:22:25 +01:00
dpethes
4670ca2807 hob parser: fix texture coord range 2014-10-24 22:33:58 +02:00
dpethes
f11fcaff4e hob parser: parse vertex color and texture coord data 2014-10-21 22:58:09 +02:00
dpethes
07680d71c3 update hmt description 2014-10-20 16:39:16 +02:00
dpethes
5d18bdca6c hmt parser: save texture images for image type 3 2014-10-20 16:18:57 +02:00
dpethes
72f438b0d8 hmt parser: save texture images for image type 1 2014-10-20 16:10:08 +02:00
dpethes
f185759871 update hmt description 2014-10-20 08:19:57 +02:00
dpethes
59b5e6e4b6 hmt parser: save texture images 2014-10-20 08:16:05 +02:00
dpethes
c7ee2b0671 hmt parser: read pixel data 2014-10-20 07:44:36 +02:00
dpethes
4e755f8797 hmt parser: proper texture entry parsing. Actual pixel data is not read yet 2014-10-18 22:12:27 +02:00
dpethes
63b5b06674 Merge 2014-10-15 23:44:15 +02:00
dpethes
d3ad53a7a3 hmt parser: add main program 2014-10-15 23:43:57 +02:00
David Pethes
d53cd91841 add TODO 2014-10-15 23:42:24 +02:00
dpethes
b670be61fe hmt parser: split into main program & parsing unit
--HG--
rename : hmt_parser/hmt_parser.lpr => hmt_parser/hmt_parser.pas
2014-10-15 22:54:25 +02:00