rust-skia
filament
Our great sponsors
rust-skia | filament | |
---|---|---|
7 | 27 | |
1,321 | 17,083 | |
4.2% | 1.2% | |
9.5 | 9.8 | |
7 days ago | 2 days ago | |
Rust | C++ | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust-skia
-
Integrate with Skia GL
The only example that shedded some light on the integration was gtk4 + femtovg. So I mimicked the example, using gtk4-rs and Skia's rust bindings. I had some code similar to the following inside a subclass of GLArea to setup Skia's DirectContext, but it failed:
-
A simple 2d graphic library
Checkout rust-skia.
-
Recommended UI framework to draw many 2D lines?
Skia (https://github.com/rust-skia/rust-skia) which I think does a mix of software and gpu rendering
-
Dioxus: User interfaces that run anywhere
I‘d probably look into Skia first, it also drives Flutter. https://github.com/rust-skia/rust-skia
- Add WebAssembly support to skia-rust
-
Most effective way to be ready for 2D graphics?
I have been looking around for a suitable vector graphics library to use. My short list is: skia-safe, skulpin, nannou, and cairo.
-
Question: Rust as centralized place for platfor and framework agnostic business logic. Is this possible?
Flutter uses skia which implements a common API for all these GPU rendering backends. Maybe rust-skia is a good fit for your needs, but be prepared to lose lot of the time you saved by using a single codebase into coding your common UI framework :P
filament
-
Filament – A Language for Fearless Hardware Design
Also: Filament is a real-time physically-based renderer written in C++. It is mobile-first, but also multi-platform.
https://google.github.io/filament/
-
Looking for resources / mentor
Also beginner here, I think you can learn other's codes to get a better understanding of the API by learning how others can abstract these concept into higher level. They're many great projects out there like Google's pbr renderer filament https://github.com/google/filament, AMD's gltf sample https://github.com/GPUOpen-LibrariesAndSDKs/glTFSample and also as many suggested, the Sascha Willems's repos https://github.com/SaschaWillems and the official sample https://github.com/KhronosGroup/Vulkan-Samples
-
Flutter and Apple Vision Pro
In the Flame discussions page, there is a request for 3D, and Flame developers write that they will be happy to start working on support once when Impeller is stable on most major platforms. So what can the community do? 1) Create discussion topics, just like these posts. Or in other discussion forums. 2) Learn about Impeller, Filament, Flame, and Flutter and be willing to contribute to their development. 3) Join Flame now and try to do something or contribute. 4) Study the implementation of Flutter 3D, and try to do something together with ARCore or ARKit plugins.
-
Appleseed – open-source, physically-based global illumination rendering engine
Anyone know much about how this compares to Filament by Google?
https://github.com/google/filament
-
Searching for Reliable Cross-Platform Rendering Framework (C/C++)
Have you tried Filament? https://google.github.io/filament/
-
What is this C++ trick called? It looks a bit like PIMPL.
I was looking through the Google Filament repo and I noticed that the classes in include/filament use a trick I haven't seen before that hide implementation details similar to PIMPL.
-
Why aren't there constantly more shading languages popping up all the time like other languages?
There are a handful of other examples out there of high-level shading languages - Cg (long deprecated), whatever Filament Material system uses (example), and various GLSL preprocessors (example).
- Fence callback system
-
OpenGL displays the color of an image different from the system color profile;
I'm loading a texture using OpenGL enjoy this glTexImage2D( GL_TEXTURE_2D, 0, GL_RGBA, texture.width, texture.height, 0, GL_RGBA, GL_UNSIGNED_BYTE, texture.pixels.data()); The issue is that the color of the image looks different from the one I see when I open the file on the system image viewer. On the screenshot you can see the yellow on the face displayed on the system image viewer has the color #FEDE57 but the one that is displayed in the OpenGL window is #FEE262 Is there any flag or format I could use to match the same color calibration? Displaying this same image as a Vulkan texture looks fine, so I can discard there is not an issue in how I load the image data. [EDIT] In the end it seems likethe framebuffer in OpenGL doesn't gets color corrected, so you have to tell the OS to do it for you #include void prepareNativeWindow(SDL_Window *sdlWindow) { SDL_SysWMinfo wmi; SDL_VERSION(&wmi.version); SDL_GetWindowWMInfo(sdlWindow, &wmi); NSWindow *win = wmi.info.cocoa.window; [win setColorSpace:[NSColorSpace sRGBColorSpace]]; } I found this solution here https://github.com/google/filament/blob/main/libs/filamentapp/src/NativeWindowHelperCocoa.mm https://preview.redd.it/2td3rs19p4f71.jpg?width=1476&format=pjpg&auto=webp&s=454d4e554d47e3a4e11a16c938304f1125ed7622
-
Weird Vulkan Bug
I found this issue on github https://github.com/google/filament/pull/3190/files
What are some alternatives?
nannou - A Creative Coding Framework for Rust.
android-3D-model-viewer - Android OpenGL 2.0 application to view 3D models. Published on Play Store
vulkan-tutorial-rs - Vulkan tutorial written in Rust using Ash
THREE.js-PathTracing-Renderer - Real-time PathTracing with global illumination and progressive rendering, all on top of the Three.js WebGL framework. Click here for Live Demo: https://erichlof.github.io/THREE.js-PathTracing-Renderer/Geometry_Showcase.html
Skity - A light weight 2D Vector Graphic renderer library writing in c++ for OpenGL3.3+ / OpenGLES3.0+ / Vulkan 1.1+/ WebGL2 with WASM
compose-samples - Official Jetpack Compose samples.
canvas - High performance skia binding to Node.js. Zero system dependencies and pure npm packages without any postinstall scripts nor node-gyp.
The-Forge - The Forge Cross-Platform Rendering Framework PC Windows, Steamdeck (native), Ray Tracing, macOS / iOS, Android, XBOX, PS4, PS5, Switch, Quest 2
skulpin - Skia + Vulkan = Skulpin
OpenSceneGraph - OpenSceneGraph git repository
docx-you-want - An unusual PDF-to-DOCX converter.
ogre-next - aka ogre v2 - scene-oriented, flexible 3D C++ engine