object detection
Hi
say you have a torch and you want it to shine only on the front face of a cube - how can this be achieved - so basically the cube or the torch could be moved in any orientation but the torch shines on front face of the cube when it detects it
any ideas??
cheers
Calculate the normal for the face and the torch, then use the dot product of those normals to get an angle depicting how closely they face one another. Then make the ''lightness'' a factor of how close the angle is to them facing each other.
[Resist Windows XP''s Invasive Production Activation Technology!]
[Resist Windows XP''s Invasive Production Activation Technology!]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement