sidshekar / oglsuperbible5

Automatically exported from code.google.com/p/oglsuperbible5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The chapter 12 flocking example does not work

GoogleCodeExporter opened this issue · comments

I tried to run the flocking example but it displays a blank screen. I tried to 
see if the opengl pipeline is fine however, calling gltCheckErrors in the 
render loop tells me that there is an error. 

Original issue reported on code.google.com by mmmova...@gmail.com on 8 Jan 2011 at 10:04

Ok I figured out why the demo is not running, the flock_position and 
flock_velocity attribute locations are not bound to the flock_update_program. I 
managed to fix this and it works fine check the attached file. 

Original comment by mmmova...@gmail.com on 24 Jan 2011 at 5:59

Attachments: