• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

In Development: Full-On, High Performance 3D Gaming Right In Your Web Browser

qubit

Overclocked quantum bit
Joined
Dec 6, 2007
Messages
17,865 (2.88/day)
Location
Quantum Well UK
System Name Quantumville™
Processor Intel Core i7-2700K @ 4GHz
Motherboard Asus P8Z68-V PRO/GEN3
Cooling Noctua NH-D14
Memory 16GB (2 x 8GB Corsair Vengeance Black DDR3 PC3-12800 C9 1600MHz)
Video Card(s) MSI RTX 2080 SUPER Gaming X Trio
Storage Samsung 850 Pro 256GB | WD Black 4TB | WD Blue 6TB
Display(s) ASUS ROG Strix XG27UQR (4K, 144Hz, G-SYNC compatible) | Asus MG28UQ (4K, 60Hz, FreeSync compatible)
Case Cooler Master HAF 922
Audio Device(s) Creative Sound Blaster X-Fi Fatal1ty PCIe
Power Supply Corsair AX1600i
Mouse Microsoft Intellimouse Pro - Black Shadow
Keyboard Yes
Software Windows 10 Pro 64-bit
Mozilla are developing a full-on 3D game engine for their Firefox browser. It looks like having a viable high performance game engine built right into the browser could allow first person shooter type games to reach a much wider audience and possibly even raise the bar for integrated graphics - we're already seeing this with the upcoming Sandy Bridge E processors. The project is called Paladin, which is developing the Gladius 3D gaming engine. To help test it, a basic 3D game, RescueFox has been prototyped, although that's not going to be developed further, but forking is welcomed. We'll let the Mozilla development blog take it away from here.




Paladin is a Mozilla project to push 3D gaming on the Web. As a part of our efforts, we're building a game engine called Gladius. We'll blog proper introductions to both of these projects in the upcoming weeks. We've built RescueFox, a first prototype game, as a way to validate the Gladius game engine work we're doing and find issues in the Gecko and Web platforms as well. Note that we do not intend this as a prototype for a larger-scale game.


Interstellar Travel

Don't you hate it when you're traveling at light speed, and your pet space fox escapes to an asteroid belt?

I know it drives me nuts. Fortunately, you have an invisible fox detector to figure out where she is, and you can use a tractor beam that pulls you from asteroid to asteroid to the fox herself. And you've got about 90 seconds until she runs out of air.

The game works in current versions of Firefox, and cursory testing suggests that works in Chrome on MacOS, albeit more slowly and without sound.

If you're interested in learning more about RescueFox, Paladin, and Gladius, or in contacting us, have a look at the (still-in-progress!) Paladin wiki page.


The Value of the Prototype

RescueFox was developed to make sure that the Gladius gaming engine was really going to be suitable to build games against. CJ Cliffe started by doing lots of work initially directly against CubicVR.js, a great 3D engine that Gladius depends on. It's the same 3D engine used to build the No Comply and Flight of the Navigator demos. Alan Kligman and Bobby Richter started porting chunks of it to the higher-level Gladius APIs, and I started working with some of the input APIs, the timer, and finding visual assets to use.

This is where it started to get interesting. As we progressed, the game coding started to make clear to us that some of the factoring of the existing APIs was actually making the game more complex to build rather than easier.

After more work, a super simple prototype engine that Bobby whipped up, and more discussion, we came to the conclusion that we needed to do some refactoring on Gladius. This was great, because it meant that we figured it out much sooner than we otherwise would have.

We still needed a game prototype as a way to communicate more broadly the part of the Web gaming space we want our engine and the larger project to explore, so we mostly stuck with the lower-level APIs and did just enough work to make it basically playable.

Note that we think we've learned most of what we can from RescueFox and don't intend to drive it forward any further at this point (though that shouldn't stop anyone who feels inclined to fork it). But we'll be prototyping another microgame soon once the Gladius refactoring is a bit further along, and we'll be very interested in having folks help out there…


Credits

RescueFox was very much a group effort. Thanks ever so much to….

- James Burke (modularizing Gladius with require.js)
- CJ Cliffe (game mechanics, design, coding, modeling, physics, and CubicVR.js)
- David Humphrey (design, Gladius sound API, music selection)
- Alan Kligman (game mechanics, design, coding, engine design)
- Dan Mosedale (coding, model selection, game mechanics, project mgmt)
- NASA (spacesuit model & textures)
- Perfect Blind (background music: "Three Spires" and "Ethernion II")
- Bobby Richter (game mechanics, design, modeling, coding, engine design)
- ro.me team (fox model and textures)
- Alon Zakai (physics & ammo.js)

Apologies to anyone we've inadvertently omitted!

View at TechPowerUp Main Site
 
Joined
Apr 4, 2008
Messages
4,686 (0.77/day)
System Name Obelisc
Processor i7 3770k @ 4.8 GHz
Motherboard Asus P8Z77-V
Cooling H110
Memory 16GB(4x4) @ 2400 MHz 9-11-11-31
Video Card(s) GTX 780 Ti
Storage 850 EVO 1TB, 2x 5TB Toshiba
Case T81
Audio Device(s) X-Fi Titanium HD
Power Supply EVGA 850 T2 80+ TITANIUM
Software Win10 64bit
That game sucked.
 

qubit

Overclocked quantum bit
Joined
Dec 6, 2007
Messages
17,865 (2.88/day)
Location
Quantum Well UK
System Name Quantumville™
Processor Intel Core i7-2700K @ 4GHz
Motherboard Asus P8Z68-V PRO/GEN3
Cooling Noctua NH-D14
Memory 16GB (2 x 8GB Corsair Vengeance Black DDR3 PC3-12800 C9 1600MHz)
Video Card(s) MSI RTX 2080 SUPER Gaming X Trio
Storage Samsung 850 Pro 256GB | WD Black 4TB | WD Blue 6TB
Display(s) ASUS ROG Strix XG27UQR (4K, 144Hz, G-SYNC compatible) | Asus MG28UQ (4K, 60Hz, FreeSync compatible)
Case Cooler Master HAF 922
Audio Device(s) Creative Sound Blaster X-Fi Fatal1ty PCIe
Power Supply Corsair AX1600i
Mouse Microsoft Intellimouse Pro - Black Shadow
Keyboard Yes
Software Windows 10 Pro 64-bit
That game sucked.

Remember, it was just designed to validate the game engine. Anyway, it's open source, so can be developed into a full game if anyone is up to the challenge.
 
Last edited:
Joined
Aug 10, 2007
Messages
4,267 (0.68/day)
Location
Sanford, FL, USA
Processor Intel i5-6600
Motherboard ASRock H170M-ITX
Cooling Cooler Master Geminii S524
Memory G.Skill DDR4-2133 16GB (8GB x 2)
Video Card(s) Gigabyte R9-380X 4GB
Storage Samsung 950 EVO 250GB (mSATA)
Display(s) LG 29UM69G-B 2560x1080 IPS
Case Lian Li PC-Q25
Audio Device(s) Realtek ALC892
Power Supply Seasonic SS-460FL2
Mouse Logitech G700s
Keyboard Logitech G110
Software Windows 10 Pro
Several attempts to bring 3D to browsers over the last decade were greeted with meh. I think this will be no different, though I'm not as sure as I have been before due to the current internet landscape.
 
Joined
Aug 11, 2011
Messages
393 (0.08/day)
Location
Denmark
System Name Coming up in september
Hopefully mozilla accomplishes their goals, since 3D gaming could be a crucial thing in schools, since everyone is changing to tablets/are gretting notebooks and even the blackboards are being changed into smartboards. And with the ability to demonstrate games/complicated things in good 3d visuality it could help children understand better and faster. I remember back in the day, where we had 2 hours a week in school to further develop some of our cognitive skills.
 
Joined
Aug 16, 2007
Messages
7,180 (1.14/day)
For reference Quake live has a browser plug in.
I heard adobe wanted to make Flash have proper 3D graphics.
 

qubit

Overclocked quantum bit
Joined
Dec 6, 2007
Messages
17,865 (2.88/day)
Location
Quantum Well UK
System Name Quantumville™
Processor Intel Core i7-2700K @ 4GHz
Motherboard Asus P8Z68-V PRO/GEN3
Cooling Noctua NH-D14
Memory 16GB (2 x 8GB Corsair Vengeance Black DDR3 PC3-12800 C9 1600MHz)
Video Card(s) MSI RTX 2080 SUPER Gaming X Trio
Storage Samsung 850 Pro 256GB | WD Black 4TB | WD Blue 6TB
Display(s) ASUS ROG Strix XG27UQR (4K, 144Hz, G-SYNC compatible) | Asus MG28UQ (4K, 60Hz, FreeSync compatible)
Case Cooler Master HAF 922
Audio Device(s) Creative Sound Blaster X-Fi Fatal1ty PCIe
Power Supply Corsair AX1600i
Mouse Microsoft Intellimouse Pro - Black Shadow
Keyboard Yes
Software Windows 10 Pro 64-bit
For reference Quake live has a browser plug in.
I heard adobe wanted to make Flash have proper 3D graphics.

Yes, I remember that. However, I don't think it's a full-on 3D game engine customizable for any game. Don't quote me though, lol.
 
Last edited by a moderator:
Joined
Aug 16, 2007
Messages
7,180 (1.14/day)
Yeah your right its just an updated quake engine for that game. I dont really think Mozilla should concentrate on making a 3D engine as they should maybe concentrate on other web browser technologies, its not their area of expertise. Overall i can maybe see some indy developers making use of something like this or 3D Flash.
 
Joined
Nov 13, 2009
Messages
5,614 (1.02/day)
Location
San Diego, CA
System Name White Boy
Processor Core i7 3770k @4.6 Ghz
Motherboard ASUS P8Z77-I Deluxe
Cooling CORSAIR H100
Memory CORSAIR Vengeance 16GB @ 2177
Video Card(s) EVGA GTX 680 CLASSIEFIED @ 1250 Core
Storage 2 Samsung 830 256 GB (Raid 0) 1 Hitachi 4 TB
Display(s) 1 Dell 30U11 30"
Case BIT FENIX Prodigy
Audio Device(s) none
Power Supply SeaSonic X750 Gold 750W Modular
Software Windows Pro 7 64 bit || Ubuntu 64 Bit
Benchmark Scores 2017 Unigine Heaven :: P37239 3D Mark Vantage
Remember, it was just designed to validate the game engine. Anyway, it's open source, so can be developed into a full game if anyone is up to the challenge.

I am sure zanga will make use of it likely for an FPS.
 
W

wahdangun

Guest
i think it was impossible to make a really good 3D game via browser right now, because it will need massive bandwith just to stream game data from their server to our computer and since linux and windows have different kind of driver it will make developing game for it a little challenging.
 
Joined
Mar 6, 2007
Messages
720 (0.11/day)
Processor i9 9900k @ 4.8 Ghz
Motherboard Asrock Z370 Taichi
Cooling Xspc raystorm direct die, 2x 480 swiftech rads + 2x 120 block ice rads D5, Monsoon Dualbay Res
Memory 32gb G.Skill DDR4 3200mhz CL14
Video Card(s) Gigabyte Aorus 3080 Ti Waterforce WB shunt mod
Storage Samsung Evo 860 500gb, Samsung Evo 860 1Tb x2, WD White 12tb x2
Display(s) Acer xb270hu 144hz 2560x1440
Case Enthoo Primo
Audio Device(s) Schiit Modi Multibit/Magni3 - M1060 (fuzzor+LQi cable+Eikon suede)/ATH-W1000X (Purrin's mod+suede)
Power Supply EVGA SuperNova 1300w
Mouse Razer Orochi
Keyboard Tesoro
Software TeamOS W10 Pro/W7 Pro
If you guys want to see something like this in action for yourself done very well, check out www.interstellarmarines.com

It's an Indie game that's been in development for some time but they have early builds with demo stuff on the site that you can play just in your browser (Running Man, Bullseye). And it's actually done incredibly well. It uses Unity Web Player. I've had some fun with it, but then again I may be biased since I have already preordered back in '09 just to support. :)
 
Joined
Sep 2, 2011
Messages
1,019 (0.21/day)
Location
Porto
System Name No name / Purple Haze
Processor Phenom II 1100T @ 3.8Ghz / Pentium 4 3.4 EE Gallatin @ 3.825Ghz
Motherboard MSI 970 Gaming/ Abit IC7-MAX3
Cooling CM Hyper 212X / Scythe Andy Samurai Master (CPU) - Modded Ati Silencer 5 rev. 2 (GPU)
Memory 8GB GEIL GB38GB2133C10ADC + 8GB G.Skill F3-14900CL9-4GBXL / 2x1GB Crucial Ballistix Tracer PC4000
Video Card(s) Asus R9 Fury X Strix (4096 SP's/1050 Mhz)/ PowerColor X850XT PE @ (600/1230) AGP + (HD3850 AGP)
Storage Samsung 250 GB / WD Caviar 160GB
Display(s) Benq XL2411T
Audio Device(s) motherboard / Creative Sound Blaster X-Fi XtremeGamer Fatal1ty Pro + Front panel
Power Supply Tagan BZ 900W / Corsair HX620w
Mouse Zowie AM
Keyboard Qpad MK-50
Software Windows 7 Pro 64Bit / Windows XP
Benchmark Scores 64CU Fury: http://www.3dmark.com/fs/11269229 / X850XT PE http://www.3dmark.com/3dm05/5532432
quake live is 3d (basically quake 3 arena graphics) and runs on your browser using openGL. You need to install a plugin to get it running.
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.46/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
Gaming in browsers is generally pretty poor compared to windowed and even worse compared to fullscreen. Basically, you got a lot of browser overhead that requires serious security considerations on top of the security considerations in the game. Not to mention, all the other riff-raff that is not game related. Oh, and forget it ever catching on if not all major browsers support it. In short, it's far fetched and nothing Silverlight can't already do...
http://www.silverlightshow.net/items/Perspective-3D-in-Silverlight-3.aspx
http://bubblemark.com/3d/silverlight1.1.htm
http://www.andybeaulieu.com/Home/tabid/67/EntryID/216/Default.aspx

...or Java for that matter (e.g. Minecraft).
 
Joined
Oct 30, 2008
Messages
1,768 (0.30/day)
System Name Lailalo
Processor Ryzen 9 5900X Boosts to 4.95Ghz
Motherboard Asus TUF Gaming X570-Plus (WIFI
Cooling Noctua
Memory 32GB DDR4 3200 Corsair Vengeance
Video Card(s) XFX 7900XT 20GB
Storage Samsung 970 Pro Plus 1TB, Crucial 1TB MX500 SSD, Segate 3TB
Display(s) LG Ultrawide 29in @ 2560x1080
Case Coolermaster Storm Sniper
Power Supply XPG 1000W
Mouse G602
Keyboard G510s
Software Windows 10 Pro / Windows 10 Home
The web is constantly moving towards a more visual experience. If you look at the net now compared to the net a decade ago, it is drastically different in terms of how sites even looked. Simplistic went to tables, then now were at flash. HTML5 and beyond is growing. These will only get better as lower end machines get boosts in their graphical abilities. Sure it can advance on CPU software rendering but people will demand more. CPUs just cannot match GPUs. Someone will always make something that will look flashier. Having baselines able to display them is a positive move. Like them or not, this is what APUs can help foster. Even if Intel ends up taking the lead on this front, it'll be these early pioneer days which will be crucial.
 

eidairaman1

The Exiled Airman
Joined
Jul 2, 2007
Messages
42,055 (6.62/day)
Location
Republic of Texas (True Patriot)
System Name PCGOD
Processor AMD FX 8350@ 5.0GHz
Motherboard Asus TUF 990FX Sabertooth R2 2901 Bios
Cooling Scythe Ashura, 2×BitFenix 230mm Spectre Pro LED (Blue,Green), 2x BitFenix 140mm Spectre Pro LED
Memory 16 GB Gskill Ripjaws X 2133 (2400 OC, 10-10-12-20-20, 1T, 1.65V)
Video Card(s) AMD Radeon 290 Sapphire Vapor-X
Storage Samsung 840 Pro 256GB, WD Velociraptor 1TB
Display(s) NEC Multisync LCD 1700V (Display Port Adapter)
Case AeroCool Xpredator Evil Blue Edition
Audio Device(s) Creative Labs Sound Blaster ZxR
Power Supply Seasonic 1250 XM2 Series (XP3)
Mouse Roccat Kone XTD
Keyboard Roccat Ryos MK Pro
Software Windows 7 Pro 64
still not liking streaming games, better to have code on computer than not, internet bandwidth is still not fast enough to withstand such high demands
 
Joined
Jan 2, 2008
Messages
3,296 (0.53/day)
System Name Thakk
Processor i7 6700k @ 4.5Ghz
Motherboard Gigabyte G1 Z170N ITX
Cooling H55 AIO
Memory 32GB DDR4 3100 c16
Video Card(s) Zotac RTX3080 Trinity
Storage Corsair Force GT 120GB SSD / Intel 250GB SSD / Samsung Pro 512 SSD / 3TB Seagate SV32
Display(s) Acer Predator X34 100hz IPS Gsync / HTC Vive
Case QBX
Audio Device(s) Realtek ALC1150 > Creative Gigaworks T40 > AKG Q701
Power Supply Corsair SF600
Mouse Logitech G900
Keyboard Ducky Shine TKL MX Blue + Vortex PBT Doubleshots
Software Windows 10 64bit
Benchmark Scores http://www.3dmark.com/fs/12108888
Some guy shooting lazers out of his boobs, and a deer in space. Looks promising.
 
Top