Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (121)
games submitted by our members
Games in WIP (577)
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  
  d3caster: A 3D Browser Gaming Engine  (Read 2914 times)
0 Members and 1 Guest are viewing this topic.
Offline stahlworks

Junior Newbie





« Posted 2004-10-20 06:22:50 »

d3caster is a 3D gaming engine in pure Java, featuring
-  a 3-D render core based on raycasting, without the need for special libraries, plugins, browsers
-  high-color (32K) textures and images with dynamic loading, allowing a short startup phase
-  dynamic light effects (e.g., on explosions), game objects and object collision handling
-  sound support for new and old browsers, also including Ogg Vorbis compression
It is thought as a method to create everywhere-compatible 3D games,
as long as Java 3D is not supplied, by default, within every browser.

Find the engine here, together with an instant demo game:
http://stahlforce.com/dev/

All available for free under GPL license, including some graphics and music (also created by me).

If anyone tries some development with the engine, please post questions,
feedback and announcements as a reply to this thread.

Offline phazer

Junior Duke




Come get some


« Reply #1 - Posted 2004-10-20 09:32:35 »

Looking at the floor in your screenshots it seems you have some kind of rounding error in the renderer.

Offline stahlworks

Junior Newbie





« Reply #2 - Posted 2004-10-20 10:16:36 »

i think it's a little inprecision during float to integer conversion. the sreenshot's resolutions are rather high (1600x1200), multiplying these little errors massively. however, in the usual game resolution of 620x300 it cannot be seen.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline phazer

Junior Duke




Come get some


« Reply #3 - Posted 2004-10-20 11:39:43 »

Nah, I think it's some problem with rounding. Look at the floor on this pic: http://stahlforce.com/games/desks/realtime-moving-grey-concrete-grass-tubes-1600x1200.jpg. The texture looks ok in the up-left direction, but in the up-right direction it's very jagged. You use integer maths, right?

I seem to recall a similar problem I had when creating a Doom engine many years ago. Can't remember how I solved it though...   Grin

Offline stahlworks

Junior Newbie





« Reply #4 - Posted 2004-10-20 14:30:58 »

Rounding, truncation, convertion... it all adds to accumulation of small errors. I use a mixture of doubles and pseudofloats - integers representing floats, left-shifted by 16 bits. Anyway, this engine isn't about perfect high-res images, but about feasible, real-time 3d working within a browser. Whoever needs graphical perfection might be better off with local-installed Java 3D applications.
Offline stahlworks

Junior Newbie





« Reply #5 - Posted 2004-11-09 07:55:13 »

the d3caster package is now available with some severe updates, like
- walking enemy bots
- light source objects (lamps)
- more detailed dynamic lightmap
- sound on near pass-by of a rocket
- dynamic sound loudness, depending on distance

http://stahlforce.com/


Offline Absolution

Senior Newbie




Java games rock!


« Reply #6 - Posted 2004-11-09 13:43:57 »

Nice stuff, although your instant demo crashed my browser (I.E. 6 with the built in 1.1 JIT).  

I have been working on the same goal (real-time 3D in any browser) in my spare time, but I guess you could say mine is more of a Quake approach.  That is, real 3D with light-maps.  You can check out my latest incarnation at:

http://www.freestandingentertainment.com/chance/test3/
Offline stahlworks

Junior Newbie





« Reply #7 - Posted 2004-11-09 14:33:32 »

I tested d3caster with
- a current IE 6 with a current SUN Java plugin (1.4.1)
- Netscape 7 with a current SUN Java plugin
- Netscape 4.79 with it's supplied JDK 1 (WinXP and Win98 )
- Mozilla Firefox (WinXP)
- Mozilla 1.x (Win98 )
and everything runs fine. Could it be that you're primarily using Microsoft VM's? MS is not Java compatible.
Your demo, vice versa, crashed my Firefox... nevertheless, I would be interested in having a look at it.
Offline Absolution

Senior Newbie




Java games rock!


« Reply #8 - Posted 2004-11-09 15:41:26 »

I just fired it up in FireFox with 1.4.2_03 and it ran smooth.  Hmm.  
Offline stahlworks

Junior Newbie





« Reply #9 - Posted 2004-11-09 16:34:10 »

Finally! I got your thing running with Netscape 7 (don't know yet what the problem could have been). I will try again later with Firefox.

The graphics are looking great. But it's not a real game yet, is it? And I think that quake movement control (W, S, A, D plus mouse) is not so suitable for an applet - as you are forced to always keep the left mouse button pushed.
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.

theagentd (15 views)
2014-10-25 15:46:29

Longarmx (52 views)
2014-10-17 03:59:02

Norakomi (45 views)
2014-10-16 15:22:06

Norakomi (34 views)
2014-10-16 15:20:20

lcass (39 views)
2014-10-15 16:18:58

TehJavaDev (68 views)
2014-10-14 00:39:48

TehJavaDev (68 views)
2014-10-14 00:35:47

TehJavaDev (60 views)
2014-10-14 00:32:37

BurntPizza (74 views)
2014-10-11 23:24:42

BurntPizza (45 views)
2014-10-11 23:10:45
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

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!