Beam filter - dvdvideo1234/LaserSTool GitHub Wiki

Description

This scripted entity is designed to filter the beam properties by subtracting or clamping upcoming beam with internals. You can also enable pass flag which will pass or reject only the given color or material. This will pit a color object on the stack and override the dominant color.

divider

Turning the entity ON / OFF

The entity will be turned on whenever an input beam hits it. If there is no beam present, this means the input beam is not in sync with the surface normal vector of the filter. The vectors are in sync when the input beam hits the proper surface of the filter entity.

Calculating output beam

The output beam behavior and visuals ( texture, sounds, color, flags etc. ) will be the result if filtering the given parameters from the hit report. The filter can process many beams at the same time.

Wire behavior

This entity has only one input that is the normal local surface vector and some outputs for information.