-
Viewport on another viewport..
Hi,,
i am new to opengl. can i create a viewport on mouse move.. need help.. plz...
-
Advanced Member
Frequent Contributor
In OpenGL the viewport controls the mapping from normalized device coordinates to window coordinates, as such you don't create one of these but instead set it and it affects any rendering done from that point onward until you change the viewport settings again.
Given your other recent question I'm wondering if what you really want is creating a new OpenGL widget/window? That is something outside of OpenGL (i.e. off-topic here) and depends on the windowing toolkit/api that you use - you may want to ask on a forum that is dedicated to whatever you use there.
-
Thank you for your reply..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules