Java-Gaming.org
Java4K winners:
[
by our judges
|
by the community
]
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members
News
: Read the
Java Gaming Resources
, or peek at
the official Java tutorials
Home
Help
Search
Login
Register
Java-Gaming.org
>
Games Center
>
Showcase
>
Software renderer 1.1 Applet
Pages: [
1
]
Print
Software renderer 1.1 Applet
(Read 2813 times)
0 Members and 2 Guests are viewing this topic.
Absolution
JGO n00b
Posts: 31
Java games rock!
Software renderer 1.1 Applet
«
on:
2002-12-10 15:50:01
»
I thought I would post the latest build of the software renderer I'm writing for use in 1.1 applets. I created the requesite spinning cube test of course, but I'm on to greater things now. I created this little 'flying' applet to tune my texture mapper and clipper:
http://www.freestandingentertainment.com/chance/test1/index.html
Controls are set up like a typical no-clip/flying fps camera. Drag your mouse to change your view and use the arrow keys to strafe and move forward/backward.
Let me know what you think. I'm maintaining 20+ fps all the time on my P3-800. It's only a 256x256 demo right now, but i'd like to try for double that. :/
EgonOlsen
JGO Strike Force
Posts: 821
Medals: 6
Re: Software renderer 1.1 Applet
«
Reply #1 on:
2002-12-10 17:31:30
»
The framerate seems to be limited to a max of 20, is this correct? I would like to see it running at full framerate to see if i should start to worry...
Anyway, i'm a big fan of anything software rendered and especially in JAVA. Keep on working on it and give it its own webpage with some additional information.
jPCT, a 3D engine for Java
-
jPCT-AE, a 3D engine for Android
-
Robombs - a multiplayer game inspired by Bomberman
Absolution
JGO n00b
Posts: 31
Java games rock!
Re: Software renderer 1.1 Applet
«
Reply #2 on:
2002-12-10 18:22:30
»
I have the framerate limited to 50, but I'm using System.currentTimeMillis() and that is highly innaccurate and OS dependent as I'm sure you know. On Win2K it only measures in 10s.
I'll just remove the limiter for now. Timing in Java is, well, less than ideal. I'll look into that timer hack posted in the shared code.
Games published by our own members! Go get 'em!
retrosoft
JGO n00b
Posts: 11
oh, just work....,
Re: Software renderer 1.1 Applet
«
Reply #3 on:
2002-12-11 07:51:25
»
Do you start upside down? Cos when you go right it goes left, hehe
Btw its looking good
public void myGame extends
www.retrosoft.co.uk
Absolution
JGO n00b
Posts: 31
Java games rock!
Re: Software renderer 1.1 Applet
«
Reply #4 on:
2002-12-11 09:30:46
»
Yes you're right, I had it in a flight mode. I just updated it so it has the standard fps feel. I also fixed the timing issue so it displays a more accurate fps in the corner. Oh, and you can press 'f' to enable bilinear filtering, however it roughly halves the framerate right now on my machine. Looks nice though.
wiederke
Jr. Member
Posts: 76
Thx to James Gosling.
Re: Software renderer 1.1 Applet
«
Reply #5 on:
2002-12-12 03:55:59
»
Hi,
I have a about 26 FPS (1 GHz, 512MB, Mobile3). Is this a raycaster?
Absolution
JGO n00b
Posts: 31
Java games rock!
Re: Software renderer 1.1 Applet
«
Reply #6 on:
2002-12-12 06:05:09
»
No, it's true 3D. It's just an uninteresting world based on an ASCII map. I'll load in a more complicated level later. I already have a MD2 loader, but I'm going to write a 3DS loader as well so I can import from Studio Max.
kpouer
JGO n00b
Posts: 1
Java games rock!
Re: Software renderer 1.1 Applet
«
Reply #7 on:
2002-12-12 07:55:03
»
I got 35 to 40 fps with a P4 1.6Ghz, it's fun
cknoll
Full Member
Posts: 126
Flame On!
Re: Software renderer 1.1 Applet
«
Reply #8 on:
2002-12-12 08:50:49
»
Uh, I'm not sure I'm looking at the same demo as everyone else is...
Is this an attempt to emulate that Excel 97 easteregg? the one with the maze that you can walk around in?
*ducks*
-Chris
EgonOlsen
JGO Strike Force
Posts: 821
Medals: 6
Re: Software renderer 1.1 Applet
«
Reply #9 on:
2002-12-12 16:06:54
»
I just noticed that the applet is a quite lot slower when run under Java 1.4 (at least on my machine (Athlon XP 2000+ running Win2K)). Using the MS-VM, i'm getting around 70 fps and using the 1.4 Java-plugin, i only get around 53 fps.
BTW.: How about adding some backface culling?
jPCT, a 3D engine for Java
-
jPCT-AE, a 3D engine for Android
-
Robombs - a multiplayer game inspired by Bomberman
Games published by our own members! Go get 'em!
Absolution
JGO n00b
Posts: 31
Java games rock!
Re: Software renderer 1.1 Applet
«
Reply #10 on:
2002-12-12 18:46:30
»
I turned off backface culling for this demo because you can fly anywhere around the level. I'm not sure about the 1.4 thing. Maybe because I've optimized this for 1.1. I use a 1.3 applet viewer and get the same framerates as in the browser (about 35fps on my 800Mhz P3 or around 18 with filtering). Haha, maybe I'll have to put a "Best viewed under 1.3 or less" disclaimer on the site.
Also, I tested some scanline division for perspective texture mapping, but I really didn't much of an increase. The divisions aren't that bad any more. The type conversions are what's really killing me, but I am having trouble converting the texture mapping routines to fixed point while maintaining sufficient accuracy.
Absolution
JGO n00b
Posts: 31
Java games rock!
Re: Software renderer 1.1 Applet
«
Reply #11 on:
2002-12-20 14:11:41
»
I finally solved the problems I was having and got some real speed increases. I posted a new version that is double the size.
Pages: [
1
]
Print
Jump to:
Please select a destination:
-----------------------------
Games Center
-----------------------------
=> Featured Games
=> Showcase
=> Contests
===> LWJGL16k - 2011
===> 4K Game Competition - 2012
===> JGO Comp Petite
===> Finished Contests
=====> 4K Game Competition - 2011
=====> 4K Game Competition - 2010
=====> 4K Game Competition - 2009
=====> 4K Game Competition - 2008
=====> 4K Game Competition - 2007
=====> 4K Game Competition - 2006
=====> 4K Game Competition - 2005
=====> Tiny Game 2010
=====> JGO Comp 2009
=====> 16K LWJGL Competition - 2005
=====> Java Technology Game Development Contest - 2004
-----------------------------
Discussions
-----------------------------
=> General Discussions
===> Suggestions
=> Business and Project Discussions
===> Jobs and Resumes
===> Community & Volunteer Projects
=> Miscellaneous Topics
-----------------------------
Game Development
-----------------------------
=> Newbie & Debugging Questions
=> Articles & tutorials
=> Game Play & Game Design
=> Game Mechanics
===> Artificial Intelligence
=> Networking & Multiplayer
=> Performance Tuning
=> Shared Code
-----------------------------
Java Game APIs & Engines
-----------------------------
=> Engines, Libraries and Tools
===> Java 3D
===> JInput
===> jMonkeyEngine
===> Xith3D Forums
===> Tools Discussion
=> Java 2D
===> JavaFX
=> OpenGL Development
===> JOGL Development
===> LWJGL Development
=> Java Sound & OpenAL
===> JOAL Development
=> Java on Mobile Devices
===> Android
===> J2ME
Featured Game
Latest Featured
Add yours!
Add your game by posting it in the showcase section.
The first screenshot will be displayed as a thumbnail.
Latest pastebins
obsidian_golem
2012-05-23 10:14:50
Danny02
2012-05-21 17:10:34
Danny02
2012-05-21 17:07:10
Danny02
2012-05-21 16:56:12
davedes
2012-05-21 13:59:23
obsidian_golem
2012-05-20 20:28:41
darkjava55
2012-05-12 16:14:40
Ultroman
2012-05-12 09:36:05
Ultroman
2012-05-11 22:49:53
Ultroman
2012-05-11 22:20:01
Loading...