Jump to content

  • Log In with Google      Sign In   
  • Create Account

intenseza

Member Since 20 Feb 2013
Offline Last Active May 08 2013 03:43 PM

Posts I've Made

In Topic: Randomly Generating Lines...

06 March 2013 - 03:02 PM

Sorry to worry again. I'm implementing the cohen clipping algorithm and in order to do this, I need to be able to show the parts of the line that are outside the viewport in a different colour. Firstly, how is it possible to show objects that aren't within the viewport?


In Topic: Randomly Generating Lines...

06 March 2013 - 01:44 PM

You Sir are a lifesaver. I would have spent hours trying to figure it out. Bless you!


In Topic: OpenGL I might just cry. Beginner needs help please...

20 February 2013 - 03:47 PM

The background colour changes when I change it, but nothing seems to be drawing properly...


In Topic: OpenGL I might just cry. Beginner needs help please...

20 February 2013 - 03:38 PM

I've replaced that Triangle code with the following

 

 

Gl.glBegin(Gl.GL_LINES);
            Gl.glColor3f(0.5f, 0.5f, 0.0f);
            Gl.glVertex3f(-2.0f, 2.0f, 0.0f);
            Gl.glVertex3f(2.0f, -2.0f, 0.0f);
            Gl.glEnd();
 
Nothing wants to draw/render. It's pretty upsetting when you want to do your assignments and nothing wants to work :/

In Topic: OpenGL I might just cry. Beginner needs help please...

20 February 2013 - 02:28 PM

For some strange reason I fiddled around and made it work. -_- Thanks for the response, I'll be back if I run into more problems (hopefully not)


PARTNERS