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 |
|
dpethes
|
d65a060e5e
|
cast to prevent range check errors
|
2014-10-14 04:53:45 +02:00 |
|
dpethes
|
d1a468fbfe
|
hob parser: read groups without any defined faces
|
2014-10-14 04:53:19 +02:00 |
|
dpethes
|
650a8f8f89
|
hob parser: parse files with multiple objects / meshes
|
2014-10-14 03:30:42 +02:00 |
|
dpethes
|
02029c9da6
|
hob parser: properly distinguish between quad and triangle faces
|
2014-10-14 01:57:58 +02:00 |
|
dpethes
|
37c2d95600
|
hob parser: fix parsing of empty hob-s
|
2014-10-14 00:56:56 +02:00 |
|
dpethes
|
7075f10021
|
HOB parser: change how triangle / quad faces are determined
|
2014-10-13 23:58:06 +02:00 |
|
dpethes
|
91b625d677
|
update .hgignore: add HOB/HMT files
|
2014-10-12 19:41:30 +02:00 |
|
dpethes
|
7106fd158a
|
hob parser: fix check on face data start position
|
2014-10-12 19:40:47 +02:00 |
|
dpethes
|
51a5b14b18
|
hob parser: parse face groups
|
2014-10-12 19:37:48 +02:00 |
|
dpethes
|
2dc280bb65
|
update HOB spec
|
2014-10-12 10:33:57 +02:00 |
|
dpethes
|
205e266b4b
|
hob parser: parse header/grey area to find faces
|
2014-10-10 08:14:54 +02:00 |
|
dpethes
|
387734e68f
|
add command-line HOB parsing program, dump face data
|
2014-10-09 22:32:20 +02:00 |
|