A flashlight - How to do perspective projection?

Blitz3D Forums/Blitz3D Programming/A flashlight - How to do perspective projection?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Your calculations use the flash light radius and fixed values.
But there is no calculation basing on the distance and the zoom / Field of View
That would be needed to calculate the real radius depending on the distance to the flash light source