Live data from Hacker News

Show HN: SVG 3D Builder – Build 3D Models with SVG

github.com

21–30 of 70 posts

Re: Show HN: SVG 3D Builder – Build 3D Models with SVG

#21
post #17

Earlier quoted context omitted.

It's slow because it's abusing what SVG can deliver. It's only a good warning in regards to avoid using the wrong tool for the job. If you want want 3D in the browser, then go WebGL. > It's really a sad story that HTML5 has been evangelized so strongly, yet even ten years later it can't hold a candle to Flash in many regards. Not sad at all. It needs to be evangelized more since it's clear that other solutions did no…

> We have all the features flash had now (and had it for many years now) You have absolutely no idea what you are talking about, yet you're evangelizing HTML5, that's the problem. Talk to somebody who tried to bring Video or 2D(!) animated content over from Flash to the Web. It was (and remains) a total clusterfuck. Not just because of performance but because of compatibility. Flash just worked . Web video or (god fo…

Of course I have no idea, I'm only following the development of web technologies since IE6.

Web video was "fixed" in the dying years of Flash. I remember cursing on HMTL5 video, but it was suddenly got performing really well and switched YouTube to it and never looked back. Just pick a graphics library and you'll be fine if you want to move vector stuff around. If you miss the flash IDE, then it still exists and can export to HTML5 standards.

Being proprietary was just part of the problem. I'm glad it showed us the way but it needed to be gone.

Re: Show HN: SVG 3D Builder – Build 3D Models with SVG

#22
post #8
post #4

Earlier quoted context omitted.

Euh... Yeah? Shoehorning SVG into 3D models ought to be slow. Manipulating DOM nodes for animation has it's limits. If you want 3D perf in the browser, use WebGL. The canvas can be quite fast if used right, but again, it's not the right tool for every job.

The problem is, the right tool does not exist on the Web. WebGL doesn't have very good support, especially on mobile. That's why one would choose to use SVG. Also, just to get it to do something requires a lot more expertise and code. Would this project have worked out better on Canvas? Yes, most certainly, but some people have to find out the hard way.

Why does WebGL not have very good support on mobile?

Re: Show HN: SVG 3D Builder – Build 3D Models with SVG

#23
post #18

Earlier quoted context omitted.

Padorn? Yeah, poor Opera mini users will suffer. https://caniuse.com/#search=webgl

The fact that a browser supports WebGL tells you nothing about which devices support it. It all depends on the GPU and its drivers, browsers have blacklists of GPUs, but even if your device is not blacklisted, it may simply screw up, especially on mobile.

If you rely on WebGL on mobile then I would feel insecure too, but progressive enhancement is a thing.

I got recently asked to do a project in WegGL and the target audience has the latest gadgets so it will fly on mobile as well. A transaction will cost around $50k so it's a safe assumption, but I'll do more research.

Re: Show HN: SVG 3D Builder – Build 3D Models with SVG

#24
post #17

Earlier quoted context omitted.

> We have all the features flash had now (and had it for many years now) You have absolutely no idea what you are talking about, yet you're evangelizing HTML5, that's the problem. Talk to somebody who tried to bring Video or 2D(!) animated content over from Flash to the Web. It was (and remains) a total clusterfuck. Not just because of performance but because of compatibility. Flash just worked . Web video or (god fo…

Of course I have no idea, I'm only following the development of web technologies since IE6. Web video was "fixed" in the dying years of Flash. I remember cursing on HMTL5 video, but it was suddenly got performing really well and switched YouTube to it and never looked back. Just pick a graphics library and you'll be fine if you want to move vector stuff around. If you miss the flash IDE, then it still exists and can…

> Of course I have no idea, I'm only following the development of web technologies since IE6.

You followed other people doing the development at great expense. You're in no position to evangelize anything.

> Just pick a graphics library and you'll be fine if you want to move vector stuff around. If you miss the flash IDE, then it still exists and can export to HTML5 standards.

Hahahaha, yeah please use it. Please, I beg you. Use it and then come back and tell me it's just as good.

> I'm glad it showed us the way but it needed to be gone.

If it showed the way, people didn't quite see it, they went ahead with nonsense like SVG, which didn't work, so other people created Canvas, which still was massively slower than Flash. Just literally copying Flash would've been better.

Re: Show HN: SVG 3D Builder – Build 3D Models with SVG

#25
post #8

Earlier quoted context omitted.

The problem is, the right tool does not exist on the Web. WebGL doesn't have very good support, especially on mobile. That's why one would choose to use SVG. Also, just to get it to do something requires a lot more expertise and code. Would this project have worked out better on Canvas? Yes, most certainly, but some people have to find out the hard way.

> WebGL doesn't have very good support, especially on mobile. That's why one would choose to use SVG. This statement isn't even vaguely true. SVG support is quite incomplete and inconsistent across all browsers (both desktop and mobile), while Webgl has been comparatively well supported on mobile for many years (Android 4.4 lacked support; Android 9 is now out). The only issues you might have with most common webgl a…

Another opinion from someone who presumably looks at "browser support" tables and green checkmarks and forms an opinion that way.

How much actual WebGL vs. SVG development have you done? How many devices have you tested?

Re: Show HN: SVG 3D Builder – Build 3D Models with SVG

#26
post #18

Earlier quoted context omitted.

Padorn? Yeah, poor Opera mini users will suffer. https://caniuse.com/#search=webgl

The fact that a browser supports WebGL tells you nothing about which devices support it. It all depends on the GPU and its drivers, browsers have blacklists of GPUs, but even if your device is not blacklisted, it may simply screw up, especially on mobile.

[deleted]

Re: Show HN: SVG 3D Builder – Build 3D Models with SVG

#27
post #10
post #3

Earlier quoted context omitted.

which is why both WebGL and Web Assembly exist This could be an interesting "worst case" polyfill.

Those don't fill the same void at all, you need tons of code to do something useful with those, all of which needs to be downloaded, compiled and executed. Show me the library using WASM/WebGL that loads as quickly as SVG or Canvas content.

http://www.adultswim.com/etcetera/elastic-man/

619KB in total, 362KB wasm binary

Edit: Three.js is such a library with qualities you described:

https://threejs.org/examples/#webgl_postprocessing_dof

Re: Show HN: SVG 3D Builder – Build 3D Models with SVG

#29
post #8

Earlier quoted context omitted.

The problem is, the right tool does not exist on the Web. WebGL doesn't have very good support, especially on mobile. That's why one would choose to use SVG. Also, just to get it to do something requires a lot more expertise and code. Would this project have worked out better on Canvas? Yes, most certainly, but some people have to find out the hard way.

Why does WebGL not have very good support on mobile?

Because mobile GPUs have terrible drivers that rarely get updated and browser vendors can't be bothered to deal with that combinatorial explosion.

Having said that, iOS isn't that bad.

Re: Show HN: SVG 3D Builder – Build 3D Models with SVG

#30
post #24

Earlier quoted context omitted.

Of course I have no idea, I'm only following the development of web technologies since IE6. Web video was "fixed" in the dying years of Flash. I remember cursing on HMTL5 video, but it was suddenly got performing really well and switched YouTube to it and never looked back. Just pick a graphics library and you'll be fine if you want to move vector stuff around. If you miss the flash IDE, then it still exists and can…

> Of course I have no idea, I'm only following the development of web technologies since IE6. You followed other people doing the development at great expense. You're in no position to evangelize anything. > Just pick a graphics library and you'll be fine if you want to move vector stuff around. If you miss the flash IDE, then it still exists and can export to HTML5 standards. Hahahaha, yeah please use it . Please, I…

I should have said developed as well (I thought that implies it), but your head is too deeply buried in the sand to maintain a conversation.

I did use many graphics libraries before, thanks, they are fine.

Post reply on HN