Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (600)
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  
  Help starting 3d with libgdx  (Read 3324 times)
0 Members and 1 Guest are viewing this topic.
Offline vbrain
« Posted 2013-04-12 19:02:49 »

Ok, I know some of you are using 3d with libgdx. Now, I've been trying to figure out opengl with libgdx, and Google has been completely useless.
I have a 3d model and I've been trying to figure out how to render it and how to do basic 3d crap, but no useful tutorial exists for this type of thing. There aren't even any useful libgdx tutorials for using GL2.0 and shaders.

I need some tutorials, please.
Offline JESTERRRRRR

Senior Devvie


Medals: 7
Exp: 1 year



« Reply #1 - Posted 2013-04-13 00:08:53 »

Far as I know theyre having a complete re-do of the 3D API so it might be worth waiting (as I am); correct me if I'm wrong people
Offline HeroesGraveDev

JGO Kernel


Medals: 309
Projects: 11
Exp: 3 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #2 - Posted 2013-04-13 00:30:36 »

3D with OpenGL:

- Perspective instead of orthographic projection.
- Depth Testing
- Back face culling (most of the time)
- Diffuse/Ambient Lighting (easily done with shaders)
- Everything you normally have for 2D

Work out how to do these with LibGDX and you should be fine.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline vbrain
« Reply #3 - Posted 2013-04-13 01:01:48 »

3D with OpenGL:

- Perspective instead of orthographic projection.
- Depth Testing
- Back face culling (most of the time)
- Diffuse/Ambient Lighting (easily done with shaders)
- Everything you normally have for 2D

Work out how to do these with LibGDX and you should be fine.

Completely unhelpful. There are no useful tutorials that explain using objects, moving objects on the screen, or teach how to properly use shaders. I already know what all those things are, but every "tutorial", if you could even call them that, was useless.
Offline HeroesGraveDev

JGO Kernel


Medals: 309
Projects: 11
Exp: 3 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #4 - Posted 2013-04-13 01:18:18 »

Completely unhelpful. There are no useful tutorials that explain using objects, moving objects on the screen, or teach how to properly use shaders. I already know what all those things are, but every "tutorial", if you could even call them that, was useless.

Object files: Use ObjLoader?

Moving Objects: Translate/rotate, then render?

Writing Shaders: If that was what you meant when you said how to properly use shaders: I don't think you have been looking

Otherwise:
Using Shaders:

1. Load shader.
2. Bind shader.
3. Render.


Is that helpful enough for you?

Offline vbrain
« Reply #5 - Posted 2013-04-13 01:20:10 »


Is that helpful enough for you?

No.
Offline HeroesGraveDev

JGO Kernel


Medals: 309
Projects: 11
Exp: 3 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #6 - Posted 2013-04-13 01:21:38 »


It's your loss, not mine. Tongue

Offline Nate

« JGO Bitwise Duke »


Medals: 158
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #7 - Posted 2013-04-13 06:18:53 »

You could dig through this and through the code it talks about.
http://www.badlogicgames.com/forum/viewtopic.php?f=23&t=7020

Offline ReBirth
« Reply #8 - Posted 2013-04-13 12:17:41 »

Yet I will still wait for test class where a three colored triangle spinning on Z axis.

Offline JESTERRRRRR

Senior Devvie


Medals: 7
Exp: 1 year



« Reply #9 - Posted 2013-04-17 01:39:29 »

If you wanna get things done, fast, and get on with making a functioning game or w/e, i really recommend jpct. pc or android.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 139
Projects: 4
Exp: 3 years



« Reply #10 - Posted 2013-04-18 05:06:19 »

3D with libgdx is barely documented, I would highly recommend learning lwjgl/some opengl variant because it will allow to work in a very precedented 3d environment as well as heighten your understanding of libgdx, not to mention that stuff learned from one opengl wrapper tends to transfer to others. It's more low level but for 3D it's probably gonna be worth the time.
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.

rwatson462 (29 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (40 views)
2014-12-09 22:41:13

BurntPizza (75 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (50 views)
2014-12-03 16:27:13

CopyableCougar4 (47 views)
2014-11-29 21:32:03

toopeicgaming1999 (113 views)
2014-11-26 15:22:04

toopeicgaming1999 (100 views)
2014-11-26 15:20:36

toopeicgaming1999 (30 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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
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!