|
From: Johan S. <jo...@if...> - 2005-10-06 14:48:40
|
Hello! I am currently developing a program where we are using vertex attributes, and in order to get my attributes read correctly from an array I have to to the following: shader.setAttribPointer( "VerLod", 1, GL_FLOAT, 1, &attribs[0], false );=09= =09 shader.enableClientState( "VerLod" ); shader.activate(); Should not glProgram::run/activate enable this by itself? The user has clearly stated that he intends to use a vertex attributes from a pointer, why must he say so one more time. -- Help a man with his math problems and you get him off your back for a day. Teach a man math, and you scare him off for the rest of your life. Regards Johan Seland PhD Student Center of Mathematics for Applications University of Oslo |