Set the viewport. Draw. Repeat.
i.e.
glViewport(0,0,width, height/2);
drawWaveform();
glViewport(0,height/2, width, height/2);
drawWaveform();
cheers,
-----
Ben Scott
Research Assistant
VR Juggler Team
Virtual Reality Applications Center
bs...@vr...
On Sat, 5 Oct 2002, Andres Reinot wrote:
> How do I have two viewports in openGL? I'd like to draw two waveforms into
> separate sections, and then render the result of their combination into
> another viewport.
> Can glut do this easily or with multiple windows?
>
> Andres
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> ISUGameDev-devel mailing list
> ISU...@li...
> https://lists.sourceforge.net/lists/listinfo/isugamedev-devel
>
|