YAL update

Blitz3D Forums/Blitz3D Programming/YAL update

About the MoveEntity stuff:

Sorry, I've typed it wrong (should be 1.5), the correct is:
MoveEntity(LumelPivot, -lumelsize/3, 0, -lumelsize/3)
MoveEntity(LumelPivot, lumelsize/1.5, 0, 0)
MoveEntity(LumelPivot, 0, 0, lumelsize/1.5)
MoveEntity(LumelPivot, -lumelsize/1.5, 0, 0)


Suppose that lumelsize = 1.0, it will move (-0.33,-0.33) (going near the top left border of the lumel, but not touching it), then it will move (+0.66,0) (near top right), (0, +0.66) (bottom right) and (-0.66,0) (bottom left), in a clockwise direction.

First I tried to move to the "vertices" of the lumel quad as you mentioned, but keeping the rays inside the lumel showed better results. And as you said, firing rays to the corners is unnecessary, it will have the same effect as a blur effect in the image.

One thing that needs to be done in the lightmapper is to somehow use the vertex normal data to generate smooth curved surfaces, try to apply a lightmap to a sphere or cylinder to see how ugly it will look. :)