Hi! I made a patch to add rectangle and ellipse shape for spotlights: https://developer.blender.org/D1378
It’s compatible with the viewport and the game engine. You can use X and Y gizmos, scale sliders or “S”+“X” or “Y” keyboard keys to scale the spotlight (only on X and Y axis).
I’d like to know:
- if you are interested with this feature
- what do you think about the patch code (I’m a beginner). Some things to improve?
- what do you think we could do with this feature and why it could be usefull. Or do you think it’s useless?
- do you see some problems using the patch? (problems with shadows, spotlamp textures, in the viewport or in the bge, other problems…)
Many thanks to people who try it!
Here are the blender builds:
- Linux: http://www.mediafire.com/download/5d9t2erlrumtn5x/spotlampscalelinux.tar.gz (I hope this works… I’m not familiar with Linux)
- Windows 32: http://www.mediafire.com/download/f4ubgn8qr5kxrin/spotlampscalewin32.rar
- Windows 64: http://www.mediafire.com/download/b3ev265ry6kvbq2/spotlampscalewin64.rar
My test file: http://www.pasteall.org/blend/37779