Live data from Hacker News

Meta releases Intermediate Graphics Library

khronos.org

161–170 of 221 posts

Re: Meta releases Intermediate Graphics Library

#161
post #78

Earlier quoted context omitted.

Python has wgpu wrappers. Why do you want to use Python though for such a heavy graphics program?

Purely because I already know it well enough to be semi-dangerous. My day job is designing physical goods, I don't have the time to learn anything new just to satisfy my curiosity with signed distance fields.

I don't think you realize just how horrendously bad Python would be for this application. The global interpreter lock and marshaling between Python objects and GPU state would absolutely kill any kind of performance.

Pick up Rust and Bevy. It should be pretty easy to mock up what you want, and you can dip into wgpu when you need extra fine control over the GPU.

Re: Meta releases Intermediate Graphics Library

#162

That scene that says "Copyright ©Meta" is actually a CC-BY scene from Amazon Lumberyard.[1] I'm not sure rendering it entitles you to slap your own copyright notice on it while disrespecting the CC-BY. Further, the interface shown is just plain ImGui. That'd be as if I made an image viewer using off-the-shelf parts, displayed some other artist's work in it, then pretended I own the copyright to what my software now d…

If I take a picture of a Mickey Mouse(TM) figurine - I own the copyright to the photo. Disney will retain copyright to their model, but that doesn't mean they own the result of my work, even if its derivative.

Yes, but Disney also had a Registered Trademark on Mickey Mouse, so any usage of the photo has to be in accordance with that representation.

Re: Meta releases Intermediate Graphics Library

#163
post #74

Earlier quoted context omitted.

This looks like what happens when the "All abstractions are leaky" crowd go too far. It's an absence of abstraction to the point that the intermediary layer is not helpful enough, and will simply end up hidden behind another layer of obfuscatory gunk. Graphics people need to face the fact that writing optimised cross platform renderers is not something that can be solved by divide/conquer into layers in this bottom u…

I have been researching, and it is my current understanding that this is the approach that WebGPU takes, specifically wgpu. Is that right? I have been thinking that wgpu is the best choice available for intermediate cross platform graphics one level below something like Skia and one level above Vulkan, OpenGL, DirectX, and Metal.

[deleted]

Re: Meta releases Intermediate Graphics Library

#164

Earlier quoted context omitted.

If I take a picture of a Mickey Mouse(TM) figurine - I own the copyright to the photo. Disney will retain copyright to their model, but that doesn't mean they own the result of my work, even if its derivative.

Interestingly enough, the copyright on the 1928 movie “Steamboat Willie” – the short film that introduced the world to Mickey Mouse – will expire in 2024. That means the Steamboat-Willie-version of Mickey Mouse will enter the public domain. TM != Copyright, but still interesting.

As I understand it, that’s why they’ve been using the little Steamboat Willie clip at the beginning of films for the last several years—to make it a trademark, which never expires while in use.

Re: Meta releases Intermediate Graphics Library

#165

Earlier quoted context omitted.

Is it kind of a compromise then to "tag" HTML with classes for CSS? CSS doing the "rendering," like laying out mobile-responsive versus desktop. I wonder how we would separate out explicit class names from HTML, unless the tags themselves are . (Micro frontends & web components?) Then it sort of works out nicely, I think.

HTML is the semantics, CSS is the styling, but you need both. Which is why browsers come with default CSS (which you can unset) for everything. You get the element tag to say "what it is", and you get the CSS classes to say "what visual rules to apply".

Your comment is funny in such that ; recall the web before CSS?

1990s web, with flashing tags and just infant monkeys trying to cobble together a webpage?

Your comment brings so many images to mind.

Re: Meta releases Intermediate Graphics Library

#166
post #43

If you're looking for something like this, Sokol is a much simpler alternative: https://github.com/floooh/sokol It doesn't support vulkan though, but if that's important to you you're probably much better off just using vulkan directly since it's supported on all the major platforms.

What about https://github.com/gfx-rs/wgpu It is written in Rust

It's also got C bindings with wgpu-native. There's also other good alternatives like Diligent engine and bgfx.

Re: Meta releases Intermediate Graphics Library

#167

Earlier quoted context omitted.

HTML is the semantics, CSS is the styling, but you need both. Which is why browsers come with default CSS (which you can unset) for everything. You get the element tag to say "what it is", and you get the CSS classes to say "what visual rules to apply".

Your comment is funny in such that ; recall the web before CSS? 1990s web, with flashing tags and just infant monkeys trying to cobble together a webpage? Your comment brings so many images to mind.

That web was so much easier to scrape, though.

Re: Meta releases Intermediate Graphics Library

#168

Earlier quoted context omitted.

HTML is the semantics, CSS is the styling, but you need both. Which is why browsers come with default CSS (which you can unset) for everything. You get the element tag to say "what it is", and you get the CSS classes to say "what visual rules to apply".

Your comment is funny in such that ; recall the web before CSS? 1990s web, with flashing tags and just infant monkeys trying to cobble together a webpage? Your comment brings so many images to mind.

Now HTML¹ is an output target to Flash-like games, tunneled video chat, and the flashpoint of global communities versus corporate priorities.

We can still do flashing tags and cobble together webpages; all we need is a text editor.

That's one allure of programming: we can (re)invent primitives of everything, for better or worse.

¹ With CSS and Javascript

Re: Meta releases Intermediate Graphics Library

#170

They claim to support WebGL as a compile target, it seems like a pretty big missed opportunity that all of their demos don't link to in-browser WebGL running examples!

To be fair, we don't want WebGL anymore, we want WebGPU now =P

I'm thinking about renting a couple WebTPUs myself.
Post reply on HN