Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing the rasterx interface #9

Open
Noofbiz opened this issue Jul 12, 2020 · 3 comments
Open

Implementing the rasterx interface #9

Noofbiz opened this issue Jul 12, 2020 · 3 comments

Comments

@Noofbiz
Copy link

Noofbiz commented Jul 12, 2020

Hello! I want to be able to render svgs directly to, say, an opengl framebuffer rather than an image.Image. I've actually already got the engine and framework and shaders needed, and It seems to me that a lot of the types in this package could be interfaces, which could then allow me to implement them to allow me to do just that. Is that a direction you'd be willing to take? I'll put together the PR and write it myself, I'm just wondering if you had any tips or ideas on going about it. Thanks!

@srwiley
Copy link
Owner

srwiley commented Jul 17, 2020 via email

@Noofbiz
Copy link
Author

Noofbiz commented Jul 17, 2020

That looks like exactly what I need. I'm working on adding svg support to engo. I am currently using rasterx to get images then upload them like pngs or jpgs. But I really want to keep all the parts of the svg separate to support things like dragon bones like animations and motion tweening. So instead of uploading svgs to the GPU as textures, I want to keep them as shapes, curves, etc.

@Noofbiz
Copy link
Author

Noofbiz commented Dec 8, 2020

related to srwiley/oksvg#22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants