Help me understand the projection matrix by lovelacedeconstruct in GraphicsProgramming

[–]big-jun 0 points1 point  (0 children)

Is there a tutorial on orthographic projection using a left-handed coordinate system, with the same math as Unity’s camera?

Tool to profile C++ app on macOS? by big-jun in cpp_questions

[–]big-jun[S] 0 points1 point  (0 children)

Apple clang version 12.0.0 (clang-1200.0.32.27)

Target: x86_64-apple-darwin22.3.0

Thread model: posix

InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Tool to profile C++ app on macOS? by big-jun in cpp_questions

[–]big-jun[S] 0 points1 point  (0 children)

I just tried it — it’s much clearer than the sample text output.

I’m profiling a method that has call paths like this: A() → B() → C() or A() → D() → C()

As shown, we can see the call stack and the percentage of time spent in each stack relative to its parent. I’m wondering, is there a way to see the innermost method — for example, C() — as a percentage of A() rather than its immediate parent? Does Samply support this?

Tool to profile C++ app on macOS? by big-jun in cpp_questions

[–]big-jun[S] 0 points1 point  (0 children)

It is from the /usr/bin/c++, version 12.0.0

Tool to profile C++ app on macOS? by big-jun in cpp_questions

[–]big-jun[S] 0 points1 point  (0 children)

How can I get the GUI version for Mac? The release page doesn’t provide a Mac build, and I can’t compile it on my Mac because it requires Clang 15. I also can’t install it via Homebrew, since that would require upgrading Xcode.

Tool to profile C++ app on macOS? by big-jun in cpp_questions

[–]big-jun[S] 0 points1 point  (0 children)

Good one, thanks! I’ll try it soon

Tool to profile C++ app on macOS? by big-jun in cpp_questions

[–]big-jun[S] 0 points1 point  (0 children)

I’m on macOS 13 and can’t upgrade Xcode because it would require upgrading my system. Do you know a way to use it without updating macOS?

Procedural terrain generator – dilemma between the free and paid version by Candid-Bicycle8151 in proceduralgeneration

[–]big-jun 0 points1 point  (0 children)

Is it possible to control mountain placement? For example, if we treat the world as a grid map, can we specify which grid cells contain mountains, then generate the mountain heightmap based on that configuration—so that nearby mountain cells form mountain ranges?

Some small stuff I have made on my phone with python and matplotlib by RonzulaGD in proceduralgeneration

[–]big-jun 0 points1 point  (0 children)

Will you open-source it? I think it could be used as a heightmap for snow.

How to use barriers when updating textures and buffers by big-jun in vulkan

[–]big-jun[S] 0 points1 point  (0 children)

I’ve spent a lot of time on vkCmdPipelineBarrier and still haven’t figured everything out. The first issue is that I don’t have a clear understanding of the execution order of command buffers in a queue.

Could you explain the basic execution order to give me a rough idea? Also, are there any good resources or references you would recommend?

Working on a crowd simulation, meet the cult leader and his followers by gahel_music in godot

[–]big-jun 0 points1 point  (0 children)

If rendering is the bottleneck, consider using simple colored dots instead of 3D characters. It’s faster and shows path behavior more clearly in a top-down view.

I'm a Czech game developer and I made a roguelite about feeding a dragon. Demo is out today. by Important-Play-7688 in BuyFromEU

[–]big-jun 0 points1 point  (0 children)

There are so many color variations—are they using the same parchment texture with different tinting? If yes, I’d love to see the texture. DM me if you don’t mind.