View Full Version : viewvolume size at runtime
11-14-2003, 11:40 AM
is there any way i can know what values the viewvolume has been set to when im running my program.
I'm not sure if it's easy but you can get the current projection matrix using e.g.
Of course now you have to get the values of the viewing volume from the matrix which I have no idea how to do that. Maybe you should also take a look at gluUnProject. Sorry but I cannot help more.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.