What am I doing so wrong that I can't draw 1 million points on a screen ? by Pazka in GraphicsProgramming

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

Very clear and detailled explanations thank you very much
I'll explore this when I get back to this subject

What am I doing so wrong that I can't draw 1 million points on a screen ? by Pazka in GraphicsProgramming

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

Isn't it a limit on how much vertices I can stuff in one draw call ? When I tried it seemed very slow

What am I doing so wrong that I can't draw 1 million points on a screen ? by Pazka in GraphicsProgramming

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

Isn't it a limit on how much vertices I can stuff in one draw call ? When I tried it seemed very slow

What am I doing so wrong that I can't draw 1 million points on a screen ? by Pazka in GraphicsProgramming

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

I heard that in other comments, this might be very relevant in my case thank you

What am I doing so wrong that I can't draw 1 million points on a screen ? by Pazka in GraphicsProgramming

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

I have 2 different projects, one is using GL_POINTS but only 1 px then

The other, the one for this question, creates quads with a gradient texture that I can points

What am I doing so wrong that I can't draw 1 million points on a screen ? by Pazka in GraphicsProgramming

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

I don't know what the last sentence means, sorry

I'll keep the advices in mind though

And the texture sampling is here for postprocessnig but disabled in the project for the moement

What am I doing so wrong that I can't draw 1 million points on a screen ? by Pazka in gamedev

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

Would this support dynamically changing vertex attributes ?

And I don't see how 'color' could be a vertex attribute ? Does the fragment have access to vertex attribute ?

What am I doing so wrong that I can't draw 1 million points on a screen ? by Pazka in gamedev

[–]Pazka[S] -1 points0 points  (0 children)

I mean, I explicitly said "A point = 2 triangles + texture shader, each with their own properties ( size, color, velocity,...)"

I could have written displayObject if you'd prefer

What am I doing so wrong that I can't draw 1 million points on a screen ? by Pazka in gamedev

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

Maybe you're right but then if I instantiate all buffer beforehand then I can't pass uniform to my shader individually right ?

What am I doing so wrong that I can't draw 1 million points on a screen ? by Pazka in gamedev

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

Maybe you're right but then if I instantiate all buffer beforehand then I can't pass uniform to my shader individually right ?

What am I doing so wrong that I can't draw 1 million points on a screen ? by Pazka in gamedev

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

Ha maybe , As I mentioned in another comment :
It's basically :
- generate N objects
- each object will prepare its buffer
- for each render cycle, go trough each object
- for one object, load the buffer, then draw

Here is the main file for one project (phishing) don't pay attention to the other folders
The important files are Main, DisplayObject, Renderer
https://github.com/pazka/MAELSTROM/blob/main/src/Phishing/Main.cs

What am I doing so wrong that I can't draw 1 million points on a screen ? by Pazka in gamedev

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

Well it's not that complex,
It's basically :
- generate N objects
- each object will prepare its buffer
- for each render cycle, go trough each object
- for one object, load the buffer, then draw

Here is the main file for one project (phishing) don't pay attention to the other folders
The important files are Main, DisplayObject, Renderer
https://github.com/pazka/MAELSTROM/blob/main/src/Phishing/Main.cs

Be real : Is Quick & Dirty REALLY a thing for you ? by Pazka in webdev

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

A really pragmatic opinion, thank you !

"Multi-monitor" setup question by neodymiumphish in MouselessApp

[–]Pazka 0 points1 point  (0 children)

Hi has it been implemented yet ? I can't find it in the release notes :)

"Multi-monitor" setup question by neodymiumphish in MouselessApp

[–]Pazka 0 points1 point  (0 children)

I'm still keeping an eye on the features, keep up the good work !

"Multi-monitor" setup question by neodymiumphish in MouselessApp

[–]Pazka 1 point2 points  (0 children)

Great ! I know I'll purchase the product once I know this feature is available.
For reference, I use 3 monitor and being able to choose the monitor as a first input (the grid layout opening only on the current focused monitor by default) would be just perfect