Author Topic: Text and 3D object picking  (Read 1810 times)

0 Members and 1 Guest are viewing this topic.

Charles Pegge

  • Guest
Text and 3D object picking
« on: May 06, 2013, 09:49:56 AM »

Some more OpenGl technology.

TypeFaces can be rendered in Polygon Form, z-extruded into 3D if required. Each ascii character is a compiled list of polygons. This allows text to be display in any size, proportions or color.

To enable individual ojects to be identified in a 3d scene, mapping them to the mouse position, Opengl performs a special pass, rendering the sceen in the immediate proximity of the mouse, and logging only those objects which appear within this confined viewport. Each object can then be identified in nearest-first priority.

Charles

X