dungeon_crawler

view 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 source
1 Notes on how to construct tiles for the prototype
2 -------------------------------------------------
4 Tile grid size 1x1x1 (geometry can be of arbitrary size if it looks ok).
6 - Export as OBJ with MTL, including normals and multiple objects.
7 - Associate geometry with a particular cardinal direction by prefixing NORTH_,
8 SOUTH_, EAST_, or WEST_, in the object name. Directional geometry will be
9 ignored appropriately for cells with neighboring cells occupied.
10 - Lights should be meshes with the LIGHT substring in their name. Bounding
11 sphere is used to specify the light position and attenuation. Material
12 parameters (diffuse) control the light intensity/color.
14 This is terrible, but ok for a prototype. Should write a proper exporter to a
15 custom tile format at some point.