We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › Buffer picking in OpenGL
Page Index Toggle Pages: 1
Buffer picking in OpenGL (Read 720 times)
Buffer picking in OpenGL
Mar 27th, 2009, 10:04am
 
Does anyone have an example of buffer picking in OpenGL with Processing?  My P3D buffer draws are way slower than my real draws.  It takes a several seconds for my buffer to report on what I clicked.  Rendering 500,000 objects, which runs at a nice 60fps in OpenGL.  I think P3D is choking inside the buffer or something.  Picking runs fine with 10,000 for example.
Re: Buffer picking in OpenGL
Reply #1 - Mar 28th, 2009, 4:25am
 
For the moment, I've gotten around this "issue" by limiting the number of picking objects I draw to those easily visible to the the camera.  Described in this thread.  http://processing.org/discourse/yabb2/num_1237216635.html#5  But a example of how to pick in pure OpenGL would be nice. Smiley
Page Index Toggle Pages: 1