ACS
02-08-2000, 12:36 PM
Im working on a project where we are displaying many rendered objects and we need to be able to select any one of them and return information on it. There are thousands of objects.
When working with selection mode as described in the opengl programming guide, I only seem to be able to push 128 names onto the name stack. (Win98)
Is this a limitation of the name stack ? Or am I doing something wrong ? Is there a way around it ?
The programming guide also describes "object selection using the back buffer" by assigning each object a unique color and simply checking what color youve selected. Is this the only way to implement selection of large numbers of objects ?
Any input would be appreciated.
Thanks
ACS
When working with selection mode as described in the opengl programming guide, I only seem to be able to push 128 names onto the name stack. (Win98)
Is this a limitation of the name stack ? Or am I doing something wrong ? Is there a way around it ?
The programming guide also describes "object selection using the back buffer" by assigning each object a unique color and simply checking what color youve selected. Is this the only way to implement selection of large numbers of objects ?
Any input would be appreciated.
Thanks
ACS