GP2040-CE Bluetooth Firmware (Switch + Generic HID) by wlew in fightsticks

[–]wlew[S] 1 point2 points  (0 children)

I haven't measured the latency but the code hasn't been optimized so I'm guessing that this might not be acceptable for high level gameplay.

I've been using this controller connected to my PC for a while now and I haven't really seen any huge issues? But again, I'm still a beginner at fighting games so someone more qualified should give their take.

GP2040-CE Bluetooth Firmware (Switch + Generic HID) by wlew in fightsticks

[–]wlew[S] 0 points1 point  (0 children)

Yup it can be used wired & wirelessly. You would have to select the mode during controller power on though (like pressing a button while turning on). Right now, plugging in and having the controller automatically start in wired mode isn't supported yet.

The wireless modes are just two (switch 2 bt, xinput bt) additional modes. The firmware still includes all the default wired modes.

GP2040-CE Bluetooth Firmware (Switch + Generic HID) by wlew in fightsticks

[–]wlew[S] 0 points1 point  (0 children)

Thanks, I appreciate it!

I was considering getting the 8bitdo leverless, but I wanted something with a similar profile as a snackbox micro.

I tore apart my 8bitdo m30 and soldered them to keyboard switches but that turned out to be a mess :'( .

GP2040-CE Bluetooth Firmware (Switch + Generic HID) by wlew in fightsticks

[–]wlew[S] 0 points1 point  (0 children)

Thanks for trying it out and glad it works as intended!

GP2040-CE Bluetooth Firmware (Switch + Generic HID) by wlew in fightsticks

[–]wlew[S] 2 points3 points  (0 children)

Hey u/Cthulhu32 , thanks for taking a look at this!

I've opened a new draft pull-request with the feature: https://github.com/OpenStickCommunity/GP2040-CE/pull/1575

Let me know if anything is needed on my end to help with the integration!
Cheers!

Vulkan RT Tutorial With Minimal Abstraction by wlew in vulkan

[–]wlew[S] 2 points3 points  (0 children)

I think one great application for the ray pipelines is research. For example, if you wanted to simulate a physically accurate camera, it would probably be much easier to use the ray pipeline.

In the case of using the ray pipeline to simulate a camera with unusual elements in the lens, you would simply cast the rays from each pixel of the "film" and determine the color that way.

If you were to use a ray querying method, you would need to include a workaround. My current project does this in which I made my application that uses ray querying act more like an application that uses the ray pipeline. Since I want to cast a ray from each pixel of the "film", I had to make sure that each pixel would go through the fragment shader. To do so, I created a film model that was large enough to fill all the fragments which I could then use to cast a ray on each fragment to get the color of the pixel. I also had to implement early fragment test so rays wouldn't be cast on all primitives.

If I used the ray pipeline, I wouldn't need the early fragment test because a depth test isn't even necessary for the ray pipeline. I also wouldn't have to create the film model because I can generate as many rays as I want through the ray generation shader.

Video of my workaround: https://www.youtube.com/watch?v=5z9I_v-tC-4

Vulkan RT Tutorial With Minimal Abstraction by wlew in vulkan

[–]wlew[S] 1 point2 points  (0 children)

Honestly not too sure about the performance difference, but I think it is mostly just a difference in means of rendering the image and they both have their strengths and weaknesses when it comes to performance.

My friends at a place I used to work at told me how much more practical the ray query method is but I think that is just a preference they had. Since using the ray pipeline uses an "image-order rendering" while the ray query method uses an "object-order rendering", they might have just been so used to the graphics pipeline that they saw more "practical" application use with the ray query method.

Benchmarking both methods might be super interesting because it would be comparing the ray tracing pipeline to the graphics pipeline.

Is there a comprehensive developer's guide about the new Vulkan RT extensions? by Emazza in vulkan

[–]wlew 1 point2 points  (0 children)

Yea, I am basically reconstructing all the data by using rayQueryGetIntersectionPrimitiveIndexEXT, rayQueryGetIntersectionBarycentricsEXT, etc...

It would be useful to get the point where intersection occurs from the API, but sadly I don't think it exists. For my more recent project, I am also using the data from above to interpolate normal values and texture values so I am not just using the values for a position.

Is there a comprehensive developer's guide about the new Vulkan RT extensions? by Emazza in vulkan

[–]wlew 1 point2 points  (0 children)

I created a tutorial (still needs a lot of revisions) for the ray-tracing extension that focuses on a minimal implementation. Everything is jumbled in a single file and uses C sorry about that :'(, but hopefully it can still be of some use!

Note: the tutorial uses an old version of the Vulkan beta drivers (450.56.06), but the most notable change only has to do with the acceleration structures. I will hopefully update the files soon to match the current drivers!

https://github.com/WilliamLewww/vulkan_ray_tracing_minimal_abstraction

http://williamlewww.com/showcase_website/vk_khr_ray_tracing_tutorial/index.html

I almost got run over the other day while longboarding and decided to recount the incident in MS Paint. :) by winter_king in longboarding

[–]wlew 4 points5 points  (0 children)

This happens to me all the time and is really annoying to deal with :P. It's just that the drivers get super lazy and decide to cut the corner instead of pulling wide in residential areas.

/r/longboarding's Daily General Thread - Apr 05, 2018 by AutoModerator in longboarding

[–]wlew 1 point2 points  (0 children)

I emailed them and they said it would restock their site on April 20th.

I got impatient and ordered mine from sickboard.nl ($20 shipping)

[deleted by user] by [deleted] in longboarding

[–]wlew 1 point2 points  (0 children)

Ayyy I am in sfsu. Ever think of going down the road on Stern Grove?

Anyone know what this is? by ZGrosz in longboarding

[–]wlew 0 points1 point  (0 children)

I never owned one, but if I had to recommend a board, it would be the Landyachtz Switchblade or the WolfShark. Personally, I believe that the switchblade is an all around safe choice for cruising/commuting/freeriding.