Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    francesco-cattoglio
    @francesco-cattoglio
    Hi there, newbie here. I am toying around with quicksilver and it really looks nice! I was thinking about loading multiple images then combining them via drawing on a surface (so that in the end I only have one image and do not need to keep track of everything, but I am a bit lost. I understand that loading something produces a future, and I can do something like
    Assert::new({
    let future_1 = <load something>;
    let future_2 = <load something else>;
     })
    Then, all I have is multiple futures I don't know how to combine. If I join() them I get a tuple, but I honestly have no idea about what can be done with it, all my attempts have failed :sweat_smile:
    francesco-cattoglio
    @francesco-cattoglio
    Since yesterday I made a bit of progress in understanding what can be done, but I am facing a strange behaviour with the screen flickering if I try to create an Asset<Surface>. Also opened a "question" issue ryanisaacg/quicksilver#501
    MushuYoWushu
    @MushuYoWushu
    Hey there, are there completed game projects I can look at? (Like an examples page)
    Ryan G
    @ryanisaacg
    wow, Gitter has very helpfully again failed to notify me about any of these messages. I'm very sorry @hughlang @francesco-cattoglio ! I think I'm going to migrate away from Gitter because of this very problem
    @hughlang Honestly I think what you're going for is great! I don't have the bandwidth to make major changes to Quicksilver as of right now, though, and I have some of my own thoughts about how to add modular pipelines that I'm saving for Quicksilver 0.4
    Ryan G
    @ryanisaacg
    @francesco-cattoglio When you have a tuple of joined futures, you can unpack them when you execute
    @MushuYoWushu Yup, in the readme!
    I would direct people with further questions to open issues or to join the Rust Community Discord and ping me there! https://discord.gg/aVESxV8
    MushuYoWushu
    @MushuYoWushu
    Who are you there?
    Ryan G
    @ryanisaacg
    @MushuYoWushu I'm ryanisaacg on Discord
    hughlang
    @hughlang
    Hey @ryanisaacg. Yeah, Gitter is terrible for notifications. Sometimes it smothers you and then it goes quiet. I just saw your last message a few days ago.
    I'd like to hear your plans for modular pipelines. I know mine isn't quite there yet. I'd like to clean up my branch and submit a PR just to start a discussion.
    Ryan G
    @ryanisaacg
    @hughlang Modular pipelines will probably miss Quicksilver 0.4 actually, but I'm thinking either an API that allows users to have custom vertex types and custom uniforms with their own shaders, or switching to wgpu and allowing users to use wgpu directly when they want advanced features
    hughlang
    @hughlang
    Thanks @ryanisaacg. New question: Does the Transform::rotate always use the center for the rotation axis? Or can you offset it to another point? For example, can you rotate around the top-left point? Or even a point outside of the object rect?
    hughlang
    @hughlang
    nvm, I figured it out mostly
    hughlang
    @hughlang
    Hey @ryanisaacg. What are your thoughts adding support for gfx? Or switching out the backend someday? I want to evaluate gfx for basic opengl/webgl support and then later Vulkan and Metal
    I have been working on a gui framework for many months and I am using my fork of quicksilver as the backend. There are many conveniences in quicksilver that I like, but I need to upgrade the backend.
    I looked at Rendy too, but that seems heavy and biased
    Ryan G
    @ryanisaacg
    @hughlang My thoughts are leaning towards wgpu as a good solution for a new backend API
    hughlang
    @hughlang
    cool. thx
    hughlang
    @hughlang
    This seems like a friendly implementation of wgpu: https://github.com/cloudhead/rgx
    Minimalist design
    Leah
    @ForsakenHarmony
    Hey, it's not really obvious to me how to apply a transform to a mesh when drawing, I'd like to draw the same mesh in different positions
    Leah
    @ForsakenHarmony
    Ryan G
    @ryanisaacg
    @hughlang that does look pretty interesting, I'll check it out when I next work on the graphics stack
    Michael
    @mkulak
    I want to apply color filter to the image (pretty simple filter like tint or brightness). Is there a way to do this in quicksilver?
    hughlang
    @hughlang
    @mkulak I would say the image-rs crate has all the tools for that. You can apply all those effects and get the vec<u8> output
    The ergonomics of that lib are not easy though. I have some code samples that might help.
    Michael
    @mkulak
    @hughlang thanks for answer
    I also asked same question in discord and got an answer from Ryan:
    As stated earlier: discord is the right place to ask https://discord.gg/aVESxV8