make a 3D spotlight cone matrix
Posted
by Soubok
on Stack Overflow
See other posts from Stack Overflow
or by Soubok
Published on 2010-03-29T11:15:29Z
Indexed on
2010/03/29
13:03 UTC
Read the original article
Hit count: 350
How to create the transformation matrix (4x4) that transforms a cylinder (of height 1 and diameter 1) into a cone that represents my spotlight (position, direction and cutoff angle) ?
--edit--
In other words: how to draw the cone that represents my spotlight by drawing a cylinder through a suitable transformation matrix.
© Stack Overflow or respective owner