Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

Spherical nightmares!

Started by smokingSkull Oct 17, 2001 at 8:22 AM 1 replies 450+ views
Original Post
smokingSkull
smokingSkull
Could somebody please point me in the right direction. I am trying to write a 3d strategy game where the 'board' is wrapped around a sphere. Could someone tell me how to let the user select specific areas of that sphere in such a way the program knows what they have selected. Just a little help would be useful. Edited by - smokingSkull on October 17, 2001 3:34:45 PM
Ganryu
Ganryu
Are you using polar coordinates?
redwyre
redwyre
if you are using directx, there is an example of picking triangles on a mesh

also there is code to map screen coordinates onto a sphere


redwyre /vivid
keep it real
--redwyre

Topic Locked

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

Sign in to reply to this topic.