Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (115)
games submitted by our members
Games in WIP (563)
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  
  New Version of My Software Renderer  (Read 2432 times)
0 Members and 1 Guest are viewing this topic.
Offline Absolution

Senior Newbie




Java games rock!


« Posted 2003-11-04 16:30:53 »

Some of you might remember the 1.1 renderer I was working on.  Here is the latest incarnation, which includes lightmaps and all of the goodies that go with them:
http://www.freestandingentertainment.com/chance/test3/

Enjoy the oldschool goodness,
Abs
Offline EgonOlsen
« Reply #1 - Posted 2003-11-04 17:46:12 »

Runs fine using the MS-VM, but it does almost nothing using Java 1.4.2 (tried it with IE and Mozilla). It stops after printing "reading model" (or similar) to the console. No exception, no nothing...Huh

Offline Absolution

Senior Newbie




Java games rock!


« Reply #2 - Posted 2003-11-04 17:52:29 »

Hmm, I'll look into it.  Obviously an input stream problem.

I just tried it in both MVM and the 1.4.2 plugin and it is working for me.  I recompiled it and uploaded it.  It might have been the obfuscator options I used...

UPDATE: I added some quick and dirty collision detection so you stay inside the walls now.  Smiley  No gravity though.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Absolution

Senior Newbie




Java games rock!


« Reply #3 - Posted 2003-11-15 22:40:47 »

Hmm, this seems popular.  Smiley  Anyway, there is a newer version up now at the same address:

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

It's a larger and faster version (no zbuffer) with better controls.

And, if that doesn't interest you, you can check out my first attempt at a java game here.  Man, that was a long time ago:

http://qlink.queensu.ca/~6dcb/asteroid/index.html

Abs
Offline EgonOlsen
« Reply #4 - Posted 2003-11-16 09:00:18 »

My first try gave me an exception in one of SUN's classes (ImageFetcher, if i remember correctly...i missed to copy the exception from the console).
Anyway, it worked fine after reloading the page. What are you using instead of the zBuffer? A S- or C-Buffer or just simple polygon sorting?
Maybe you should add a little "loading"-bar, because it takes ages to load the model and some people may close the page earlier because they think that nothing happens anymore.

Offline DrQuincy

Junior Member




Vwls hv bn bnnd!


« Reply #5 - Posted 2003-11-16 09:10:12 »

both work good for me - how long does something like that take (the 3d applet)?
Offline Absolution

Senior Newbie




Java games rock!


« Reply #6 - Posted 2003-11-16 13:34:23 »

Ya, I'm using a s-buffer of my own design.  Those things are a pain to implement.  I think it is actually better than polygon sorting since my inner drawing loop is only called once per pixel now.  The performane increase isn't as noticeable in this demo since the overdraw isn't that bad.  I think if I put a BSP behind it I could speed it up even more.

If you're on dial-up like myself it can take a few minutes to load (models, textures, lightmaps).  I'll throw in some loading messages for now.  
Offline tom
« Reply #7 - Posted 2003-11-16 14:15:46 »

Nice. Reminds me of what I was doing 4 years ago  Smiley

If you render your world front to back, you can use the s-buffer to determine when the screen is filled. This can cull away a lot of hidden polygons Cool But you would need a bsp tree or something to do the sorting.

Offline Absolution

Senior Newbie




Java games rock!


« Reply #8 - Posted 2003-11-16 16:02:47 »

Smiley  Heh don't get me wrong, I'm not stuck in the past.  I think it's an interesting challenge doing this in 1.1.  Plus, it's educational.  I do a lot of GL programming as well.  

Anyway, that's what I have planned.  Right now the spans have to be z-sorted and split where they intersect.  A BSP would avoid both of those.
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.

radar3301 (12 views)
2014-09-21 23:33:17

BurntPizza (30 views)
2014-09-21 02:42:18

BurntPizza (20 views)
2014-09-21 01:30:30

moogie (20 views)
2014-09-21 00:26:15

UprightPath (28 views)
2014-09-20 20:14:06

BurntPizza (32 views)
2014-09-19 03:14:18

Dwinin (48 views)
2014-09-12 09:08:26

Norakomi (74 views)
2014-09-10 13:57:51

TehJavaDev (102 views)
2014-09-10 06:39:09

Tekkerue (50 views)
2014-09-09 02:24:56
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

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!