Skip to main content
gamedev.net
🔒 Locked

on screen selection

Started by murasaki 1 reply 250+ views
Original Post
murasaki
murasaki
Got the following topic, please give me some idea. what i have: a file contains a whole list of coords of points read in and rendered as gl_points, looks like a skull on screen. to do: user can use mouse to select on the screen by point, or by draging a rect to select the area within the rect. after selecting, user can modify (say, move) the selected area without affecting other area. i am not troubling you for writing down all the codings for me, but please give me some idea on how to do this. thanks
krazywest
krazywest
I think that it is called picking.

http://nehe.gamedev.net/
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=32

murasaki
murasaki
Thanks for reply.

i have studied the picking tutorial, but i think my case is somehow different.

the picking tut teaches picking by object, my case here involves millions of individual points, i think the picking mechanism may not be a proper way to do that.

is there another way to do point selection?

Topic Locked

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

Sign in to reply to this topic.