zeeee
06-17-2002, 11:27 AM
Hi ..
I posted the same question in the beginners forum, but no one replied....So I am posting it here .....
I have a very big scene, which might have around , 50000 objects. On glutMotionFunc , I rotate the object and on glutMouseFunc, I need the object to be selected and highlighted....
- I use GL_SELECT for selection... I do not want to redraw the entire scene....after selection to do the highlighting.... The examples in the redbook do not explain picking without redrawing....
-For highlighting, my machine is not supporting overlays...
So, I want to know 2 things...
1) How to avoid redrawing on Picking ?
2) What techinque can be used for highlighting...??
Thanx in advance..
I posted the same question in the beginners forum, but no one replied....So I am posting it here .....
I have a very big scene, which might have around , 50000 objects. On glutMotionFunc , I rotate the object and on glutMouseFunc, I need the object to be selected and highlighted....
- I use GL_SELECT for selection... I do not want to redraw the entire scene....after selection to do the highlighting.... The examples in the redbook do not explain picking without redrawing....
-For highlighting, my machine is not supporting overlays...
So, I want to know 2 things...
1) How to avoid redrawing on Picking ?
2) What techinque can be used for highlighting...??
Thanx in advance..