Firefox 3D Canvas FPS Engine
axonis writes "Benjamin Joffe has developed Canvascape - "3D Walker", a simple javascript browser based 3D first person game engine that shows off the capabilities of the Canvas tag found in Firefox, Safari and Opera. " Don't expect much except a proof of concept ;)
Think about the overhead, here is a triple-layered game engine ! Wonder what you could really do with these machines if you hard coded them 80's style in assembler...
MP3 Search Engine
Yay, a platform-independent way of senselessly killing innocent people! What's next, "Grand Theft Auto: Firefox <canvas>"?
Creative misinterpretation is your friend.
[In case it's slashdotted, the walkthrough looks like a standard FPS, with an M4 being held].
Then we have the last line of text:
This game is being developed but doesn't have much direction at this time, to make a suggestion email me. The gun is copyright by FarCry but is only here temporarily until I model the weapon set. Sydney Wedding Video and DVD
Wedding Video? Crazy Aussies...
-- Is "Sig" copyrighted by www.sig.com?
Now include a Wiki environment and people can dynamically built and develop on the levels. Looks nice, really.
FYI, Firefox only works from 1.5 onwards (Gecko 1.8), and Opera 8.5 doesn't work (anyone testing 9.0 could tell if it works or not?)
"The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
May I point out that Canvas tag is only supported in Firefox 1.5, and not the current stable release 1.0.7.
And neither on Linux.
This game is being developed but doesn't have much direction at this time, to make a suggestion email me. The gun is copyright by FarCry
And you can expect to be in trouble now that you've been slashdotted (I expect the legal document will come just as you finish putting out the fire your server caused). Even if it was only tempporary, lawyers have funny ways of dealing with copyright infringement. Which is sad, but protected by the law.
In opera 9 preview 1 it works, but incredibly slowly. I get about 1 fps, because it reloads all the scenery and redraws the white walls with every move.
/. effect? Or is javascript not dependent on the server? Or is the implementation for javascript in opera not optimal?
Perhaps because the
Dependency hell? =>
Works in Safari on 10.4 However, it really helps show the age of my G3 iBook (4+ years). I get approx 2-3FPS. But it loads really fast! Still, a nice proof of concept. I'll have to check it out on my PC when I go fire up NFS Most Wanted this afternoon.
Be a real patriot: Question authority. Think for yourself. Formulate your own conclusions.
This game is being developed but doesn't have much direction at this time, to make a suggestion email me.
I hear Jack Thompson recently had some ideas.
I guess we've found a purpose for those 8 core CPU's we've been hearing about...
Jerry
http://www.cyvin.org/
Nor did 8.51 work on Windows
works fine with athlon64 and 2gb ram on firefox1.5
Works great on Version 2.0.2 (416.12) (under 10.4.3)
It goes like a rocket in reality. Reminds me of the original Wolfinstein from ID :-).
More like a First Person Walker. /ripped from a digg comment
..he had used Java and hadn't resorted to a non-W3C-standard (but WHATWG) tag, I might have considered that interesting. Check this guy's work out: http://www.brackeen.com/
Would the above comment be moderated as "Informative" rather than "Funny".
Its funny to see things popup that have been done before but with standards that never made it....
Works on Opera 9.0 preview on Linux
http://en.wikipedia.org/wiki/Fair_dealing
Nice to see Australians know about as much about legal matters as do Americans.
And no, the use of the Far Cry gun isn't fair use.
support for this sort of stuff seems like bloat to me. i mean wasn't the whole idea behind firefox to get away from the "hey let's jam everything we can possibly think of into one browser app" idea that was bogging down mozilla?
all the code neccesary to support this canvas thing (which will probably rarely be used) is just more junk that will slow down legit bug fixes, and probably be RIFE with security holes.
firefox will eventually just turn into 'Mozilla NG', and become yet another bloated turd of a browser, given the direction that 1.5 is taking, IMO.
this 'web app' support should be a sandboxed plugin, or something else that can be -optionally- added on, for firefox, not built directly into it.
Works much faster on Camino 1.0 than in Firefox 1.5 or Safari. Smooth enough to "play" on a 1.5GHz G4.
And of course this technology will NEVER be used for ads.
adblock adds tags to simplify blocking canvas tags.
I like the idea of an open javascript driven presentation engine. by by flash? doubtful, lets see harvey cartels N games written in javascript first.
I like anyway.
#hostfile 0.0.0.0 primidi.com 0.0.0.0 www.primidi.com 0.0.0.0 radio.weblogs.com
...it's better then being in Flash.
And it seems the programming schools that claim games can be made in JS weren't lying.
"I'm a well-wisher, in that I don't wish you any specific harm."
Firefox 1.5 RC 3 on a laptop: Sempron 2800, 512 MB RAM, Nvidia Go graphics, gives me a completely smooth 'game'. Good 30+ fps.
soon, we will be all bitching that certain browsers support certain non-standard tags.
Wow, once polished, this is a potentially brutal time waster in the work place.
Can't wait.
And so Java3d takes yet another hit. It's always interesting and amazing to me that games in web browsers using things like java3d never really took off. It's probably all due to the loading times, and the ammount of content you'd have to send via http. I mean, look at modern games, one of the huge differneces is the ammount of memory modern video cards have for textures, hundreds of megabytes of textures. Could you imagine having to put that kind of strain on a webserver? It would simply be imposssible! While certainly neat, this will likely become an novelty. Even for things like demonstrations on websites of products, there's flash out there. But, i digress, yet another thing you can do via javascript hacks. Bravo! let the interoperability headaches abound....
I was just looking at the api and this has applications outside games. Think graphics programs; of course, nothing like Photoshop, but enough to allow doing images in a browser. Why use Dia as a standalone app when you can have a collaborative version in a browser?
It's coming..
Isn't "canvas" the Dutch word for make your own fun?
--
make install -not war
Who said anything about suing? Not every copyright/trademark/patent case ends in suing, anymore than every GPL violation ends in court. To you and Tim. C., all the company lawyer (whom is collecting a salary regardless of what he's doing. just as you all are collecting a salary while posting on slashdot) has to do is send a C&D letting the infringer know what the law says (and judging how many times slashdotters get that wrong it happens a lot) and ask him to stop. Simple as that. KISS as applied to the law.
I really like mozilla/firefox (using it since milestone 12, WAAAAY back), but cant they see that i only want a goddam browser that works, is fast and doesnt crash?
:/
With the latest version (via autoupdate) i get crashes about 2 times a day, AFTER flashblock/adblock (which should take care of most bad crash-prone stuff).
Not to mention that thunderbird is a piece of shit. Whats the point of having a mail-client if it takes nearly a minute on a 1Gbyte A64 system to load after being minimized for 2 or 3 hours while using other applications? NO, and i mean ZERO non-mozilla-based applications i have ever used feature this nice "swap out and never come back without being dragged by the hair" behaviour.
The only reason i am not going back to outlook is that i have a year of email in thunderbird and cant export it. Yeah to vendor lock-in
HI O WISE PRINCE. WHT TOOK U SO DAM LONG?
I am wrong, that link was not for the canvas. You are right, it is only WHATWG. Sorry, I was confused for a moment.
Regards,
Steve
Sorry, I'm having a bit of difficulty wrapping my head around that concept...
With progress like this, it shouldn't be longer before Firefox achieves full 'It runs Doom!' certification. Good job guys.
Comment removed based on user account deletion
Here is the answer to your wondering....
http://unixscene.kameli.net/
>>Think about the overhead, here is a triple-layered game engine ! Wonder what you could really do with these machines if you hard coded them 80's style in assembler...
Wow! Nice! Does it have a rootkit included?
Hold the space bar so you'll jump continually. Then, while holding the space bar, click on a window that isn't your browser (so the browser will lose focus). Then go back to the browser.
Click on the canvas, and walk around. You've turned into a rabbit.
You can play a very neat MMORPG in a modern browser that supports java. I've so far played it on windows with firefox and internet explorer and on Ubuntu 5.10 with firefox.
It's a neat game, there's quite a bit of stuff to do for free. Subscription is cheap and gives you more quests. I don't know if the ads go away for members, but they have their own servers.
www.runescape.com give it a shot.
You are a submarine troll. Know what that means? You post to Slashdot for a week looking for karma and then burn it all off on blatantly offensive comments. Remember that whole flaming tree you posted about a gay governor a few months ago? How about that whole unfounded Griffin critcism? And what about your nasty comment about someone's username? And then you posted this rotten comment.
When you reply to these posts, you link to your own posts. Couple that with your bio and you show yourself as one huge egomaniac!
That's *MR.* Self-Righteous Asshat to you.
Mods, don't feed this guy. Maybe without a karma stash he won't go on these trolling runs.
--
Trolling all trolls since 2001.
why is it hosted on a wedding filmers site?
This capability quite interesting in that it might be a more standards-compliant way of doing something like SphereSite (which is Windows-only for the moment).
While the whole sphere thing is over the top, maybe a "loop" style browser interface like deskloops would do the trick.
Imagine that, two tech news sites that link to other sites share some content!
Over the last few weeks, Digg's frontpage has copied these articles from Slashdot:
Copy Machines at Greater Risk During Holidays
Ubuntu: Best Linux Desktop for Business?
New Free Open Source Enterprise Magazine
Richard Stallman Accosted for Tinfoil Hat Use
Hyperthreading Hurts Server Performance?
The Real Reason Behind ITMS Tiered Pricing
Apple iTunes Security Flaw Discovered?
Etc, etc. ad naseum.
Honestly, who cares. Digg is full of shit stories for the most part.
Will there be a support for canvas in IE7?
I think it will be a big factor to think about when thinkin about using canvas in some web app. Because noone will want to use it if only a handful of browsers can support it.
I downloaded the latest Opera today for MacOsX, and it doesn't work. The alert clearly says it will only work in Firefox and Safari.
and the guy can be sued for total loss of revenue of $0
If Australia's copyright laws are anything like those of the United States (and that's likely given the recent "free" trade agreement), statutory damages may apply to infringement of any copyright even if actual damages are negligible.
Is this a standard of some kind? Or just something that the firefox devs decided to throw in? Because it seems to me that it really isnt that much different than proprietary IE tags that break cross-browser compatibility to use.
It's easier to fight for one's principles than to live up to them.
First thing I like about 1.5 is that SVG is now supported. The Second thing I like about 1.5 is the 3D Canvas FPS Engine. What will really win me over is if they offered VRML/X3D support.
I'm taking a peek at the source codes for this web page and they are very well written. He says it does not have much direction at this time. On the contrary. This project has much potential.
The Rapture is NOT an exit strategy.
Just before someone has had a bad experience with your beloved peice of code doesn't mean he/she is a troll. Get your heads out of your ass and MOD PARENT UP!
Mozilla stole tabs from NetCaptor. So what? Right?
Firefox DeerPark latest 1.6a1 20051125 -> perfect, I wish WoW had the same frame rate... ;)
Safari (OS X 10.4.3 with all standard updates) -> a bit slower...
Shiira 1.1 -> same as Safari, maybe a bit faster (should have the same engine as Safari, though)
Opera 8.5 -> Browser incompatibility... yadda yadda...
Anyway I think the most interesting test would be some kind of IE7 on some Vista's Beta...
I'm fat, you're ugly. I can get slimmer, and you?
FWIW this worked, albeit slowly on my PII-300 laptop. The demo made me think of how much processor speed might impact game playability. A faster machine would woop ass on all other players. Unless of course you program it away.
:)
Hmm some truth to the Intel statment "Programmers are killing Moore's law."
Programmers force perpetual hardware upgrades.
Not hugely fast but not bad. And yes, I do also have an athlon 64 (you insensitive clod). It really is not a very demanding application.
Pining for the fjords
Everybody knows that. People only come to Slashdot because of the disscussion. I visit both Digg and Slashdot and I will continue to do so as long as Digg's commenting system is so crummy.
Where does VRML stays?
What happened to vrml??
You can do a much better raytracer with canvas than without it - previously you'd have needed a large table or many divs to display the image, but with canvas the output can actually be drawn properly.
My server
WildTangent did this with their own plug-in that allowed DirectX content to be run from an object embedded in IE.
It used any COM-based language, but for in-browser 3D, you needed (of course) Java or JavaScript.
I think they've gone to an online content publishing model now (away from in-browser gaming), but the API they provided allowed for some pretty good DirectX 7-level stuff.
What is this canvas element and what's it's purpose? It looks to me like a bitmap-based competitor to SVG or something, but built into HTML. Can anyone tell me what it's meant to be used for?
This is a "Firefox 3D Canvas FPS Engine" just because it works in Firefox (As well as Safari and Opera)? Edit you damn editors!
I just completed a major 3D project that's designed to be cross platform, eventually. We chose to develop in python, versus Flash, Java, or any sort of brower-style embedded environment.
There were good technical reasons to go the way we did, but most of the arguements against using a brower-based technology were business-related. First off, you need to guarantee someone can just download and run the application. That knocks out a bunch of canadates, even if you're willing to accept plugins. Then you're faced with the issue of investing a few man-years of work against a propietary, closed technology in some cases. Bad idea.
Then you've got open alternatives, like this one. It's potentially a great idea, pending any performance problems on lower end machines. There's that few man-years worth of labour you can't get back easily if you make the wrong choice.
Would you want to make that decision?
..don't panic
I already beat it. That was easy!
If we all send enough emails, someone there will get the message. I really want to see more things like this run natively under Linux.
Meh.
No must be damages. One of the things the australians kicked back.
Closest thing we have to Statutory Damages is the court awarding costs, pain and suffering and the like.
Just like companys trying to get our PBS to move to a more compad system for them to sell product. It did not happen.
Problem here is that the claiment of damages could endup with court costs awarding against them. Ie Statutory damages are one way. Most of the australian ones are both ways. Ie Damages person reputation on the other side could be damaged by court action so claiment could end up having to pay up.
This stops media circuses like you have. Reason Media circus increase risk of damages being canceled out or claiment having to pay up.
Better system no need to Statutory Damages.
and they will come
There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
I've been working on something similar for some time, without resorting to any browser specific objects like the CANVAS tag.
mine does 3d just like how the characters in Wolf3D worked (not the walls). You put mine and his together...
http://battletech.hopto.org/mechproject/game.html
it fish-eyes badly, doesn't have collision detection yet, and a bunch of other things... but the math is way faster. Since his is raycasting, the use of CANVAS really shouldn't be neccessary, just position images across the screen and scale them horizontally, then it would have textures.
I went looking for trouble, and boy, I found her...
Yeah, yeah, ActiveX on IE as a security problem, and all of that. I like ActiveX, and it is a very powerful cross-language facility, but you are solidly restricted to Windows. This thing sounds like an other-than-Windows other-than-Java cross-platform way of doing graphics which is pretty interesting.
See: http://www.beaufour.dk/blog-archives/2005/06/canva s_support.html
Although not fully functional.
so if you go up 2 levels in the directory -- the site where this is hosted looks like a team that does wedding photography and video.
From the front page: http://www.abrahamjoffe.com.au/
Your wedding day will be one of the most joyous occasions in your life. We are totally dedicated to preserving your special day with as much class and quality as possible.
wow these guys need some advertising help.
Why is the story title Firefox 3D canvas when this thing runs on other browsers. (and probably runs in Konquerer too) So it runs in AT LEAST 2 other browsers but the title is Firefox? I have nothing agaist FF Since its my main (99%) browser for Windows, but geez. Fan boy titles for Slashdot articles is getting out of hand. And you all know if the title of this article had been Safari 3d Canvas someone else would have written this and subsituted Safari for FF. Peace. Tip your waitress, I'm hear all week. Goodnight.
OMG Ponies!!! with Glitter!!!! I miss Pink
Gee thanks guys your gonna kill my server. It is a shock to see how much coverage this game is getting, this is the first 3D environment I have ever coded so it is pleasing to see that I am not the only one enjoying my efforts. When I ran my tests about 80% of the processing power was spent on rendering the trapeziums to the canvas which I have little control over. As far as I can see most of the math was fairly optimal, no obvious problems there. I will probably continue developing this in a few weeks when I am on holidays, probably by that time several people will have coded far more superior ones but I will see... The wedding business is my brother's, I don't have my own server. Here's another little code I made, not quite as interesting though: http://www.random.abrahamjoffe.com.au/public/JavaS cripts/canvas/interpolation.htm
When they get Doom running on Firefox, let's see how the browser copes with nuts.wad
READY.
PRINT ""+-0
I googled quite a while and found only a commercial software (which i didnt want to buy for a single use) or a workaround using eudora as proxy that doesnt work (as eudora doesnt recognize thunderbirds mbox folders... so much for universal formats...)
HI O WISE PRINCE. WHT TOOK U SO DAM LONG?