Live data from Hacker News

Apple proposes adding "model" element to HTML that displays 3D content

github.com

201–210 of 241 posts

Re: Apple proposes adding "model" element to HTML that displays 3D content

#202

I think apple should just fix their webgl implementation. They seem to be missing a fundamental feature of the web it's interactive. They have an interactive attribute for the tag but no description of what this means? What does it mean to interact with a 3d model? Can 3d model interaction be accurately defined in a single attribute? Why not just use javascript for that logic? The whole point of having multi media li…

> I think apple should just fix their webgl implementation.

Safari is supporting WebGL 2 soon; it's already in preview.

> Another fundamental the proposal doesn't address is the model format?

It would probably be glTF.

Re: Apple proposes adding "model" element to HTML that displays 3D content

#204

What about the old vrml standard ? I remember playing with 3d in the browsers in the 90’s https://en.m.wikipedia.org/wiki/VRML

I remember a browser plugin + a bunch of demos and tutorials being included on a Tomb Raider game long ago (Tomb Raider III Gold, most likely). I remember VRML being pretty easy to understand.

Re: Apple proposes adding "model" element to HTML that displays 3D content

#205

Based on the comments so far, I think I'm in the minority who think this would be a good feature for the web. This proposal might not be perfect, but I think the idea is great. There's lots of good reasons to semantically want to embed a 3d model in a page, like any other type of media. Say you're writing a course explaining how differential gears work - a 3d model of that could be really handy to look at to learn. A…

Instead of spending time on the new vague proposal, maybe Apple should spend time supporting existing web standards like WebGL 2.0 by default (instead of hidden flags).

Re: Apple proposes adding "model" element to HTML that displays 3D content

#206
Of course that spec will also have to specify the format are supported just like WebSQL had to specify the SQL flavor used ... Oh wait, that was the excuse not to make WebSQL a standard... img or audio or video never specs never needed to specify which format these tags should support, but it was a problem with WebSQL? I'd rather have WebSQL than a tag...

Also, let's continue with the hypocrisy. If indexedDB is good enough so people "just have to implement a RDBMS on top of it", so is WebGL which had poor support on Safari until very recently...

Re: Apple proposes adding "model" element to HTML that displays 3D content

#208
post #77

Based on the comments so far, I think I'm in the minority who think this would be a good feature for the web. This proposal might not be perfect, but I think the idea is great. There's lots of good reasons to semantically want to embed a 3d model in a page, like any other type of media. Say you're writing a course explaining how differential gears work - a 3d model of that could be really handy to look at to learn. A…

Couldn’t you host a model custom element implementation on a cdn and get almost all those same benefits? I would rather see a turn to custom elements over extending the browser’s native set of tags further.

FYI, browsers have been separating out the cache for each website for a long time, so you will have to re-download that implementation from the CDN for each website that uses it.

Re: Apple proposes adding "model" element to HTML that displays 3D content

#209
post #205

Based on the comments so far, I think I'm in the minority who think this would be a good feature for the web. This proposal might not be perfect, but I think the idea is great. There's lots of good reasons to semantically want to embed a 3d model in a page, like any other type of media. Say you're writing a course explaining how differential gears work - a 3d model of that could be really handy to look at to learn. A…

Instead of spending time on the new vague proposal, maybe Apple should spend time supporting existing web standards like WebGL 2.0 by default (instead of hidden flags).

Agreed. This proposal makes the Safari sandbagging even more apparent.

Re: Apple proposes adding "model" element to HTML that displays 3D content

#210
post #205

Based on the comments so far, I think I'm in the minority who think this would be a good feature for the web. This proposal might not be perfect, but I think the idea is great. There's lots of good reasons to semantically want to embed a 3d model in a page, like any other type of media. Say you're writing a course explaining how differential gears work - a 3d model of that could be really handy to look at to learn. A…

Instead of spending time on the new vague proposal, maybe Apple should spend time supporting existing web standards like WebGL 2.0 by default (instead of hidden flags).

This ^^ I’d be surprised if Apple has any new learning to offer or if they have surveyed the landscape and decided this is the way to go.
Post reply on HN