View Full Version : Viewer Program
07-14-2005, 12:43 PM
I helped create a program that is for viewing meshes. Though the program only views on mesh at a time, and now I am trying to make it so that it can view several meshes without having to run several instances of the program.
I am not sure how to do this though, can someone give me some help?
Well, you could seperate your world coordinates and draw your meshes in various parts, top left, top right etc. You could have a zoom in/out function to allow the user to see a mesh closer.
07-18-2005, 11:08 AM
Is it possible to make the program run multiple instances of the viewer?
Is it possible to make the program run multiple instances of the viewer?You need to clarify your question a little.
1) You can use your window API to create multiple viewport windows/splitters for each view.
2) You can also arrange viewports arbitrarily in opengl by calling glViewport, as dvm pointed out.
Most commercial editors prefer 1.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.