dungeon_crawler

diff prototype/doc/tiles @ 21:0588f8a1a351

converting LIGHT meshes to lights
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 21 Aug 2012 06:33:36 +0300
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/prototype/doc/tiles	Tue Aug 21 06:33:36 2012 +0300
     1.3 @@ -0,0 +1,15 @@
     1.4 +Notes on how to construct tiles for the prototype
     1.5 +-------------------------------------------------
     1.6 +
     1.7 +Tile grid size 1x1x1 (geometry can be of arbitrary size if it looks ok).
     1.8 +
     1.9 +- Export as OBJ with MTL, including normals and multiple objects.
    1.10 +- Associate geometry with a particular cardinal direction by prefixing NORTH_,
    1.11 +  SOUTH_, EAST_, or WEST_, in the object name. Directional geometry will be
    1.12 +  ignored appropriately for cells with neighboring cells occupied.
    1.13 +- Lights should be meshes with the LIGHT substring in their name. Bounding
    1.14 +  sphere is used to specify the light position and attenuation. Material
    1.15 +  parameters (diffuse) control the light intensity/color.
    1.16 +
    1.17 +This is terrible, but ok for a prototype. Should write a proper exporter to a
    1.18 +custom tile format at some point.