Tao Framework

There was a problem when adding the SimpleOpenGLControl component...

After installation, TaoFramework added three dlls to SolutionExplorer:

  1. Tao.OpenGl;
  2. Tao.FreeGlut;
  3. Tao.Platform.Windows;

The necessary control is located in Tao. Platform.Windows. Then right-click in the toolbar to select "Choose Items".

And there is no SimpleOpenGLControl in the list of controls... How to solve the problem?

Addendum.

Yes, added links...

Author: Nicolas Chabanovsky, 2011-01-20

3 answers

Everything is correct in the links!

In the code, we add:

using Tao.FreeGlut;
using Tao.OpenGl;
using Tao.Platform.Windows;

Then we do this:

namespace ololo  
{  
    public partial class Form1 : Form  
    {  
        void initgraphics()  
        {  
            SimpleOpenGlControl sm = new SimpleOpenGlControl();  
        }  
        ...  
    }  
}

Pruflink - http://members.hellug.gr/nkour/Tao.OpenGL_Builder/SimpleIntro_Borland.html

 1
Author: piterstockman, 2011-01-21 11:28:57

If you just put the dll in the project, then nothing will appear. You need to add links to libraries to the project.

 0
Author: Nicolas Chabanovsky, 2011-01-20 19:44:39

In visual-basica, it will be like this:

Imports Tao.FreeGlut
Imports Tao.OpenGl
Imports Tao.Platform.Windows
 0
Author: BStudio, 2011-03-14 14:14:52