C
C#•5mo ago
danny

Noob C# enjoyer building a project from other people

hello, i git cloned a project from github and iam using vscode i already installed c# and c# dev kit, the project has .csproj and .sln but iam not sure how to build using vscode, the project iam trying to run on vscode: https://github.com/BoyBaykiller/Newtonian-Particle-Simulator
No description
18 Replies
Angius
Angius•5mo ago
dotnet run In the terminal Or, since DevKit is installed, click the green arrow
danny
dannyOP•5mo ago
uhm where is green arrow
Angius
Angius•5mo ago
Maybe colorless now, I don't really use VSC
Angius
Angius•5mo ago
No description
Angius
Angius•5mo ago
Yeah, colorless Here's the docs too: https://code.visualstudio.com/docs/csharp/build-tools
BoyBaykiller
BoyBaykiller•5mo ago
btw under "Releases" on github there is the precompiled program in case you just want to run it
danny
dannyOP•5mo ago
BoyBaykiller
BoyBaykiller•5mo ago
thats weird it shouldnt look this pixelated/aliased. I've made a small change that might fix it. I'd appreciate if you try running it again with newest version and see if it looks any different
danny
dannyOP•5mo ago
Oh you are the dev? I didn't realise it, what a coincidence 😆 Iam trying to learn OpenGL and how can I give most of the work to GPU to preventing bootlenecks
danny
dannyOP•5mo ago
newtonian pacman
BoyBaykiller
BoyBaykiller•5mo ago
hey cool yeah this is like the first time I look in here and suddenly see this very familiar looking link... : )
danny
dannyOP•5mo ago
i was wondering if it would still be performant if i would load many many images like 10k images preprocess first to like 128x128 the put all textures into a buffer of sorts to send to the shader , would just need a way to handle textures in one go
BoyBaykiller
BoyBaykiller•5mo ago
are you asking how you can make a very large number of textures available to the shader?
danny
dannyOP•5mo ago
yeah basically , what is a good practice if i would do that
BoyBaykiller
BoyBaykiller•5mo ago
if they're all the same size then a 2D "Array Texture" accessed through a single sampler2DArray in shader would be perfect for that. Otherwise there is "Bindless Textures" but thats harder
BoyBaykiller
BoyBaykiller•4mo ago
cool, is this with array texture?
danny
dannyOP•4mo ago
yes and atlas

Did you find this page helpful?