View Full Version : Can you modify the matrices during begin/end blocks?
02-07-2001, 12:13 PM
Is it legal to modify the transformation matrices multiple times within the same glBegin()/glEnd() block? Does that bog down the 3D card? I ask this because I have a portion of the map that uses the same texture, and I want to render some of it, change the camera, then render the rest.
02-07-2001, 12:41 PM
Within glBegin/glEnd block, you can not modify any matrix. To do so is an error.
02-08-2001, 06:08 AM
As DFrey said, you can't do any transformations inside glBegin/glEnd. There is nothing wrong with using multiple glBegin/glEnd blocks in a frame. It's often even necessary. (A series of triangle strips for example...)
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.