Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

3D inside browser without plugin

Anonymous Coward writes | more than 7 years ago

Mozilla

Hans Schmucker writes "The WHATWG is, as you probably know, right now forming the basis for the next generation of HTML. And I have to say, I love what they are doing and I especially love the browser makers (all except Microsoft, because from what I've seen so far I'd say that IE7 is simply the IE6 rendering engine with minor improvement and a new user interface, not a major update) for implementing the stuff that quickly.
Among other things, the WHATWG is standardizing Apple's Canvas element which is something web developers have wanted for years: A way to draw graphics inside the browser. Problem is that so far only the 2D part has been documented, even though both Mozilla and Opera are working on 3D support.
Well, to fill the gap I've put up a working software renderer here that uses the 2D commands to draw a simple (but real, not Doom-style 2.5D) 3D model from an OBJ file. It's not perfect and I'm taking a lot of shortcuts to speed up rendering, but it works pretty well. The code is available under GPL so you can take whatever you want and start your own program. The target for mine is to eventually become a racing game, and from what I've seen so far it seems possible to at least get VirtuaRacer style graphics.
Here's the link again: Canvas 3D Demo
Feel free to give feedback"

Slashdot Login

Need an Account?

Forgot your password?