Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (494)
Games in Android Showcase (113)
games submitted by our members
Games in WIP (563)
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  
  Learning 3D Graphics with LWJGL  (Read 502 times)
0 Members and 1 Guest are viewing this topic.
Offline SHC
« Posted 2013-08-13 12:38:55 »

I'm trying to learn how to make 3D games with LWJGL. So at first, I started with basics and now I can create a rotating cube with blended colors. However, I don't know what to do next. I'm using "Slick-Util" library to load textures. Please guide me with some tutorials on how to progress from here.

Offline jonjava
« Reply #1 - Posted 2013-08-13 13:54:37 »

Make lots of cubes. Cubes all over the place!

Offline StrideColossus
« Reply #2 - Posted 2013-08-13 14:09:04 »

I found this to be a very good (though incomplete) walkthrough of OpenGL:  http://www.arcsynthesis.org/gltut/
Not LWJGL-specific but that shouldn't matter.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Redocdam

Senior Member


Medals: 17



« Reply #3 - Posted 2013-08-13 16:59:26 »

You'll probably want to embark on the wonderfully frustrating world of lighting. The Arcsynth tutorials are really good at explaining the per vertex lighting. However, you'll want to move into per-fragment lighting soon after that (also called Normal Mapping).

After that, it really starts to come down to what you want to do with the graphics. You may need to get into particle emitters or Frame Buffer rendering and so on.

But it's important to the proper ground work in first. I suspect you may be using the fixed pipeline functionality, it seems to be a natural direction everyone gravitates to when starting. I strongly recommend you ditch that and use OpenGL 3.3 or higher.

Here's What I Iecommend:
1.) Use Arcsynth to get a solid ground work. Make sure you're using things like Vertex Array Objects, Vertex Buffer Objects and non deprecated functionality. As I mentioned, it's also a good source for per vertex lighting. It does have some useful information on textures as well.

2.) http://www.opengl-tutorial.org/ Is a great resource for beginning to intermediate tutorials. I think they have the absolute best explanations overall. I recommend learning things like normal mapping and Frame Buffer Objects from here.

3.) http://ogldev.atspace.co.uk/index.html This also has some beginner and intermediate tutorials explaining things like normal mapping and so on. In the beginning, it'll just be a nice place to ping-pong between if another tutorial isn't making sense. Much later on down the road, it becomes a great resource for more advanced concepts.
Offline quew8

JGO Coder


Medals: 29



« Reply #4 - Posted 2013-08-13 17:49:46 »

+1 on arcsynthesis tutorials, and the brilliant @ra4king has in fact made a LWJGL port of the code here: https://bitbucket.org/ra4king/lwjgl-shader-tutorials .

Also, be aware that the LWJGL wiki has some excellent tutorials (IMO) for exactly your stage. Getting out of fixed function and into the bright world of vertex buffers and shaders. http://www.lwjgl.org/wiki/index.php?title=Main_Page
Offline davedes
« Reply #5 - Posted 2013-08-13 20:12:17 »

To add to the list of links.. Here are some of mine:
https://github.com/mattdesl/lwjgl-basics/wiki

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.

Dwinin (16 views)
2014-09-12 09:08:26

Norakomi (50 views)
2014-09-10 13:57:51

TehJavaDev (59 views)
2014-09-10 06:39:09

Tekkerue (27 views)
2014-09-09 02:24:56

mitcheeb (50 views)
2014-09-08 06:06:29

BurntPizza (34 views)
2014-09-07 01:13:42

Longarmx (20 views)
2014-09-07 01:12:14

Longarmx (23 views)
2014-09-07 01:11:22

Longarmx (22 views)
2014-09-07 01:10:19

mitcheeb (31 views)
2014-09-04 23:08:59
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!