这里不能打开文件可以是代码: public void LoadTexture(string textureId, string path)
{
int devilId = 0;
Il.ilGenImages(1, out devilId);
Il.ilBindImage(devilId); // set as the active texture
我有一个是基于Giawa教程数字一个OpenGL程序1-5.Basically我创建一个图像,在屏幕上显示出来,并使其旋转。我想要完成的是添加键盘事件来更改图像的某些参数。举例来说,在我的代码我想按F6,使图像旋转,速度快: using System;
using Tao.FreeGlut;
using OpenGL;
using System;
using System.Windows;