05-12-2006, 10:43 PM

Hello,

I thought I could use the normal picking procedure to select objects with a rubberband box but this only works if the area is completely covered with objects.

If I have a part of the area without objects, I get zero hits.

Is this expected behaviour?

If so, what can I do to create a rubberband selection?

glu.gluPickMatrix((x0+x)*0.5, (double)(viewport[3]-(y0+y)*0.5),Math.abs(x0-x),Math.abs(y0-y),viewport,0);Box diagonal corners (x0,y0) and (x,y)

Thanks for your feedback

/Jonas Forssell, Gothenburg, Sweden

I thought I could use the normal picking procedure to select objects with a rubberband box but this only works if the area is completely covered with objects.

If I have a part of the area without objects, I get zero hits.

Is this expected behaviour?

If so, what can I do to create a rubberband selection?

glu.gluPickMatrix((x0+x)*0.5, (double)(viewport[3]-(y0+y)*0.5),Math.abs(x0-x),Math.abs(y0-y),viewport,0);Box diagonal corners (x0,y0) and (x,y)

Thanks for your feedback

/Jonas Forssell, Gothenburg, Sweden