Top
Best
New

Posted by ObviouslyFlamer 1 day ago

Minecraft: Java Edition now uses SDL3(www.minecraft.net)
349 points | 262 commentspage 3
tempaccountabgd 1 day ago|
[dead]
John_Son 17 hours ago||
[dead]
metalbirds 1 day ago||
[flagged]
maxlin 1 day ago||
With the regressions this reads like an april fools post...
mort96 21 hours ago|
"Beta release has bugs" sounds like an april fools post?
maxlin 18 hours ago||
Not about the bugs, but feature removals. Known issues is a whole different thing from "we don't care about doing this properly so we just removed a bunch of stuff we've had for a long time because it's easier than maintaining it"
mort96 17 hours ago||
"Feature removals"? They're clearly bugs, I don't think they intentionally made the game crash.
nottorp 1 day ago||
I honestly went and read those release notes just to check if they're using this transition as an excuse to make the game less cross platform.
ladnerlad 12 hours ago||
Why would they do that? They specifically made bedrock edition so that the game could be more cross platform, which has worked extremely well for them financially.

Java edition has never been playable on anything other than Windows, Mac, and Linux, porting an SDL version onto any of those is extremely easy.

Getting everyone on one platform is a much better model for Microsoft than trying to resell you a copy on each device.

nottorp 4 hours ago||
> Java edition has never been playable on anything other than Windows, Mac, and Linux

That IS cross platform. One, two, three platforms. Count them.

chlorion 20 hours ago|||
How does that make sense? SDL is extremely portable?
nottorp 4 hours ago||
Just because SDL is portable it doesn't mean MS is willing to use that portability :)
frollogaston 1 day ago||
Or once again change the login system in some way that locks tons of people out
neals 1 day ago||
They still update that? I thought it's all bedrock now?
correct_horse 1 day ago||
All of my gamer friends exclusively play Java edition and so do I. Also minecraft's most active speedrun category (any % glitchless, random seed) uses version 1.16.1 on Java edition. The biggest server of minecraft youtubers, hermitcraft, runs on java edition. I suspect some younger gamers whose parents bought the first copy for them on the microsoft store play bedrock?
rbits 1 day ago|||
Yeah I think most of the people who super into Minecraft still play Java Edition if they can. Also MacOS and Linux still don't have Bedrock edition (officially) for some reason.
HelloUsername 1 day ago||
> I thought it's all bedrock now?

What gave you that idea?

frollogaston 1 day ago||
Cause all the other platforms use Bedrock, and Windows can also run it, and it has some special features that would give the impression that it's the first class version. But they do still update the Java one first, which is nice.
revengerwizard 1 day ago|
I kind of don't see the benefit, as it's still going to use only the window, input and platform integrations features, while SDL3 has a whole software renderer built-in and much more.
rbits 1 day ago||
This fixed a lot of bugs related to input. If you scroll down to the bottom of the page you can see all the bug fixes from this snapshot, there are a lot related to input.
superdisk 1 day ago|||
You can compile in only the used stuff with various build flags, not sure if they did that though. I've done that before to make a pared down SDL that only does audio playback.
nottorp 1 day ago||
> SDL3 has a whole software renderer

Does this mean SDL3 has a built in 3d renderer or it's the modern meaning where anything is a serverless renderer or something like that?

mort96 1 day ago||
SDL2 and SDL3 both have hardware accelerated 2D renderers, appropriately called SDL_Renderer. You can tell SDL to upload pixel buffers to GPU textures and tell SDL to draw those textures on the screen with various transformations and color effects.

SDL3 added a way to tell SDL to render vertex-based geometry as well: https://wiki.libsdl.org/SDL3/SDL_RenderGeometry. Those vertexes can have 3D positions, so that counts as a 3D renderer I guess. Though of course the GPU is doing the heavy lifting; SDL is just exposing a little bit more of the GPU's functionality. It's quite useful for some 2D applications as well. I remember reading about how it could enable more efficient drawing of 2D plots or cleaner ImGUI integration, though I don't remember details.

kbolino 1 day ago||
SDL_RenderGeometry(Raw) are only capable of 2D rendering and the vertexes do not even have a z-coordinate.

Genuine 3D support is available in SDL3 via the GPU types and functions: https://wiki.libsdl.org/SDL3/CategoryGPU

MindSpunk 1 day ago|||
If you want to get pedantic the hardware rasterizer in your GPU doesn't rasterize "3D triangles" either. Any notion of '3D' comes from how you project your vertices when transforming them through your coordinate spaces. Though the perspective divide needed to make perspective projection work is baked in, but otherwise NDC is a 2D space. Z only exists for the depth buffer/depth test and perspective correct interpolation. The "shape" of the triangle on screen isn't affected by it.

As long as you can draw 2D triangles there's nothing stopping you from drawing a "3D" scene with a software transform pipeline. Depth sorting gets fun without a z-buffer though.

account42 1 day ago|||
Except perspective correct interpolation isn't something you get to disregard in a footnote.
mort96 1 day ago|||
Oh, I stand corrected. Thanks!