HackerTrans
TopNewTrendsCommentsPastAskShowJobs

sysrpl

no profile record

Submissions

Lazarus 4.0 Release

forum.lazarus.freepascal.org
7 points·by sysrpl·el año pasado·0 comments

Railroading the Pascal Language

getlazarus.org
38 points·by sysrpl·hace 2 años·15 comments

Did ChatGPT just form a thought?

getlazarus.org
13 points·by sysrpl·hace 4 años·15 comments

Programming Pascal Using an AI Chatbot

getlazarus.org
1 points·by sysrpl·hace 4 años·0 comments

A guided intro to the Free Pascal language

getlazarus.org
178 points·by sysrpl·hace 4 años·100 comments

Released Today: C#11 and Dotnet 7

learn.microsoft.com
20 points·by sysrpl·hace 4 años·1 comments

Is an unknown MDM Certificate on a used iPhone a security risk?

2 points·by sysrpl·hace 4 años·1 comments

Rendering my (billiard) balls in a fragment shader

getlazarus.org
244 points·by sysrpl·hace 4 años·84 comments

SerenityOS Update (May 2021)

youtube.com
3 points·by sysrpl·hace 5 años·0 comments

comments

sysrpl
·el año pasado·discuss
It's super easy to design using OnShape. Hit me up with private message and I will show you everything you need to model 3D printable parts in under 5 minutes.
sysrpl
·hace 2 años·discuss
The website zombo.com is actually quite relaxing. I spend a few hours each day visiting it.
sysrpl
·hace 3 años·discuss
Is it that hard to:

    document.querySelectorAll("#some-form input").forEach(e => e.classList.add("error"));
sysrpl
·hace 4 años·discuss
That is common at the moment. Their servers are overloaded due to the wild popularity of ChatGpt and often the session will just "break", erasing any context or learning it had acquired in your session. You must then start over.
sysrpl
·hace 4 años·discuss
Free Pascal was originally derived from Object Pascal and later Delphi, both of which added more object oriented programming features to Pascal. Additionally, it supports some of the more advanced features introduced to Pascal with later releases of Delphi including managed types, interface types, operator overloading, generics, implicit and explicit conversions, extension properties and methods, as well and user defined initializers and finalizers for your custom types, and more.

I could write an article about each of these features, but in summary they each are powerful and help users write more useful programming code when leveraged correctly.
sysrpl
·hace 4 años·discuss
Today Microsoft released the next version of dotnet, known as dotnet 7. It includes many enhancements including new language features to C#, which they are calling C# 11.

You can download the release of dotnet 7 here:

https://dotnet.microsoft.com/en-us/download/dotnet
sysrpl
·hace 4 años·discuss
Do you guys plan on out of the box support Linux with VPE?
sysrpl
·hace 4 años·discuss
Why is this on hackernews right now? It's an old program, closed source, hasn't been updated in ages, and the author abandoned it long ago because he doesn't like people using it to recreate tables. This seems like a shameless plug indeed.
sysrpl
·hace 4 años·discuss
I've always though about that fact myself. Can somone find the answer to why didn't the GLSL designers / video card driver people make PI built into their language?
sysrpl
·hace 4 años·discuss
It can be incorporated into a 3D scene as long as you can make a square billboard . You may have problems with clipping that' you need to address manually, but it might be worth it as you can get better visuals, assuming you are trying to render spheres.

As far as I know there shouldn't be any distortion issues. A sphere will always look like a circle from any perspective. Well that is unless it's really really big or your are really really tiny and you give the size difference you are relatively close to its surface. At that perspective it just look like a flat plane.
sysrpl
·hace 4 años·discuss
With a good phong it's all about the dot products and specular highlight (if you using highlights). Make sure you clamp the dot products and give yourself a minimum ambient light value of around 0.15 to 0.2.
sysrpl
·hace 4 años·discuss
That's very interesting. Thank you for the link. From what I read and see in the images, I gather he's done the same thing I have, as you guessed as well. Obviously he's going much further. The author is using a subtle bump map (simulating balls scratches and imperfections), a reflection map with a gradient and indecent angle, what looks to be a faux sub surface scattering effect.

Also he is placing his balls in a 3D environment with nice shadows that really help to sell the illusion.

That's a good find and an interesting read. Thank you.
sysrpl
·hace 4 años·discuss
I was around and writing OpenGL when we started getting the first programmable cards. Nvidia shot out first with their Cg language, but I held back and waited for the "Orange Book" to come up. I bought it right away and learned from it and by looking at other peoples shaders.

https://duckduckgo.com/?q=opengl+orange+book

Also the quick reference card helps

https://duckduckgo.com/?q=glsl+quick+reference&t=h_&ia=web
sysrpl
·hace 4 años·discuss
Well first of you get infinite smoothness and better lighting (and reflections if you add them) because there is no underlying geometry. It's just math. It's also much faster, as you're only giving the GPU four vertices defining the square. This can even be sped up further by using point sprites which consume only one vertex.
sysrpl
·hace 4 años·discuss
Lol, wow what a find. You notice the details. I corrected it. Thank you.
sysrpl
·hace 4 años·discuss
Fixed.
sysrpl
·hace 4 años·discuss
I fixed it. Thanks.
sysrpl
·hace 4 años·discuss
Here is a summary I wrote on my attempt to render balls using only a fragment shader. I am pretty happy with the result, and I've included a breakdown of the creation process.
sysrpl
·hace 4 años·discuss
Having followed this project on youtube for a while, it would be nice if Stephen (one of the creators) posted a video of the machine actually working. All of his prior content has been related to trying to solve problems with his design. A video or two demonstrating all the features of this PnP machine reliably working would go a long way to help potential buyers decide if they want to commit their money and time to get Stephen's PnP.
sysrpl
·hace 5 años·discuss
This tool is not at all scientific or accurate. One problem is that this tool assumes most of the water flows through rivers and out to oceans, when in many cases water flows underground in aquifers, emerging elsewhere. In the US south east these aquifers travel a long distance feeding many springs, which then lead to one of two rivers: the Suwannee River and the Saint Johns river.

https://www.mysuwanneeriver.com/267/Springs

https://www.sjrwmd.com/waterways/springs/