Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Issue with LWJGL and OpenGL input(something's not right..)
Issue with LWJGL and OpenGL input [message #1694707] Thu, 07 May 2015 09:42 Go to next message
Monhold Args is currently offline Monhold ArgsFriend
Messages: 1
Registered: May 2015
Junior Member
Hi there,

I am very new in Java programming and just got started, in september I will go to the university and study computer science and I thought I might prepare myself a little bit with software development.

I am currently following a youtube tutorial series by ''thebennybox'' and got stuck, the goal is to make a square in OpenGL with LWJGL 2.8.4, I am using the Eclipse IDE for Java Developers and work on my new Surface Pro 3 - Intel Core i7 - 256GB

The issue is that two lines of code are not being recognized:
----------------------------------------------------------------
glLoadIdentity();
glOrtho(0, 800, 0, 600, 1, -1);
----------------------------------------------------------------
The full code goes like this: ninjacave(dot)com/lwjglbasics3

I really don't see why glLoadIdentity and glOrtho aren't working in my code, hopefully one of you can help me out.

Thanks very much in advance!
Re: Issue with LWJGL and OpenGL input [message #1694758 is a reply to message #1694707] Thu, 07 May 2015 15:02 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 05/07/2015 06:33 AM, Monhold Args wrote:
> Hi there,
> I am very new in Java programming and just got started, in september I
> will go to the university and study computer science and I thought I
> might prepare myself a little bit with software development.
>
> I am currently following a youtube tutorial series by ''thebennybox''
> and got stuck, the goal is to make a square in OpenGL with LWJGL 2.8.4,
> I am using the Eclipse IDE for Java Developers and work on my new
> Surface Pro 3 - Intel Core i7 - 256GB
>
> The issue is that two lines of code are not being recognized:
> ----------------------------------------------------------------
> glLoadIdentity();
> glOrtho(0, 800, 0, 600, 1, -1);
> ----------------------------------------------------------------
> The full code goes like this: ninjacave(dot)com/lwjglbasics3
>
> I really don't see why glLoadIdentity and glOrtho aren't working in my
> code, hopefully one of you can help me out.
>
> Thanks very much in advance!

This forum is to help you get Eclipse running. You'll need javaranch.com
or stackoverflow.com for Java questions.
Previous Topic:Eclipse Luna & OSGi
Next Topic:make : [...] Error 1 (ignored)
Goto Forum:
  


Current Time: Wed Sep 23 10:59:40 GMT 2020

Powered by FUDForum. Page generated in 0.02986 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top