iwillburnyou / oglsuperbible5

Automatically exported from code.google.com/p/oglsuperbible5
0 stars 0 forks source link

The chapter 12 flocking example does not work #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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: