#opengl
Explore tagged Tumblr posts
kawaoneechan · 9 months ago
Text
Okay new problem reared its ugly head.
Tumblr media
Note the BONE TESTER field on the top of the screen.
Expectation: Mitzi's head turns around when I change it.
Reality:
Tumblr media Tumblr media
I'd already confirmed before that the face mesh' bone assignments were correct, but the rest of the cat clearly isn't.
This is what you get when every single goddamn tutorial uses Assimp and you have UFBX instead.
244 notes · View notes
piratesexmachine420 · 27 days ago
Text
Tumblr media
*Character in a musical delivering a line that's about to lead seamlessly into a song voice*: Anything I want it to...
43 notes · View notes
ubuntu-official · 1 year ago
Text
Opengl doesn't stand for "open graphics library." It stands for Openly Gay Lesbians.
338 notes · View notes
ww92030 · 3 months ago
Text
cube(cubecubecubecube)
23 notes · View notes
get-thee-to-a-shrubbery · 1 year ago
Text
why can't we render spheres in traditional rasterized graphics? like why do games still have to approximate a sphere with polygons? shouldn't sphere intersections and everything be simple? shouldn't it be easy to add a mathematical sphere into a scene and render it intersecting/overlapping with triangles?
89 notes · View notes
onesinglebucketoffrogs · 7 days ago
Text
The Correct Project Focus Brigade tears the door down. "Drop the keyboard ! You've been found to work on your Side Project instead of your Main One!!! Drop it!!!!" one screams. They rush inside the room lit by a lone 1440p monitor. The diminutive frog, illuminated by the light mode code editor, doesn't react. It reaches down, up from a comically tall and instable stack of chili-flavored bags of chips set on the desktop chair, and presses another key. The heavily armed officers are just too late.
Already the codebase has been cleaned. New and better abstractions implemented. Textures ? Loaded. Instancing ? Streamlined. Shaders ? Enshittified. Documentation ? Somewhat written.
One of the men, voice muffled by his balistic mask, asks: "Wait, where are the shadows ? Geometry shader ? Whattabout screen space stuff ? And sending additional textures to shaders ? Also, is the library even actually usable ? ". The frog emits a terrible sound, akin to the rasp agony of a small mammal encountering a 12 wheeler truck on the roadside. Immediately, the amphibian collapses in on itself. The poor brigade is left all alone. They split the chips.
8 notes · View notes
legoracer · 4 months ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
A closer look at an OpenGL scene found in the official "red book" programming guide, which largely features renders of LEGO bricks. This scene is also recognizable from its presence in a well known win95 screensaver.
Tumblr media
13 notes · View notes
cool-retro-term-official · 8 months ago
Text
Little ad moment. I'm not paid or anything, I just really like this library I thought I'd share.
This is fuckin huge.
Fuck electron apps loading up your 8Go of ram with a single one open, embrace real GUI in C, C++, Odin and many more to come with Clay
I'm so in love with this. It's C99 style, single header, very elegant and nice to use. Works with raylib, opengl, sdl, vulkan, and ANY OTHER RENDERING ENGINE.
Video tutorial and presentation under the cut:
youtube
18 notes · View notes
lunatealab · 11 months ago
Text
WIP: Klonoa 2 Model Viewer
super secret tumblr exclusive
The Klonoa 2 decompilation has progressed far enough to where the model rendering code has been fully matched. Here is a preview of a model viewer project that aims to reimplement Klonoa 2's model rendering effects as accurately as possible in OpenGL/WebGL. Note that the specular and outline effects have not been implemented yet.
41 notes · View notes
stomygame · 29 days ago
Text
Tumblr media
Do you ever just turn off enemies and sneak around pretending your game is a stealth game?
5 notes · View notes
memedical-attention · 1 month ago
Text
I’m learning how to write GLSL… it’s really incredible what modern GPUs are capable of in terms of SIMD. Even a mobile GPU can easily render a zooming-in Mandelbrot Set (calculated to 10,000 iterations) at a stable 60FPS! When I get home, I’ll try to write a proper Mandelbrot viewer for my desktop’s GPU using GLX. I’ve never been someone that cares much about graphics or GPUs, but… holy shit. Embarrassingly parallel problems are so much fun to turn into shaders.
4 notes · View notes
kawaoneechan · 8 months ago
Text
Tumblr media
First step is completed.
That's not a proper acre (though it is 16×16 tiles), it's just a fixed set. But still!
Next trick is to figure out which acre you're in, position-wise, draw it and the... I dunno, eight strips from the surrounding areas, with stuff like ground types and elevations.
Then add the drum distortion which can then be visualized easily, and add different models for certain tiles like cliffs and rivers.
And then I can worry about making a custom shader that lets me do ground coloration through the year, because this one is baked.
122 notes · View notes
piratesexmachine420 · 27 days ago
Text
What the hell are any of these used for
Tumblr media
5 notes · View notes
agatedragongames · 5 months ago
Text
A-star pathfinding in action
youtube
13 notes · View notes
lavendertowerarchives · 8 months ago
Text
Sometimes it takes some bullshit
Tumblr media
To make some bullshit
Tumblr media
8 notes · View notes
frog707 · 4 months ago
Text
Bisection
I've encountered several otherwise-capable software developers who apparently don't know how to use bisection to locate regressions (=bugs that were introduced recently into a software project).
The basic idea is, you identify a (recent) commit A that exhibits the bug and another (older) commit B where the bug is not present. Then you pick a commit C about halfway between A and B and determine whether the bug is present there. If it is, you pick D between C and B and repeat the process. If not, you pick D between A and C.
In this way, by running a dozen or so tests, you can often identify a single commit from among thousands. It's an example of a "divide and conquer" strategy.
I spent a pleasant half hour today using bisection to locate a 3 year-old performance regression in one of my projects. Said project has 1427 commits. Back in 2022 I added code to check for OpenGL errors. For one particular workload, those changes cut the graphics frame rate by a factor of 4.
All I need now is a simple mechanism to bypass OpenGL error checking, one that won't cause me to forget that those checks are available!
3 notes · View notes