Skip to main content
gamedev.net
🔒 Locked

picking problem

Started by RedFTiger 0 replies 600+ views
Original Post
RedFTiger
RedFTiger
i have recently started using opengl picking in my project. i use it to select vertices in a program im making. the problem im having is that no matter how many vertices are on the screen it only selects the first vertice . i have looked over many tutorals and i still get the same problem any help is appreciated
rsegal
rsegal
What are the values you pass to "gluPickMatrix". If you select a small area under you''re mouse click to detect a click then you are likely to only recieve one vertex in your selection buffer. You may just need to increase the size of the box around the point on which you click your mouse to detect more vertices.

Have you checked out NeHe''s picking tutorial?
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=32
Rob Segal - Software Developerrob@sarcasticcoder.com

Topic Locked

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

Sign in to reply to this topic.