Yal, overview?

Blitz3D Forums/Blitz3D Programming/Yal, overview?

poopla(Posted 2003) [#1]
Took a quick look at the code but didnt see any overview, does the lightmapped entity have to be a single entity?


Ice9(Posted 2003) [#2]
I think as the code stands it only works on one mesh with one surface. If you have more than one surface you will have to ID those surfaces before you apply the lightmap each time you load the mesh. Blitz will enumerate the surfaces differently each time it loads. I'm not sure but I think this may have to do with packing it in video memory.

Yal Unwelds all the triangles in a surface so each triangle does not share a vertex.