Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


+ - 3D inside browser without plugin

Submitted by
Hans Schmucker
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"

Felson's Law: To steal ideas from one person is plagiarism; to steal from many is research.