Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (476)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (532)
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  
  3D in pure Java ?  (Read 505 times)
0 Members and 1 Guest are viewing this topic.
Offline BluWingedOlive

Senior Newbie





« Posted 2013-12-29 10:09:00 »

I was looking at ( not using a Matrix  Smiley ) the amazing applets uploaded by some very talented guys
in the Java4k site. Fantastic works ,imho , particularly this one : Die Z by Alan Waddington.

http://www.java4k.com/index.php?action=games&method=view&gid=444

Reading the code and understand what's going on unfortunately  is beyond my skills.
Any tip about some 3d pure java tutorial?
The ones i have found around are only 2D.
Thanks !
Offline Troubleshoots

JGO Knight


Medals: 36
Exp: 7-9 months


Damn maths.


« Reply #1 - Posted 2013-12-29 10:33:03 »

I highly suggest not trying 3D in pure java after looking at that code. It'd be a nightmare. From my understanding of reading that code, it uses raycasting to determine what can be viewed on the screen and renders that. From there I get lost; I can't be bothered spending hours trying to understand all the bitwise operations.

It'd probably be faster learning the full OpenGL spec from start to finish than reading that code.

Why are all OpenGL tutorials written in Brainf**k?
Offline BluWingedOlive

Senior Newbie





« Reply #2 - Posted 2013-12-29 10:46:51 »

OK , I got the message : better to fly low !
However you gave me a good tip , thx !
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline lcass
« Reply #3 - Posted 2013-12-29 14:04:52 »

I have made a 3d game engine in java. its not very efficient mainly because it cannot be hardware accelerated without lots of work. I will gladly help you out with it if you like. Code from 4k is made by gods, its like trying to copy a brickwalls thoughts into a notebook.
Offline Oskuro

JGO Knight


Medals: 39
Exp: 6 years


Coding in Style


« Reply #4 - Posted 2013-12-31 00:20:59 »

I've actually learned a lot from 4k code. It can be hard to get a handle on, but can be very rewarding.

Of course you need to realize that for it to be viable, 3d in pure java needs to be very low-res (in every sense).

Making old-style (as in very old) 3d games could be viable and interesting, but anything more complex will probably hit a brick wall soon enough.

I personally have looked at the DieZ code myself, and think such a 3d engine can be interesting for certain retro-style game ideas I have. Love the grass effect in particular... But no, I can't explain much about how exactly it is doing what it is doing.  Smiley

Offline lcass
« Reply #5 - Posted 2013-12-31 01:31:20 »

I've actually learned a lot from 4k code. It can be hard to get a handle on, but can be very rewarding.

Of course you need to realize that for it to be viable, 3d in pure java needs to be very low-res (in every sense).

Making old-style (as in very old) 3d games could be viable and interesting, but anything more complex will probably hit a brick wall soon enough.

I personally have looked at the DieZ code myself, and think such a 3d engine can be interesting for certain retro-style game ideas I have. Love the grass effect in particular... But no, I can't explain much about how exactly it is doing what it is doing.  Smiley
Yes, because opengl isnt used it cannot be hardware accelerated. I have achieved 200000 triangles at 30fps with some of my code for it
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.

pw (17 views)
2014-07-24 01:59:36

Riven (17 views)
2014-07-23 21:16:32

Riven (14 views)
2014-07-23 21:07:15

Riven (17 views)
2014-07-23 20:56:16

ctomni231 (45 views)
2014-07-18 06:55:21

Zero Volt (40 views)
2014-07-17 23:47:54

danieldean (32 views)
2014-07-17 23:41:23

MustardPeter (36 views)
2014-07-16 23:30:00

Cero (51 views)
2014-07-16 00:42:17

Riven (50 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!