Skip to main content
gamedev.net
🔒 Locked

object detection

Started by ogl Oct 7, 2001 at 3:35 PM 3 replies 350+ views
Original Post
ogl
ogl
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
ogl
ogl
any sample code or demos where this is done?

cheers
wolfman8k
wolfman8k
Just use OpenGL''s lighting.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.