Skip to main content



      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 05:42 Go to next message
Eclipse UserFriend
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 11:02 Go to previous message
Eclipse UserFriend
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: Sat May 24 07:05:16 EDT 2025

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

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

Back to the top