SurGL
04-18-2001, 02:14 AM
I understand that
glGEtIntegerv(GL_VIEWPORT,viewport) will
return the current viewport cordinates.
Question: What will happen if I mention more than one viewports while drawing.
say,
Setviewport ( left half)
draw object 1
Setviewport ( Right half)
draw object 2
In this case which value will
glGEtIntegerv(GL_VIEWPORT,viewport) function
returns.
I am trying to use selection buffer in a split screen.
glGEtIntegerv(GL_VIEWPORT,viewport) will
return the current viewport cordinates.
Question: What will happen if I mention more than one viewports while drawing.
say,
Setviewport ( left half)
draw object 1
Setviewport ( Right half)
draw object 2
In this case which value will
glGEtIntegerv(GL_VIEWPORT,viewport) function
returns.
I am trying to use selection buffer in a split screen.