Questions tagged [picking]
149 questions
0
votes
1 answer
Three.js picking is not working correctly with custom geometry
I have a problem with picking implementation. I found a number of different examples doing what I want, but I really cannot make it work as it should. I mainly followed this example
Basically, I have some meshes in my scene and, double clicking any…

Emonale
- 513
- 2
- 7
- 22
0
votes
0 answers
Picking problems with collada loaded models in ThreeJS
I'm experiencing picking problems when loading a collada model in ThreeJS. The picking example for cubes works fine. Loading a collada model works as well.
However it seems that for picking collada object I need to pick well above the 3D object. As…
0
votes
1 answer
C++ OpenGL Mouse picking on thin lines not working
I am first time using picking technique and I have followed the NEHE tutorial to use picking technique in opengl , i actually need to detect the thin lines on the square. But i am not sure why it is not detecting it correctly , even if i remove the…

wolvorinePk
- 1,760
- 5
- 36
- 67
0
votes
0 answers
Java OpenGL: Mouse picking in 3D Space
I am trying to make some sort of 3D Editor with Java and OpenGL. And now I'm implementing the basic functions of an 3D Editor like rotating the camera around a specific Position and zooming. Next I want to do a 3D Picking to select Objects,Lines and…

user1432679
- 17
- 1
- 4
0
votes
1 answer
how to get colors by glreadpixels?
I am trying to get a color of touch point on the screen in Android. but it shows me only RGB = (0, 0, 0) value. I have searched other sites. it said that i should add some codes below but it didn`t change…

Mungunbat Enkhbayar
- 171
- 2
- 15
0
votes
1 answer
3d ray picking accuracy
I've implemented 3d ray picking and have some problems with accuracy. When picking at the bottom or center of the screen - everything works perfect, but at the top of the screen coordinates seem to move a bit away. So when i pick object near the top…

user1121537
- 23
- 6
0
votes
1 answer
OpenGL picking and finding hitpoint of texture
I'm currently into looking into picking using a ray. I can find which model is selected, but how can I retrieve the position on the texture which is picked? I'm talking about a quad in this case.
Edit: Also, if I want to check whether the hitpoint…

RobotRock
- 4,211
- 6
- 46
- 86
0
votes
1 answer
IOS GLKit : Turing GLKViewDrawableMultisample4X stops object picking
I am using pixel colour picking to work out which OpenGL object I have clicked on and it works brilliantly
As soon as I turn GLKViewDrawableMultisample4X on in the view, the picking stops working?
I have tried turning this on and off when I touch…

Burf2000
- 5,001
- 14
- 58
- 117
-1
votes
1 answer
Slow transform feedback-based picking?
I'm trying to implement picking routine using transform feedback. Currently it works ok, but the problem is very low speed (slower than GL_SELECT).
How it works now:
Bind TBO using glBindBufferRange() with offset (0 in the beginning).
Reset…

Vetal B
- 1
-1
votes
2 answers
i searched but all the questions lead to same strings or even only two strings to be separated ,but my requirement covers wider version
I have this in a single row with a particular line number, I have to pick up the 2nd 67503.55- and 51810.60- and discard everything else.
TOTALS: 228 67503.55- **67503.55**- 165420.27 217230.87- …

Monalisa Rout
- 9
- 1
-1
votes
1 answer
OpenGL Glut Picking not processing hits
I can't figure out why I keep getting 0 hits when I click on anything. I had already gotten the main robot working and have it responding to keyboard commands great, but I can't seem to get it to register a hit for some reason.Been trying to follow…

fenriskiba
- 51
- 8
-1
votes
1 answer
Trackball issue with Raypicking
I'm trying to develop a 3D raypicking in my OpenGL scene.
I have a working OBJ loader with a trackball.
char* model_file = NULL; /* name of the obect file */
GLuint model_list = 0; /* display list for object */
GLMmodel* model;…

Gorgo
- 456
- 1
- 7
- 19
-1
votes
1 answer
OpenGL picking shows nothing after the pick
So I have 2 cubes in a display list and I want one of them be pickable so I can maybe change his color or something like that.
When I click on a cube then the screen turns black and nothing happens, the console gives me output of the closest hit but…

user1007522
- 7,858
- 17
- 69
- 113