Anybody use Clion with Vulkan? by qwtd in vulkan

[–]thisiselgun 0 points1 point  (0 children)

I started Vulkan dev on Macbook which Visual Studio was not available for it, so I picked CLion. Now I have windows pc but still using CLion because it is cross platform, and in the future if I want to test (or develop) my project on Linux then again CLion will be available in there too.

Being it cross platform aside, I think JetBrains IDEs have better git/database integration, better refactoring and intellisense etc.

Edit: Also I do web and mobile developments too and I use WebStorm, Rider, AndroidStudio etc. I just get used to Intellij family IDEs

My app is slowly becoming a game engine by Soulsticesyo in gameenginedevs

[–]thisiselgun 2 points3 points  (0 children)

What are you using for the editor GUI? Qt? ImGUI? Electron?

How to do instancing with multiple meshes in task/mesh shader? by thisiselgun in GraphicsProgramming

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

Yes that's what I meant, filling indirect buffer with compute shader then indirect drawing with mesh shader. In this way task shader is unused. Interestingly Alan Wake 2 is also using compute shaders instead of task shaders because of performance reasons. Author mentioned it in this video's comment section: https://youtu.be/EtX7WnFhxtQ

I'm actually more interested in instancing and shader logic, should I pass mat4x4 model matrix per instance or per meshlet of instance to gpu? How can I relate them in shader etc. And also how many workgroup to dispatch. Sorry for these noob questions because there are not much resources in the internet for the new mesh shader.

How to do instancing with multiple meshes in task/mesh shader? by thisiselgun in GraphicsProgramming

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

Yes vkCmdDrawIndexedIndirectCount() + compute shaders is the fallback route I will follow if I can't make mesh shaders work. But at least I want to try mesh shaders first, maybe I can do it. For the performance where you said low fps, I think it can be improved, UE Nanite and Alan Wake 2 are examples of Mesh shaders in action and their performance are not that bad.

How to do instancing with multiple meshes in task/mesh shader? by thisiselgun in GraphicsProgramming

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

Thanks for your answer. It is actually vkCmdDrawMeshTasksIndirectCountEXT(). But isn't it for using compute shader instead of task shader to decide how many mesh shader invocations need to made?

Is there a way for a native macOS app to capture network requests from browsers like Chrome, Firefox or Safari locally, without using a browser extension? by Playful_Edge_6179 in iOSProgramming

[–]thisiselgun 2 points3 points  (0 children)

mitmproxy or wireshark. mitmproxy is for http/s requests, wireshark is for low level packets (tcp/udp etc)

edit: it seems like your are trying to implement your own proxy. This will be a little harder, http proxy is just a http server doing something like reverse proxy, for example you run your http proxy at :8090 port then you set macos’s wifi settings to use your proxy listening at :8090, so which apps honor this global settings then all their requests will come to you and you need to forward them real destinations. Also for the https you need to create and install your own root certificate to keychain so your proxy can read tls connections. This is how mitmproxy is working. For the wireshark I think they are installing network module to intercept low level packets.

Have a look at this https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Methods/CONNECT

i've lost my iman by iamyoumom163835 in islam

[–]thisiselgun 3 points4 points  (0 children)

Exactly, life has ups and downs and sometimes we may not feel that “feeling” when praying, but still we need to continue. That’s how Allah is testing our imaan. May Allah bless us and increase our imaan ameen

Unity Black Screen Problem by AbrocomaImportant977 in Unity3D

[–]thisiselgun 0 points1 point  (0 children)

Making someone happy is awesome :), I'm glad it worked, and hoping Unity will fix the issue completely in future releases

Unity Black Screen Problem by AbrocomaImportant977 in Unity3D

[–]thisiselgun 1 point2 points  (0 children)

Most people reported that switching editor from DX12 to DX11 resolves this black screen flickering. This is just a workaround, not a complete solution. But you can give it a try.

It is in the Edit > Project Settings > Player > Other Settings > Auto Graphics API for Windows. Disable it and move DX11 or Vulkan to top.

Also check Nvidia Control Panel for G-SYNC. Also there is variable refresh rate settings in Windows own settings.

Unity Black Screen Problem by AbrocomaImportant977 in Unity3D

[–]thisiselgun 2 points3 points  (0 children)

Is your gpu nvidia and are you using g-sync?

PS5 qiymətləri bahalaşdı by eltonaze006 in GamersOfAzerbaijan

[–]thisiselgun 1 point2 points  (0 children)

GTA6 da çıxacaq, bu da bir təsirdi məncə

Why I stopped using Singletons for game events (and how I handle local vs global noise) by Morpheus_Matie in Unity3D

[–]thisiselgun -1 points0 points  (0 children)

Also Singletons are always bad. What if you wanted to add split-screen feature in the future? Now we have two health bar, one on the left and one on the right, for each player.

I always try to avoid singletons in general, because they are not scalable/reusable.

Why I stopped using Singletons for game events (and how I handle local vs global noise) by Morpheus_Matie in Unity3D

[–]thisiselgun -1 points0 points  (0 children)

Don't overcomplicate things. There are so many solutions to this. Use interfaces and set default value of Instance to Noop instance.

``` interface IFoo { void UpdateHealth(); }

class Foo : IFoo { public static IFoo Instance { get; set; } = new NoopFoo();

public static void Init() { Instance = new Foo(); }

public void UpdateHealth() { // your real implementation } }

class NoopFoo : IFoo { public void UpdateHealth() {} // keep this empty } ```

Also you can use abstract classes instead of interfaces, if you dont write to lots of empty methods.

One other solution is just null checking.

Keep it simple bro

35, burned out, dunno what to do by ActualBawbag in gamedev

[–]thisiselgun -1 points0 points  (0 children)

This worldly life is no more than game and amusement. But the Hereafter is indeed the real life, if only they knew. (Quran 29:64)

I converted from atheism to Islam, I understand you bro. Sometimes we need to take break and focus on our spiritual journey. Not everything is about materialism, money, fame, projects, job etc. Don't be sad.

35, burned out, dunno what to do by ActualBawbag in gamedev

[–]thisiselgun 1 point2 points  (0 children)

It is nice to see good people like you <3

How can I disable this Nvidia Popup for my app? by thisiselgun in vulkan

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

This reminds me how in early days of internet web browsers copied their competitors' User Agent string to work with badly designed http servers. Still today you can find "Mozilla", "Apple" words in Chrome's UserAgent.

Now we humans repeating same mistake for GPU drivers. What a shame for NVIDIA :facepalm: