7 Replies - 2007 Views - Last Post: 10 March 2014 - 08:37 PM Rate Topic: -----

#1 firedingo   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 26-February 14

How to go about 3D in Java?

Posted 26 February 2014 - 09:37 AM

Hi, So I like programming in general. I always thought I was good till I saw my friend from uni build a script to use a guitar hero guitar to play something like COD or Halo. An FPS game either way. Since then I've been on a quest to improve my skills. Recently I decided that a good way to improve my skills is to try and build a game and/or game engine. Whether I'm successful or not is not the point. The point is to learn and improve. I think I have a good idea how to go about approaching a good chunk of the stuff but I'm not sure how to go about doing 3D. Java is the language I've been taught at uni so I'm most comfortable in it. I would also primarily focus on a pc platform in this adventure of mine.

So any help/advice on where to begin with 3D in Java? Despite C/C++ being the standard for a long time, Minecraft proves that other languages can do similar things. This is also another reason I choose Java.

Thanks,
Naomi

Is This A Good Question/Topic? 0
  • +

Replies To: How to go about 3D in Java?

#2 macosxnerd101   User is online

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12557
  • View blog
  • Posts: 45,683
  • Joined: 27-December 08

Re: How to go about 3D in Java?

Posted 26 February 2014 - 09:42 AM

I did a quick Google search and came up with a couple 3D APIs.

http://www.ardor3d.com/
http://jmonkeyengine.org/
Was This Post Helpful? 0
  • +
  • -

#3 modi123_1   User is offline

  • Suitor #2
  • member icon



Reputation: 14925
  • View blog
  • Posts: 59,592
  • Joined: 12-June 08

Re: How to go about 3D in Java?

Posted 26 February 2014 - 09:45 AM

Well there's these threads:

http://www.dreaminco...ogramming-java/
http://www.dreaminco...ramming-thread/

a cursory 'java 3d game programming' pulled up quite a few engines and such.
http://env3d.org/beta/
http://jmonkeyengine.org/
http://www.java3d.org/
Was This Post Helpful? 0
  • +
  • -

#4 carnivroar   User is offline

  • D.I.C Regular

Reputation: 29
  • View blog
  • Posts: 387
  • Joined: 18-September 11

Re: How to go about 3D in Java?

Posted 26 February 2014 - 04:41 PM

View Postmacosxnerd101, on 26 February 2014 - 09:42 AM, said:

I did a quick Google search and came up with a couple 3D APIs.

http://www.ardor3d.com/
http://jmonkeyengine.org/


I disagree. She said the point is to learn and improve. So don't start by using API's. You won't learn anything. Try building a simple 3D engine from scratch first. Yes, that means reinventing the wheel. I have tons of books to recommend.

First of all, learn Java to this level: http://www.amazon.co...=effective+java

Math: http://www.amazon.co...mputer+graphics, http://www.amazon.co...mputer+graphics

Graphics: http://www.amazon.co...mputer+graphics, http://www.amazon.co...D7HEGDKH34WWEYC

Physics: http://www.amazon.co...=A16XDMW776O9BH

Engine architecture: http://www.amazon.co...rds=game+engine
Was This Post Helpful? 0
  • +
  • -

#5 macosxnerd101   User is online

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12557
  • View blog
  • Posts: 45,683
  • Joined: 27-December 08

Re: How to go about 3D in Java?

Posted 26 February 2014 - 04:46 PM

Quote

I disagree. She said the point is to learn and improve.

The point I was really making was that with a little preliminary research, it's not hard to get one's bearings and ask more targeted questions.
Was This Post Helpful? 0
  • +
  • -

#6 modi123_1   User is offline

  • Suitor #2
  • member icon



Reputation: 14925
  • View blog
  • Posts: 59,592
  • Joined: 12-June 08

Re: How to go about 3D in Java?

Posted 26 February 2014 - 05:38 PM

View Postcarnivroar, on 26 February 2014 - 05:41 PM, said:

Try building a simple 3D engine from scratch first. Yes, that means reinventing the wheel.
...


I would be hesitant pushing this option. If you want to make games, and use java, there's no reason using an existing java engine or api is a problem. The important parts of planning, designing, and implementing are the focus.. lord knows engine design is not for the faint of heart, but something to work up to when you have a stable base and knowledge of the workings a game or two. The onus is stays on the planning and producing of games versus making an engine. A big difference.
Was This Post Helpful? 1
  • +
  • -

#7 carnivroar   User is offline

  • D.I.C Regular

Reputation: 29
  • View blog
  • Posts: 387
  • Joined: 18-September 11

Re: How to go about 3D in Java?

Posted 28 February 2014 - 08:38 PM

1. If all you want is to make games, by all means use an API.

2. If you want to learn 3D graphics and all the math behind it, write a simple engine.

I think this is one thing that differs a programmer (1) from a computer scientist (2).

You might make a very impressive game if you go for 1, but you will miss out on all the wonderful stuff going on under the hood.

You might end up with a humble looking 3D graphics engine if you do 2, but you will learn a ton and you will appreciate it so much more.

A little story: I took a class in video game programming last year and I made what my professor claims to be the most impressive project he has seen so far (because even though it was actually very simple, it was all from scratch - as far as scratch goes). I presented it to that class at the end of the semester and everybody was amazed (mine was the only 3D project). Then this year I presented the same game to his new class in the first day of the semester, before they had learned anything about graphics, and no one seemed impressed. Why? Because they don't know how hard it is to build something like that.

That's my reason for making that suggestion. :)/>
Was This Post Helpful? 1
  • +
  • -

#8 ben255   User is offline

  • D.I.C Addict

Reputation: 39
  • View blog
  • Posts: 510
  • Joined: 09-September 13

Re: How to go about 3D in Java?

Posted 10 March 2014 - 08:37 PM

Im reading amazon book i would recomend it if you want to start with 3d
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1