Picking with OpenGL 4.1 and double pixel buffering.

Publication Year: 
2011

Normal
0
21

false
false
false

MicrosoftInternetExplorer4

/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Tabla normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0pt 5.4pt 0pt 5.4pt;
mso-para-margin:0pt;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}

Picking consists on identifying the object scene under the mouse coordinates. This is an example of a picking method using shaders and following OpenGL 4.1 standard. The method basically consists on rendering each object with one uniform color, using a fast shader program, in an off-screen frame buffer texture. Then the frame buffer texture is downloaded using a double pixel buffering technique to maximize performance.

Institution: 
?
AttachmentSize
110606_picking.pdf24.46 KB
jimeffect
Offline
Joined: 08/30/2011
Thanks Mario - Been looking

Thanks Mario - Been looking for this. Had no idea it was so simple. Or maybe it's just you, making it look that way. Cheers!