Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (109)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2
  ignore  |  Print  
  BubbleRacer4k - real time raytracing  (Read 16191 times)
0 Members and 1 Guest are viewing this topic.
Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Posted 2005-02-10 08:53:57 »

...well, real time can be achieved on high end PCs (3Ghz at least).

This is a collect-the-bubbles-as-fast-as-possible game.

EDITED :
  SPACE to START
  ESCAPE to EXIT
  new version with ultra low resolution


Please read the game instructions here : http://www.woogley.net/j4k/bubbleracer4k/

I really enjoyed myself writing this small game. Hope you'll like it.

Any comments are welcome ;-)

Lilian

Here is a FAKE screenshot (the game uses a 4 times smaller resolution):


Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #1 - Posted 2005-02-10 09:01:32 »

The framerate is 0.0 on my 500mhz machine Tongue

弾幕 ☆ @mahonnaiseblog
Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #2 - Posted 2005-02-10 09:02:06 »

Holy monkeybladders! Nice job. =)
I got around 3-4 fps.


Sometimes it seems to ignore the spheres when I pass over them.. possibly related to the low fps. =/

Play Minecraft!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Online Abuse

JGO Coder


Medals: 11


falling into the abyss of reality


« Reply #3 - Posted 2005-02-10 09:20:46 »

Quote
The framerate is 0.0 on my 500mhz machine Tongue


Same here - totally frozen.

And that was on a 2gig Athlon XP

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Offline Daniel_F

Junior Member


Projects: 2


Java games rock!


« Reply #4 - Posted 2005-02-10 09:35:54 »

Hi
Cool technology  Smiley
5 fps on Celeron2.4ghz+GeF2

What if you rendered it to a bufferedimage and than scaled up with SCALE_SMOOTH or something?.

And the app does not seem to quit, the javaw stays in task manager at 99%cpu.
Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #5 - Posted 2005-02-10 10:39:39 »

Press the SPACE bar to start !!!

I'll release in a few minutes a 4 times faster (and uglier) version for those with prehistoric motherboards.

and i can't smooth the image because of the 4k wall

Lilian  

Offline Daire Quinlan

Junior Member





« Reply #6 - Posted 2005-02-10 10:44:14 »

very cool ! I get about the same framerate as above, 1.4g p4 but I can't complain, RTRT in 4k, Nice !

D.
Offline jbanes

JGO Coder


Projects: 1


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #7 - Posted 2005-02-10 10:51:58 »

I get 0 frames per second, and I can't go anywhere. :-(

Java Game Console Project
Last Journal Entry: 12/17/04
Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #8 - Posted 2005-02-10 11:00:19 »

I have added a new lowRes version.

don't forget to hit the space bar to start.

Lilian

Offline Malohkan

Senior Member




while (true) System.out.println("WOO!!!!");


« Reply #9 - Posted 2005-02-10 11:04:00 »

Mine was semi-playable, but I couldn't find any FPS counter.  It also seemed as if often times I'd go right through bubbles when I think I'm supposed to absorb them.  Turn controls seemed very lagged too.

Admin and Game Developer at
GameLizard.com
Play Rimscape!    |    Play Conquer!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #10 - Posted 2005-02-10 11:13:44 »

Missing the blue bubbles is due to low fps... couldn't interpolate position for collision testing...

With 15 fps, you don't miss any bubble.

By the way, with LowRes version, I have 25 fps on my PC

And the FPS counter is the second number on the window title...

Lilian

Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #11 - Posted 2005-02-10 11:23:50 »

4 FPS on normal mode
9 FPS on lowRes mode.

ATI Radeon 9200. 2.26Ghz p4.

Btw, very cool!

DP

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #12 - Posted 2005-02-10 11:28:18 »

7-8 fps with the low res version.

Play Minecraft!
Offline jbanes

JGO Coder


Projects: 1


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #13 - Posted 2005-02-10 11:42:41 »

I get a whopping 2.2 fps MAX. :-( If only it could run through the GPU.

On the topic of realtime raytracing, here is an interesting link:

http://www.realstorm.com/

There used to be several Java RT raytracers, but they all seem to be dead. :-(

Java Game Console Project
Last Journal Entry: 12/17/04
Offline zulo

Junior Member




Java games rock!


« Reply #14 - Posted 2005-02-10 17:45:42 »

i get 5.7fps in normal mode and 8.9fps in the low res one on full speed close to the sphere.. p4 2.4 1024mb ram radeon9800pro128
Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #15 - Posted 2005-02-10 17:55:13 »

~5 fps on my home pc (amd xp3200+)

Play Minecraft!
Offline Chman

Junior Member




Nothing more that... Java games are cool !


« Reply #16 - Posted 2005-02-10 18:35:38 »

7 fps for the normal game...
AMD3000+

Chman
Online Abuse

JGO Coder


Medals: 11


falling into the abyss of reality


« Reply #17 - Posted 2005-02-10 19:40:00 »

A not-so-impressive 7fps here too on the normal game,
this was on an Athlon64 3000+ with Geforce 6800GT.

It was stuttery too, inconsistent framerate.

The ray tracer that was entered last year (I forget by whom) performed alot better.

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #18 - Posted 2005-02-10 20:09:38 »

Really impressive!

Game
Realtime raytracing
4K

But at <10fps it will miss a lot of playability. I'd say drop the 4K limit. If you can get a fun RTRT game in java you'll get more attention than winning the 4K compo I'd guess.

Not so thrilling game (yet), but still cool that it could be done!

Offline bitshit

Junior Member




Java games rock!!


« Reply #19 - Posted 2005-02-10 20:32:55 »

I think it's cool! Though more some tech demo than a playable game.

You can find another good realtime raytracer in java here: http://www.codeberry.com/projects/raytracer.html

(done by Remon van Vliet)
Offline snailbite

Senior Newbie





« Reply #20 - Posted 2005-02-10 22:17:58 »

Mmm raytracing...
But it is kinda slow as been mentioned alot of times allready.. what optimiziation have done, speedwise I mean? I tried to play the high res version but at 1.6 Ghz it wasnt realtime Wink
The realtime raytracing entry from last year sucked! I know 'cause I wrote it..
Offline cyberyoyo

Junior Member




Java games funk


« Reply #21 - Posted 2005-02-11 00:07:25 »

Hey that's great, I like experimentations like that.
It's working rather well for me :I get 4.4 fps on a 2.6+ Athlon (real speed of 1.99Mhz) and a GeForce4 ti4200.
I think you should keep refining your little engine, one day raytracing games will be the norm.Maybe you'll be able to find some optimizations without sacrificing the raytracing "purity" in the process.
I noticed there's some reflexion inside of the big spheres.If I make a full stop near one of them, then turn, the camera gets behind the walls and I see some little spheres inside of the big ones.
Offline luisoft

JGO Coder


Projects: 6


Java games rock!


« Reply #22 - Posted 2005-02-11 01:11:46 »

I would like to try, but my machine is too old... Cry Pentium III 800Mhz and Geforce 2 32Mb... Probably I will get 0FPS... Tongue
Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #23 - Posted 2005-02-11 06:14:42 »

I've already written cooler and faster raytracing engines (with space partitionning, autobounding, procedural texturing..), but they requiered more than 4k (and without a game inside).

I'll drop today a new tuned version of br4k for low-end PC (i'll try it on my old PIII-800) instead of my brand new PIV 3200.

Beeing so low-res, i'll drop double computations for floats, and try to add a sorting step before initial ray cast.  

And within in a few days, i'll produce a fully (well... limited by my knowledge of that technology) optimized version : bubbleracer128k, just for fun.

Stay tuned !

Lilian

Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #24 - Posted 2005-02-11 11:41:12 »

Ok, this should be my last update (tired of maths for the moment).

I have now 40-50 fps at low res, and 20-25 at normal res.
It's even becoming playable at 4* normal res (320*200 / 15 fps).

Unfortunately, still at a low and unplayable 5 fps on my PIII-800

Have fun (for those with 2Ghz PC or 1Ghz Mac).

Lilian

Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #25 - Posted 2005-02-11 13:28:01 »

1.8 GHz PC ~8 fps High and 15 - 40 in low.
Ambient light a bit low isn't it? Got a strange sharp dark line on the dark side of the moon...

Way better flow in the game now (then I also tested on a 2x faster mashine...)

I look forward to the bubbleracer128k  Cheesy

Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #26 - Posted 2005-02-13 13:58:57 »

Hello, I have updated the game.

Now, it runs at 320*240 / 20fps on my PC, and should run better on older computers (I've dropped shadows and reflections, and improved the maths).

When testing with java web start, I've found that the game ran at 10 times slower speed (14fps/64*48pix) - don't know why.

So, i invite you to play it from the command line (as described on the web site).

http://www.woogley.net/j4k/bubbleracer4k

I have also added and adaptative resolution, to ensure the game runs at 15 fps at least.

Hope you will try it !

Lilian

Offline weston

Junior Member





« Reply #27 - Posted 2005-02-13 17:35:04 »

looked a little too low res over here Tongue but it didn't feel like it was running slow at all. I got 9.7fps on my athlon64 2600. Fun game though, I like it quite a bit.

for(int i = 1; i > 0; i++)
{
System.out.println(i+" cups of java downed");
}
Offline cyberyoyo

Junior Member




Java games funk


« Reply #28 - Posted 2005-02-13 20:12:39 »

yeah it's too low res now.And what's the reason for making raytracing if you remove reflexion and shadows lol?
I prefer the ancient version better with the 4.44 fps Wink
Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #29 - Posted 2005-02-14 06:01:56 »

Well, I meant to create a 4k playable game, not a full-featured raytracing engine at 0.4 fps ;-)  

For this, you will have to wait till the non-4k is out (next week). It runs a little bit faster than this one, but with ground texturing, shadows and reflections.

I have also thought of another good optimization, I'll try to have it done for this afternoon (GMT).

Thanks for the feedback.

Lilian

Pages: [1] 2
  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.

CogWheelz (18 views)
2014-07-30 21:08:39

Riven (27 views)
2014-07-29 18:09:19

Riven (16 views)
2014-07-29 18:08:52

Dwinin (14 views)
2014-07-29 10:59:34

E.R. Fleming (35 views)
2014-07-29 03:07:13

E.R. Fleming (13 views)
2014-07-29 03:06:25

pw (44 views)
2014-07-24 01:59:36

Riven (45 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 18:29:50

List of Learning Resources
by SilverTiger
2014-07-31 18:26:06

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

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54
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!