I am adding some beacons to the Ananke tether and I am getting some unexpected results with the falloff and size settings of the BEACONLIGHTSPEC struct. Essentially the size of the beacon depends on the size value of falloff for any given camera (near) distance.
Some examples:
looks like:
looks like:
The API Reference says that falloff controls how the apparent size changes with distance. I assumed this to mean that at some distance (what value?) the beacon would be rendered at its true size and at greater distances it would shrink at a rate set by falloff. If I set falloff=1, the apparent size should stay the same however the beacon starts out very big and it gets smaller with distance, down to a very small size (couple of pixels) after which it stays constant.
Is this the correct behaviour? If not, any ideas what I may have done wrong?
Some examples:
Code:
bs = new BEACONLIGHTSPEC;
bs->shape = BEACONSHAPE_COMPACT;
bs->falloff = 0;
bs->size = 0.1;
Code:
bs->falloff = 0.5;
bs->size = 0.1;
The API Reference says that falloff controls how the apparent size changes with distance. I assumed this to mean that at some distance (what value?) the beacon would be rendered at its true size and at greater distances it would shrink at a rate set by falloff. If I set falloff=1, the apparent size should stay the same however the beacon starts out very big and it gets smaller with distance, down to a very small size (couple of pixels) after which it stays constant.
Is this the correct behaviour? If not, any ideas what I may have done wrong?
