We need you!

We're working hard on the next version of Developer Fusion. Let us know what you think we should be up to!

Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

Rated
Read 78,159 times

Contents

Related Categories

OpenGL and C# - Part 1 - Summary

Trialution

Summary

You now know how to set up a OpenGL form where you can draw. But for now play with this and I will come soon with my next article about OpenGL.

BTW: there is one thing I want to tell you and that is that you can put as many glColor3f() functions between the glVertex3f() so that all points get different colors really cool!!! As you may notice we didn’t covered any basics for coordinates and this will be my next article to really draw some figures and so.

I'm doing first year Informatica at academy of Amsterdam

Comments

  • Re: [3930] OpenGL and C# - Part 1

    Posted by mpuma on 01 Feb 2008

    I also get this error.  One way of circunventing is by setting the boolean


    CheckForIllegalCrossThreadCalls = false...

  • Re: [3930] OpenGL and C# - Part 1

    Posted by James2432 on 10 Feb 2007

    I get the fallowing exception:  Cross-Thread operation not valid: Control "accessed from a thread other than it was created on.

    in this:

    for (; ; ) // infinity loop for rendering

  • Re: [3930] OpenGL and C# - Part 1

    Posted by dreamlabs on 02 Jun 2006

    when i download the zip file for Csgl one of the files is missing, what should I do? I have looked over the web for other places that have the file, no luck.   

  • Cube doesn't appear...

    Posted by specode on 24 Nov 2005

    I am not sure but I think there is a misstyped variable name "Position", I wonder if its "fPlusPostion".

    Cube.cs Line 76
    ----
    this.ViewPort = 0;
    this.fMinusPosition = 0f...

  • Posted by echoSwe on 10 Jul 2005

    I have the same problem, but I do actually have that line in place in the constructor of OurView.

    I tried this:

    [code]
       Cube cb = new Cube();
       cb.CubeColorBlue = 0.7f;
       cb.CubeColorGreen = 0....