> include GL thank you for your example > loop do > MatrixMode(PROJECTION) > LoadIdentity() > Perspective( > camera.fov, > viewport.width.to_f / viewport.height, > camera.near_clip, > camera.far_clip) error = undefined local variable or method `camera' for main:Object (NameError) do I have to make the camera or something, I'm sorry but I want to get it working. but it wont > MatrixMode(MODELVIEW) > LoadIdentity() > LookAt( > camera.position, > camera.looking_at, > camera.up_vector) > > call_frame_handlers_to_update_scene_and_camera > > draw scene > > swap_buffers > end > -- Posted via http://www.ruby-forum.com/.