3 ms·
> Video had literally thousands of commonly used sites embed third party players before we got a standard. Yes, and now I can right click a video and open it i
by sorenjan 5y ago
> Video had literally thousands of commonly used sites embed third party players before we got a standard.
Yes, and now I can right click a video and open it in it's own tab, pop it open in an overlay, or download it easily.
> So in contrast to video no one gives a shit?
It's historically been more difficult to create 3D models than images or video. Now phones have lidar, photogrammetry is becoming more accessible, there are ML models that create 3D from 2D, 3D printers have been around for a while, etc. 3D could be more popular if it was easier to share and display.
> We have APIs to render 3D content (WebGL)
That gives you a GL context, then you need javascript to render the scene and add interactivity from mouse events etc.
> have APIs to load random files from a site what more do you need for obj files?
Something like imgur where I can upload a file and send the link to people, and have it work in their chat client and browsers. Something that makes it easy to add a 3D visualization to articles.
> And what format will you use to describe these Scenes? obj doesn't handle animations or complex structures.
Apple uses the USDZ format in their examples, and there's also the glTF format. But obj and stl files should be supported as well.
> What you want isn't a browser but a complete game engine.
Game engines does much more than render 3D scenes. They also handle image loading, audio, video, network connections, user input... You're right, browsers does have a lot in common with game engines.
- josefx 5y ago> 3D could be more popular if it was easier to share and display. Could be more popular? The APIs are already there, literally nothing stops you from writing a pure js lib that supports 3d models in a way that you want and can be reused on any site that needs it. Video didn't have that, video needed 3rd party plugins to even run. Video still managed to attract a sizeable user based before that. > You're right, browsers does have a lot in common with game engines. The same way a toaster and a fridge both handle food. Of course I am all in favor of dropping Chrome for Unreal I think the later doesn't call home half as much.
- sorenjan 5y ago> Could be more popular? The APIs are already there, literally nothing stops you from writing a pure js lib that supports 3d models in a way that you want and can be reused on any site that needs it. The APIs are there, but not the renderer or a way to interact with it. I'm looking at it as a consumer, not a web developer. I don't want to have to write a library or use someones else's, that's the point. Browsers have native video controls when embedding mp4 files with the video tag, you could argue that could be done just fine with html and javascript instead. > video needed 3rd party plugins to even run. Video still managed to attract a sizeable user based before that. Of course video attracts lots of users, that one of the main use of internet for many. Besides Netflix and similar streaming, looking at short clips on Facebook and Reddit is why a lot of users open their browser in the first place. Should everything that's not as popular then be dismissed? Should we not have svg support in browsers? Should video decoders be shipped as webassembly blobs? Should we do like Google docs and render the whole page in a canvas tag? > Of course I am all in favor of dropping Chrome for Unreal I think the later doesn't call home half as much. Unreal uses Chromium Embedded Framework, so all you need to browse the web is the Unreal Engine and a build environment, and you can make your own web client. No need for extra browsers.
- josefx 5y ago> I'm looking at it as a consumer, not a web developer Then why do you care if it is part of the browser or just a library? A consumer doesn't need to know that, certainly wont interact with a model element directly. > you could argue that could be done just fine with html and javascript instead. Not at the time the video controls where introduced and now many sites use DRM which would prohibit a pure js implementation unless you want to piss of Netflix, Amazon, etc. . > Should everything that's not as popular then be dismissed? There are finite browser developers working with finite time and finite resources. Why spend any of that on something a random web dev. can easily implement as a JS library?