Live data from Hacker News

BMW i8 in WebGL

car.playcanvas.com

91–100 of 141 posts

Re: BMW i8 in WebGL

#91
If the author is around, How long did this take? It's slick, but what impresses me most is when I customize the interior from the inside view.

Well done!

Re: BMW i8 in WebGL

#92
post #64
post #15

I am perplexed. Modern games are fantastically more visually appealing and contentwise impressive than this. Modern films utilize computer graphics that are far more impressive still. What is it about single model viewer that makes it headline material? It looks nice, though.

WebGL is like the dancing bear; even if it doesn't dance very well, there is nevertheless endless fascination when it dances at all.

I wouldn't be that dismissive of WebGL precisely. It's a real time graphics driver frontend- a few generations old DX 9 equivalent. Once the shaders and vertices are uploaded to the GPU it's not that consequential what the front end is (within a very charitable margin but still).

I think there is probably a slight shearing layer in the way WebGL integrates with the rest of the browser programming interfaces since it's the lowest level API by far that is exposed. Thus, platform developers who are served ala carte technologies that provide a facade for traditionally very non-trivial things (layout, font rendering and font server, vector graphics rendering, etc. etc.) are suddenly given raw substrate which requires one or two abstraction levels before it's near even SVG which itself can be considered really low level when compared with HTML and CSS.

Traditionally, web developers expect a higher level experience and I think the organizations that usually serve web development services have not taken into account that you need a team of computer graphics experts if one wants to develop anything on top of WebGL.

I'm not dismissing web developers - I'm a graphics programmer myself - but basically, for a non-genious level person like me even grokking the transform stack requires re-orientation every time I'm not touching linear algebra code for a couple of weeks.

It's not a fault of webgl, per se - the other graphics aspects a browser serves do have pretty well figured out conventions and grammar that can be standardized to provide the ala-carte publishing experience a browser provides. But we don't really have any "standard" conventions in computer graphics yet that could be formalized to the level a page layout can. And is it surprising? Publishing has a history as an industrial craft of 500 years. All the conventions have been figured out, and are implementable in algorithmic form.

While realistic art has been practiced thousands of years only 2D graphics really has the industrial basis where we can say that everyone understands and can formalize what they want from their image.

3D graphics is a whole new ballpark. When pixar introduced their shader language 30 years ago they laid out the foundations for formalizing the colorization in visual grammar. The concept of a scene graph is pretty formalized, as well as the perspective projection of a camera. There are some "usual" convention in 3D interaction like the arcball rotation in an editor like scene.

But other than that? The visual world is infinitely rich. We are not ready for a "standard" representation of an infinitely rich universe of expression.

Of course, that does not mean there are no representations that could not be formalized - there are the standard materials of 3D engines and so on, and physical rendering approaches are slowly converging on the best model - but, I don't know if we can ever reach the standardization of desk top publishing in 3D graphics.

Re: BMW i8 in WebGL

#94
post #15

I am perplexed. Modern games are fantastically more visually appealing and contentwise impressive than this. Modern films utilize computer graphics that are far more impressive still. What is it about single model viewer that makes it headline material? It looks nice, though.

The purpose of this visualization is to present a car, which requires a good single model viewer. If this was a link to a more visually appealing .exe game, many of us wouldn't be able to run it, because it would require a specific platform, many would be afraid to run it, and many wouldn't bother to download and install executable just to see a car.

[deleted]

Re: BMW i8 in WebGL

#95
post #92
post #64

Earlier quoted context omitted.

WebGL is like the dancing bear; even if it doesn't dance very well, there is nevertheless endless fascination when it dances at all.

I wouldn't be that dismissive of WebGL precisely. It's a real time graphics driver frontend- a few generations old DX 9 equivalent. Once the shaders and vertices are uploaded to the GPU it's not that consequential what the front end is (within a very charitable margin but still). I think there is probably a slight shearing layer in the way WebGL integrates with the rest of the browser programming interfaces since it'…

Thinking about your comment made me realize that the lackluster performance often seen in WebGL pages has very little to do with overhead in WebGL itself, and a lot to do with the application developer's failure to optimize for performance.

Native Quake III on a Pentium 4-era system was much smoother than most of the WebGL stuff I see on a modern system, but the fact that a WebGL demo [1] of a subset of Quake III is very smooth seems to support this idea.

You make a lot of good points about the difficulties that the low-level nature of graphics programming present to standardization. I agree that there probably isn't necessarily an easy solution to this which doesn't unnecessarily restrict the space of possibilities in the name of performance or interoperability.

[1] http://media.tojicode.com/q3bsp/

Re: BMW i8 in WebGL

#96
MIND BLOWN - this is using WebGL? Unbelievable!

The only thing I wish it had was more interactions, but as is it demonstrates that WebGL is not just a toy, but something to be taken more seriously in the GL community.

Re: BMW i8 in WebGL

#97

Ah, the car that fakes internal combustion engine noise when it's running on electric... No thanks. Nice demo though!

I hope that they only add this fake noise when no radio is playing or that it can easily be disabled.

Re: BMW i8 in WebGL

#98

MIND BLOWN - this is using WebGL? Unbelievable! The only thing I wish it had was more interactions, but as is it demonstrates that WebGL is not just a toy, but something to be taken more seriously in the GL community.

"..,but something to be taken more seriously" outside "the GL community"

Re: BMW i8 in WebGL

#100
Super cool! Do the camera controls 'invert' when you hop into the car, however? When outside the car, grab a point on the car and drag, and that point roughly tracks where you drag your mouse pointer to. Inside the car, the opposite happens. Grab a point, drag the mouse, and the point moves away from the cursor.
Post reply on HN