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   
Pages: [1]
  Print  
  New Version of My Software Renderer  (Read 1833 times)
0 Members and 2 Guests are viewing this topic.
Offline Absolution

JGO n00b
*

Posts: 31


Java games rock!


« on: 2003-11-04 11: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

JGO Strike Force
***

Posts: 821
Medals: 6



« Reply #1 on: 2003-11-04 12: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

JGO n00b
*

Posts: 31


Java games rock!


« Reply #2 on: 2003-11-04 12: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! Go get 'em!
Offline Absolution

JGO n00b
*

Posts: 31


Java games rock!


« Reply #3 on: 2003-11-15 17: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

JGO Strike Force
***

Posts: 821
Medals: 6



« Reply #4 on: 2003-11-16 04: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

Jr. Member
**

Posts: 68


Vwls hv bn bnnd!


« Reply #5 on: 2003-11-16 04:10:12 »

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

JGO n00b
*

Posts: 31


Java games rock!


« Reply #6 on: 2003-11-16 08: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

JGO Neuromancer
****

Posts: 1113
Medals: 5



« Reply #7 on: 2003-11-16 09: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

JGO n00b
*

Posts: 31


Java games rock!


« Reply #8 on: 2003-11-16 11: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]
  Print  
 
 
Jump to:  


Add your game by posting it in the showcase section.

The first screenshot will be displayed as a thumbnail.

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
Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.084 seconds with 19 queries.