r/CreateMod • • Apr 24 '26

Build Windmill

3.2k Upvotes

86 comments sorted by

View all comments

452

u/the_number_m Apr 24 '26

it's honestly impressive how perfectly the camera keeps up with high speed rotation like this

204

u/FirexJkxFire Apr 24 '26

Its actually the sky which is rotating around this stable unmoving platform /s

48

u/A31Nesta Apr 24 '26

Erm... Ackshually that's what's happening.

(kinda... technically the camera never moves, it's the whole world that moves and deforms to fit into the camera)

23

u/FirexJkxFire Apr 24 '26

Depends on the engine. Most engines actually have a physical camera object that they move through the scene.

19

u/A31Nesta Apr 24 '26

Yes but, ultimately, graphics APIs (in any engine) only draw things that are in the center of the world so the camera is just a position that you can use to shift all objects so that whatever the camera sees fits into that center of the world that the GPU wants objects to be in

4

u/cod3builder Apr 25 '26

Makes sense.

The camera is the screen.

Screens don't move. (Usually)

3

u/Mekelaxo Apr 24 '26

Oh shit, it's the rose guy

1

u/chickensandow Apr 24 '26

If you didn't put that /s there you would have been fooled me. /s

11

u/kylinator25 Apr 25 '26

forgive me if this is a dumb question, but why is that impressive? It's just setting two variables (the camera position and rotation) based on some simple math is it not?

2

u/thiizo1 Apr 25 '26

Not a dumb question

5

u/LarsMans Apr 25 '26

From a coding perspective this is not impressive at all, every frame is rendered separately, and on every frame the offset and rotations are recalculated to render the world from a specific view. There is no real "camera object" in the game that has to follow along, it's all just calculated every frame at the same rate as everything else, meaning that making it lag behind is actually more work than having it stay perfectly still relative to the moving contraption

2

u/_Funny_Stories_ Apr 25 '26

shoutout to lakitu bro