Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (492)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (556)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Beginner JOGL user  (Read 4180 times)
0 Members and 1 Guest are viewing this topic.
Offline kdub259

Junior Newbie





« Posted 2010-10-20 15:01:52 »

Hi, i am currently undertaking my final year at university and my main project requires me to create a 3D model viewer using JOGL. I have never used JOGL or OpenGL. I have the JOGL demos running in NetBeans and have began reading the Red Book (so ive made a better start than a lot of new JOGL users!). It would be great if i could get a few things cleared up:

1. Should i use JOGL 2 or the latest 1.x version which i currently have (i dont think theres a jogl 2 plugin pack for NetBeans)
2. Are there any basic 3d model viewer examples using JOGL? (I would like to see the structure of the classes and code as i am struggling a bit with this)
3. I have tried some basic tutorials but i am not sure how i would import 3D objects (.obj format) into my program

I understand there is a wide range of information i am asking for, but any information (or links) would be greatly appreciated

Thanks
Offline andys

Innocent Bystander





« Reply #1 - Posted 2010-10-21 09:38:35 »

Hi,

as i am myself currently trying to get into JOGL2 i can offer you some useful links - took me some time to filter out these from the "not so good" links  Smiley :

https://sites.google.com/site/justinscsstuff/jogl-tutorials ... how to setup JOGL 2 and basics - actually this is the only Tutorial i found which is based on JOGL 2 - sad. To be honest i don't even know the exact difference between JOGL 1.x and JOGL 2.x yet  Huh - i just thought its better to jump into it using the latest and greatest...  Undecided

http://nehe.gamedev.net/data/articles/article.asp?article=13 .... explains matching Mouse Location with World location - but there are tons of other OpenGL examples on the NEHE site.

http://beta.wikiversity.org/wiki/Computer_graphics_--_2008-2009_--_info.uvt.ro/Laboratory_2 ... explains JOGL in very much detail via 14 Chapters - lots of example code.

http://www.java-tips.org/other-api-tips/jogl/ .... plenty of Tipps and Tricks related to JOGL

Regarding your .obj loader question:
If you download the JOGL Demos source code (http://github.com/sgothel/jogl-demos) you will find there "src\demos\util\ObjReader.java"  which i guess can be used to load .obj files. (haven't tested this yet).

regards
    Andy


Offline cylab

JGO Ninja


Medals: 45



« Reply #2 - Posted 2010-10-21 11:39:31 »

Quote
1. Should i use JOGL 2 or the latest 1.x version which i currently have (i dont think theres a jogl 2 plugin pack for NetBeans)

I would stay with the working JOGL 1.x version for this project. If you feel the need you could step to 2.x with your next version. The ObjReader is also contained in the OpenGL-Pack - just browse the project templates. I think at least the volumetric shadow demo uses a .obj model.

Mathias - I Know What [you] Did Last Summer!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gouessej
« Reply #3 - Posted 2010-10-24 22:12:49 »

I would stay with the working JOGL 1.x version for this project. If you feel the need you could step to 2.x with your next version. The ObjReader is also contained in the OpenGL-Pack - just browse the project templates. I think at least the volumetric shadow demo uses a .obj model.
cylab is right. Switch to JOGL 2 only if you have a problem with a bug of JOGL 1.1.1a. However, I hope that we will advise everyone to switch to JOGL 2 in a few months when the whole API will be reliable enough (which is almost the case as Sven has recently fixed the most impacting bugs).

Offline kdub259

Junior Newbie





« Reply #4 - Posted 2010-10-24 23:33:50 »

Thank you for the replies, they have been extremely helpful!

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Nickropheliac (16 views)
2014-08-31 22:59:12

TehJavaDev (23 views)
2014-08-28 18:26:30

CopyableCougar4 (33 views)
2014-08-22 19:31:30

atombrot (42 views)
2014-08-19 09:29:53

Tekkerue (41 views)
2014-08-16 06:45:27

Tekkerue (35 views)
2014-08-16 06:22:17

Tekkerue (26 views)
2014-08-16 06:20:21

Tekkerue (37 views)
2014-08-16 06:12:11

Rayexar (73 views)
2014-08-11 02:49:23

BurntPizza (49 views)
2014-08-09 21:09:32
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!