Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > What is your experience with JOGL?

Reply
Thread Tools

What is your experience with JOGL?

 
 
Mitch
Guest
Posts: n/a
 
      04-26-2006
Hi.

I have an assignment for a graphics class that requires the use of
openGL. The lecturer has assumed that everyone will use the C libraries
for it, and I've used C before so that wouldn't be too bad, but I know
that JOGL (And others if you have recommendations) exists and would be
more inclined to use Java than C. Mainly because Its due very soon and
re-learning C seems pointless when I'm short on time, and have just
finished a massive (for me) Java project.
So a long story short, have any of you used it and would you recommend
it? There are reports that it is flaky, but most of these come from
~2003 and the google groups cache on it is slim. Its not a huge
assignment, make a dude ride a unicycle and be able to change the camera
angles etc., so its hardly pushing the boundaries of openGL either, so I
assume JOGL will be able to handle it. I suppose I'm just looking for
any warnings before I continue

Thanks for your time

Mitch.
 
Reply With Quote
 
 
 
 
Mitch
Guest
Posts: n/a
 
      04-26-2006
Mitch wrote:
> Hi.
>
> I have an assignment for a graphics class that requires the use of
> openGL. The lecturer has assumed that everyone will use the C libraries
> for it, and I've used C before so that wouldn't be too bad, but I know
> that JOGL (And others if you have recommendations) exists and would be
> more inclined to use Java than C. Mainly because Its due very soon and
> re-learning C seems pointless when I'm short on time, and have just
> finished a massive (for me) Java project.
> So a long story short, have any of you used it and would you
> recommend it? There are reports that it is flaky, but most of these
> come from ~2003 and the google groups cache on it is slim. Its not a
> huge assignment, make a dude ride a unicycle and be able to change the
> camera angles etc., so its hardly pushing the boundaries of openGL
> either, so I assume JOGL will be able to handle it. I suppose I'm just
> looking for any warnings before I continue
>
> Thanks for your time
>
> Mitch.


Well the lecturer got back to me (Typically only after I had posted
this) and as he doesn't want to install any extra libraries he wants me
to do it in C. I would still be open to any advice on JOGL, but it's
not needed any more.

Thanks anyway!

Mitch.
 
Reply With Quote
 
 
 
 
Chris Uppal
Guest
Posts: n/a
 
      04-26-2006
Mitch wrote:

> [...] I
> assume JOGL will be able to handle it. I suppose I'm just looking for
> any warnings before I continue


If your teacher will be running it on his/her own machine, then I suggest that
you check that JOGL will run on that machine before committing too much time to
it. Alternatively, check that the powers-that-be will accept "it works fine on
my machine, let me demonstrate".

OTOH, and if I remember correctly (not too likely in this case because I've
only ever glanced over it), JOGL's a pretty thin wrapper for OGL, rather than a
graphics library which happens to use OGL as its lowest layer. If so then the
JOBL bindings will not be wildly different from the C bindings and changing
horses in mid-stream should be quite easy. Especially if you concentrate on
the OGL stuff to start with, rather than the more Java-specific stuff like
window handling, etc.

-- chris


 
Reply With Quote
 
Mitch
Guest
Posts: n/a
 
      04-28-2006
I'm in two minds.

The lecturers reply was


/////

Hi,



Is this for your EE3F2 assignment?



If it is you should be use the C binding. I need to be able to execute
the program and do not have time to install additional libraries.



Regards,



DP

/////

I really want to email him with the argument that he wouldn't need to
include any other libraries and that I could provide a suitable
executable.

I have posted this on the javagames.org forum:

///////

Hi.

I am required for a graphics course to use openGL, however the lecturer
is familiar with the C bindings / api / library et al. I would very
much like to do my project in Java (as C is the spawn of Satan),
however I have a few questions before I approach him with it.

My first is the most important, without a yes to this I cant continue.

>> Is it possible to create my program, using JOGL, without the assessor having to install any extra libraries etc.?


To expand on that, he requires a standalone executable. He has (I
assume) the libraries required to run openGL from Visual Studio in C,
but If i were to give him a file (perhaps a .jar) could I include all
the libraries etc he would require in one place so that he wouldn't
have to install anything extra, and he could just run my program.

>> Apparently the bindings are very similar to openGL in C, and as such, does it still use an OO Approach? the C code I have looked at regarding openGL looks far more confusing that it needs to be. I was wondering if there will still be individual classes for each item drawn etc.


Basically my two main concerns are A) I need the lecturer to have ne
excuses to give me as to why he cant accept it in Java (He does program
in Java anyway) and B) Is it significantly different to warrant the
extra effort using JOGL and creating an application that he can assess.


Thank you for your time.

Mitch

////////

Waiting responses. If any of you kind folk have any opinions on the
above I would be grateful.

Thanks again

Mitch.

 
Reply With Quote
 
andrewthommo@gmail.com
Guest
Posts: n/a
 
      05-01-2006

Chris Uppal wrote:
> Mitch wrote:
>
> > [...] I
> > assume JOGL will be able to handle it. I suppose I'm just looking for
> > any warnings before I continue

>
> If your teacher will be running it on his/her own machine, then I suggest that
> you check that JOGL will run on that machine before committing too much time to
> it.


JOGL projects can be launched using JWS.

If the instructor has Java 1.3+ and internet, they
should be set.

Andrew T.

 
Reply With Quote
 
Mitch
Guest
Posts: n/a
 
      05-03-2006
http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:
> Chris Uppal wrote:
>> Mitch wrote:
>>
>>> [...] I
>>> assume JOGL will be able to handle it. I suppose I'm just looking for
>>> any warnings before I continue

>> If your teacher will be running it on his/her own machine, then I suggest that
>> you check that JOGL will run on that machine before committing too much time to
>> it.

>
> JOGL projects can be launched using JWS.
>
> If the instructor has Java 1.3+ and internet, they
> should be set.
>
> Andrew T.
>


Thanks, but the assignment specified the program had to be run from a
disc I had to hand in (if it were internet based I would be able to
change the code after the deadline).

It's finished now, had to be done in C, turns out it wasn't as bad as I
thought - though not being able to separate the 1793 lines of code into
classes drove me crazy.

Thanks for all your comments though

--
Mitch
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ZoneAlarm has detected a problem with your installation, and therefore has restricted Internet access from your machine for your protection. Donít panic A Teuchter Computer Support 2 05-19-2005 09:20 PM
OT: Whats the best memory in your experience? AFK Computer Support 3 12-17-2004 10:10 PM
would you please share your experience in ASP.NET printing Edward ASP .Net 2 07-18-2004 04:37 PM
Is there a person who I experience absurd event that experience? PS2 gamer Cisco 4 06-01-2004 07:52 PM
10D software behaves badly - what's your experience? David Ellis Digital Photography 10 10-03-2003 09:37 PM



Advertisments