Gered
70ccaedb0a
should only be applying rotation and scaling when transforming a normal
2013-07-21 08:49:38 -04:00
Gered
36f319a881
combine addMesh and copyVertex. we weren't gaining anything with them separate
2013-07-20 23:00:38 -04:00
Gered
6bfbf66c4c
change "default value" (null) handling of ModelTileMesh scaling/position adjustments
2013-07-20 19:28:43 -04:00
Gered
0c3abf574f
add TileMap saving
2013-07-18 20:16:59 -04:00
Gered
5234c732af
add mostly-untested TileMap loading via json / Base64 deserialization
2013-07-18 19:52:18 -04:00
Gered
22172f8b48
add POJO for tilemap json data
2013-07-18 19:21:28 -04:00
Gered
f02b511949
add Tile/TileChunk serialization helpers
2013-07-18 19:18:35 -04:00
Gered
a8cec9b065
move TileMeshCollection json loading code out to a separate static helper method/class
2013-07-18 18:44:36 -04:00
Gered
26b3a2a6c5
make non-public methods protected (upcoming LitChunkVertexGenerator needs this)
2013-07-18 18:17:56 -04:00
Gered
6f59f4b095
use Vertices built in "current position" tracking while copying mesh vertices
2013-07-18 18:16:59 -04:00
Gered
6f262f9f21
move TileMapLighter and subclasses to a separate package
2013-07-18 18:02:28 -04:00
Gered
1d353977a1
update with TextureAtlas package changes
2013-07-18 17:54:26 -04:00
Gered
6dd88d2c1f
make total size of Tile member fields a power of 2
2013-07-17 23:48:12 -04:00
Gered
0d44e5c71d
set blending material attribute to tile chunk alpha meshes
2013-07-17 23:40:38 -04:00
Gered
657d274f93
add json config support for cube tile meshes
2013-07-17 23:39:56 -04:00
Gered
4dd2724b47
add initial support for initializing TileMeshCollection from a json config
2013-07-17 22:48:23 -04:00
Gered
76e2cfe043
move tile mesh related classes into the new package
2013-07-17 19:27:26 -04:00
Gered
35157d5abf
add POJOs for json deserialization of TileMeshCollection data
2013-07-17 19:23:59 -04:00
Gered
8b2c7452fa
add a bounding volume to TileChunkMesh and check this against the frustum when rendering
...
This is to ensure that we still render chunks when they contain tile
meshes which may be bigger then the 1x1x1 unit size and could then
potentially cause the chunk mesh bounds to be larger then the chunk
tile grid bounds.
2013-07-16 18:35:06 -04:00
Gered
211a76dfc2
use MaterialTileMapping instead of Maps
2013-07-16 18:15:02 -04:00
Gered
fb97c92e7b
add MaterialTileMapping to aid in setting some texture -> atlas tile conversion properties
2013-07-16 18:14:33 -04:00
Gered
db91dcbff0
"fix" incorrectly using Color property in ModelTileMesh
2013-07-16 18:14:00 -04:00
Gered
882264ba44
fix up ModelTileMesh so it is easier to use with loaded Models. add bounding volume field to TileMesh
2013-07-16 15:37:58 -04:00
Gered
4a881184fb
TileMesh now uses completely "client-side" storage of vertex data
...
Since TileMesh objects are not rendered directly, using a Mesh object
to store their vertices is a bit of a waste since on GL 2.0+ libgdx
uses a VBO for each Mesh
2013-07-16 11:10:40 -04:00
Gered
382da2985f
initial commit
...
This is a _mostly_ working port of my original C++ code. Some parts
aren't too optimized yet and some stuff may actually not work. But it's
_mostly_ there. :)
2013-07-15 19:13:30 -04:00
Gered
913ec916ce
output path
2013-07-01 12:15:04 -04:00
Gered
b0ffe46e29
initial commit
2013-07-01 12:13:23 -04:00