Comments (2)
Yes! This is a planned feature for 0.3.0!
The implementation would likely require a separate render pass, shader set, and a different per-vertex definition with just position and color.
Yes, the idea is to create another pipeline
module inside each graphics backend (and probably rename the current one to quad_pipeline
or something).
Fill vs Line drawing per shape would need to change the primitive type from lines to triangles and generate slightly different geometry.
Hmm... Interesting. I guess that changing the primitive type mid-batch would need an additional draw call.
It looks like lyon always produces triangles even when tesellating shape strokes. We could always render triangles as a first iteration.
I am currently working on something cool for Coffee, I will open a PR soon... 🤓 After that, I had plans to tackle this. Once we are able to render meshes, then we can try to tackle #17.
PS: I wrote some thoughts about this in #4, but do not worry about duplicated issues. I am totally fine with it, any discussion is welcome. Wherever it is. It does not matter.
from coffee.
Take a look at #50 and let me know what you think.
from coffee.
Related Issues (20)
- error: failed to run custom build command for `libudev-sys v0.1.4` HOT 2
- thread 'main' panicked at 'Unable to create Vulkan instance: VkError(ERROR_INCOMPATIBLE_DRIVER)', src/libcore/result.rs:1165 HOT 2
- `coffee::graphics::window::settings::Settings` does not have this field | function or associated item not found in `coffee::load::task::Task<_>` | Coffee Minimal Example HOT 1
- Using Image as tile sheet HOT 1
- Error: WindowCreation("Couldn\'t find any pixel format that matches the criteria.") HOT 4
- Examples crash on Metal HOT 2
- Key repeat behavior on macOS HOT 4
- Trying using my own Renderer but result incompatible type for trait HOT 1
- Where can i "signal" refresh requirement of my widget ?
- Examples only render one frame on ChromeOS and can't interact or close HOT 2
- Wasm support? HOT 1
- Expose more Winit events HOT 1
- Should `Game::load` receive `&mut Window`? (not a duplicate of #130) HOT 1
- Couldn't find any pixel format that matches the criteria on MacOs
- Rendering error HOT 1
- Fedora - Examples not working
- Can coffee run truly headless?
- Anti-Aliasing
- interface 'wl_output' has no event 4 HOT 2
- Wayland error : Attempted to dispatch unknown opcode 0 for wl_shm, aborting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coffee.