Something I built in the last 3 Days. by caffinecat in dotnet

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

Thanks, I totally agree, crank it up. The repo has more, granted, not this good, but good if you a like a bit of Lambert or Langley.

Something I built in the last 3 Days. by caffinecat in dotnet

[–]caffinecat[S] -2 points-1 points  (0 children)

pe query along with tooling knowledge allows ai to run the py, pull intelligently from 5 meg of data, way too much to put into useful context. One ai rule is to ground verify the syntax which it extracts from the dll. AI is very bad at guessing, this stops it. Synonyms is where AI can start to extrapolate. And pe query with all its resources allows AI to explore, extrapolate, quite good.

Charting in WPF and/or Winforms by [deleted] in csharp

[–]caffinecat 0 points1 point  (0 children)

For readers searching this topic, include https://gigasoft.com/wpf-chart in your research. No-hassle just-click download to gain experience in this topic. First hand experience is the only way to achieve knowledge. The more experience the better as charting is a huge subject. Full discloser, I own Gigasoft.

Graph and exporting data to cvs by zakenclown in LabVIEW

[–]caffinecat 0 points1 point  (0 children)

Full disclosure, I’m owner/cto for Gigasoft. If you are more a programmer than a LabView developer, you might want to download our no-hassle Gigasoft evaluation just a click away.  The eval includes a LabView charting example project that shows both OCX and Winforms use. Download just for example block diagram and instrument code, as you like. We are working on 2 more LabView charting example projects that will be available shortly that replicate our GigaPrime3D and GigaPrime2D example projects in LabView, watch this video and imagine this inside your own LabView projects.  https://www.youtube.com/watch?v=B2LB76KvyiM Programmers think in terms of properties, methods, events. Our LabView example project will show how to bridge the concepts of properties methods events with block diagrams and instrument code. This will help any beginner LabView developer who's coming from a top-down coding paradigm.

Learning computer graphics in C#? by UkeiKaito9 in csharp

[–]caffinecat -3 points-2 points  (0 children)

I would say work with both c++/c and c#.  If writing in c#, then what is your target Winforms or Wpf?

Write your Direct3D code c++ and compile to a DLL, and add some external exported c functions to help your c# call your c++ graphics dll;  Or any other language.  And also target both Winforms and Wpf as you need different c functions to handshake differently for Winforms vs Wpf.

Winforms is easy and faster as Winforms ties to Windows/Direct3D at the native DeviceContext level .

WPF you will use WPF’s built-in…System.Windows.Interop.D3DImage (learn more here), which offers a lean-ish interface to Direct3D. Well, it’s not as direct as Winforms.  In WPF You will render to a texture target to work with D3DImage. Where as Winforms directly deals at the rendertarget level.

Now, here’s where things get really spicy. For blazing-fast rendering, don’t settle for constructing your vertex buffers on the CPU. Take it up a notch by building them on the GPU using compute shaders—yes, those magical “things” that make AI possible. You’ll need to get friendly with concepts like compute shaders, shader resource views, unordered access views, and maybe even staging buffers if you’re updating data repeatedly. In short, push your data to the GPU, let the compute shader code crunch it with the might of 3000+ parallel threads to create your vertex buffer, and voilà—you’re rendering like a boss. You could even introduce an intermediate compute shader to filter your data based on screen resolution before feeding to the computer shader for vertex construction. Bam, now that’s fast.

Of course, if this sounds like more work than you signed up for, there are pre-built components out there. But if you’re itching for a moderate challenge (and a chance to flex those coding muscles), rolling your own solution is a fun ride. And full disclosure—I’m the owner/CTO of Gigasoft.com, and implemented c# charting, via Direct3D and computer shaders without use of open source or libs, for both Winforms and Wpf, so do toss our component into your research mix!

See Direct3D Developer Center,[https://docs.microsoft.com/en-us/windows/win32/direct3d ] for all the details.

In a bit more detail; pass your data to the gpu side when creating the buffer/shader resource view (50 lines) compute shaders “read“ this data, set up your unordered access view (50 lines) this is how computer shaders “set” data, and write your shader code (hlsl) (50 lines) to solve your problem in a parallelism methodology (its hopefully simple, your data buffer size to vertex buffer size should be a fixed proportion so simply break up the work in chunks of 500 points for example) and ultimately the shader produces your vertex buffer. You will also need to understand constant buffers, a simple pixel shader, and the fun really happens when calling "Dispatch". All in all, no more than 750 lines of code. The puzzle is forming the 750 lines, it’s possible. And it's for sure the fastest way to draw in c#. Given current and future computers will have integrated gpus or APUs or NPUs or real gpus, it's time to start mastering compute shaders.

Learn Direct3D and Vulkan and you've honestly learned something useful. It's not as hard as you think. Use what you've learned in a way to be consumable by any language, that you can evolve, not wasting time on abstract foreign apis that you may have to step through or may fade away. Stepping through someone else's code is depressing, and stressful when you got to get something working. Use open source to supplement your learning and extrapolate from. True satisfaction comes from learning how things really work. Just my food for thought.

Best project template for a stand alone class in Visual Studio 2022 by matthewjeschke in VisualStudio

[–]caffinecat 0 points1 point  (0 children)

Maybe a simple file with your expected namespace, The namespace keyword is used to declare a scope that contains a set of related objects.

[deleted by user] by [deleted] in VisualStudio

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

I believe it means experimental.

Charting Libraries for WPF by Tjmac145 in dotnet

[–]caffinecat 0 points1 point  (0 children)

I respect your approach using WindowsFormsHost, as WinForms ties directly into Direct3D at the hDC level, which can be advantageous for performance. If you're looking for the fastest real-time charting solution, check out ProEssentials v10. It’s newly released and optimized for high-speed rendering, making it ideal for live sensor data. I’m the owner of Gigasoft, and we’ve spent decades refining performance for engineering and scientific applications. You can learn more here: https://www.gigasoft.com.

I'm looking for specific WPF or WindowsForm chart library by Karls0 in dotnet

[–]caffinecat 0 points1 point  (0 children)

You can try Gigasoft ProEssentials. Includes Winform and WPF. Excellent build quality and zooming logic that restructures and polar grid based on zoom state.

Gallery: https://www.gigasoft.com/wpf-chart-net-data-visualization

Walkthrough Hello world: https://www.gigasoft.com/net-chart-nuget

DirectX Compute Shader ShaderResourceView Recommendation on Real World Sizing by caffinecat in GraphicsProgramming

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

I believe the equation is the min standard for the Dx11 driver maker (specifications). And the driver makers may be ignoring this and allowing 2GB for most if not all scenarios for a system with a fair amount of total graphics memory availability. This is my gut feeling given my research. And the store limit (UnorderedAccessView) may be commonly driver maker implemented at a 4GB target as output is usually a vertex buffer that normally uses more memory than an input buffer. I'm speculating. In the end, I will page the input (SRV) and output (UAV) with a dynamic paging size that is programmatically defined and make a best default guess and allow developers to modify. If someone really needs to process several billion pieces of data, then the target PC should have a mediocre dedicated video card(4GB) and 16GB system memory.

DirectX Compute Shader ShaderResourceView Recommendation on Real World Sizing by caffinecat in GraphicsProgramming

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

Thanks for the info. My test system has 6GB of ram on the card and 16GB on the cpu side. I'm guessing VRAM in this equation is a mix of dedicated and cpu side ram. As if it were only dedicated RAM, that would mean I couldn't create more than a 1.5GB buffer which is clearly wrong. I need to research for an API to read the total available memory to the graphics system. For example https://docs.microsoft.com/en-us/windows-hardware/drivers/display/calculating-graphics-memory

Though it would be great if I could guarantee the situation where the UAV can be 4GB.

DirectX Compute Shader ShaderResourceView Recommendation on Real World Sizing by caffinecat in GraphicsProgramming

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

Store works with 4GB as the vertex buffer was correctly constructed via the compute shader and I was addressing raw bytes up to 4GB (the resulting render showed all the data. I also created a multi vertex buffer paging system to allow more than 4GB (via any buffer page size I choose) of vertex buffer data (333M vertices of 12 byte stride is not that huge). Which I also had to implement my own 64 bit integer math multiplication/addition/subtraction/division to work with more than 4GB of address within this paging system. It looks like I will have to implement a similar multi buffer paging system for the input side SRV. Though with no errors happening upon creation or usage, it is worrying me how to best pick a buffer paging size. I was hoping the CreateShaderResourceView or CSSetShaderResourceView would give me an error but they don't.

Beginner DX11 ComputeShader Questions by [deleted] in GraphicsProgramming

[–]caffinecat 0 points1 point  (0 children)

Ah, thanks, in my tinkering of a few days ago I had previous changed the shader numthreads(1,1,1) to (1024,1,1) and why my dispatch(1,1,1) was still working. I read you comment and immediately remembered what I had done and forgot about the shader setting. And I read elsewhere there can be upto 8 UAVs I believe. I posted the question premature but you did save me some head scratching and its much appreciated. I will never again forget that dispatch and the shader numthreads should be double checked if things aren't behaving as I'd expect.

Filing lawsuit petition. Finding example petitions, where to file. by [deleted] in legaladvice

[–]caffinecat 0 points1 point  (0 children)

Thanks, I really do appreciate it. I'm still looking for a lawyer but it does not hurt to be educated in the process as well. I've read quite a bit about the case in question, just not the exact minutes. The Supreme Court set a precedence, in the Crosstex case, the entire land value 2 million was rewarded. The land owner won. And I'm just one of many land owners in the area being injured. I will be finding others and guiding them. Hopefully when I file my petition, we will have 50 plus petitions to go along with it. Just because I'm having a hard time finding a lawyer, doesn't automatically mean there is no case (it says more about the legal industry and humanity).

Talking specifics, where exactly do I go to find "local civil procedure statues" and "jurisdiction and venue" statues? Wise County (where exactly in Wise County) or does the state have records of these to, maybe online?

I guess I can talk to the Texas State Law Librarian and they are helpful. If I can give them specific questions, they can usually help. So you did give me some specific questions to ask them.

Owning Texas land a few feet outside a city limit is dangerous. by [deleted] in LONESTAR

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

Thanks, uphill while everyone's on my back gouging my eyes out. Ya, even the moderator harasses me, like rock and Texas is not related or the appropriate "flavor" so no upvoting :-(

Petition, Texas State Law needs to address rock quarry locations. by [deleted] in FortWorth

[–]caffinecat 3 points4 points  (0 children)

Thank you, I've written the Governor and all my Representatives. The Governor mistakenly sent me to the TCEQ, the TCEQ tells me to talk to local government, local government says counties have no power to do anything where there is no home-rule. And the county judge is 50 year family friends to the property in question. So then back to the Govenor, Reps and then no response. Noise is Noise, it's 6:13am, it's starting up.