Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (616)
Games in Android Showcase (173)
games submitted by our members
Games in WIP (659)
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 2683 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:

Enjoy the oldschool goodness,
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:

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:

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 Devvie

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.

Coldstream24 (18 views)
2015-09-03 00:41:28

Andrew_3ds (30 views)
2015-09-01 19:08:10

afikri (20 views)
2015-08-31 09:30:22

afikri (27 views)
2015-08-31 09:30:07

afikri (15 views)
2015-08-31 09:27:24

afikri (17 views)
2015-08-31 09:26:40

Roquen (32 views)
2015-08-29 11:30:54

GamerC4 (38 views)
2015-08-22 20:38:50

GamerC4 (36 views)
2015-08-22 20:37:18

GamerC4 (42 views)
2015-08-22 20:37:01
HotSpot Options
by Roquen
2015-08-29 11:33:11

Rendering resources
by Roquen
2015-08-17 12:42:29

Rendering resources
by Roquen
2015-08-17 09:36:56

Rendering resources
by Roquen
2015-08-13 07:40:51

Networking Resources
by Roquen
2015-08-13 07:40:43

List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30 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‑
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!