34
Added windows to my game (cdn.toot.garden)
submitted 8 months ago by Shatur@lemmy.ml to c/bevy@programming.dev

Glad to see that you can import the model from Blender and the transparency just works. Also the index of refraction table in the Bevy docs was very helpful! All models made by my wife ๐Ÿ˜…

all 7 comments
sorted by: hot top controversial new old
[-] SorteKanin@feddit.dk 7 points 8 months ago

Okay I thought you meant windows as either like Windows (the OS) support or windows, as in the desktop element (like a windowed mode or something).

Turns out you added literal windows to a building game lol. Thanks for the laugh

[-] Shatur@lemmy.ml 2 points 8 months ago* (last edited 8 months ago)

Funny, it looks like my post accidentally turned out to be clickbait and and now it more upvoted the my other posts ๐Ÿ˜… . But I will try to put more context next time to avoid confusion.

[-] Aria@lemmygrad.ml 2 points 8 months ago

That's really smooth. The boolean and mesh don't line up perfectly so it feels like there's ghosting and that's jank, but I'm impressed by how smoothly the window moves.

[-] Shatur@lemmy.ml 2 points 8 months ago

Thanks!

Yes, I suspect that there is one frame delay somewhere, need to debug...

It's fast because it's not really a boolean operation in 3D. I treat my walls and windows/doors as 2D planes and cut out the holes in 2D. It's much cheaper. And then I convert the coordinates into 3D.

this post was submitted on 24 Feb 2024
34 points (97.2% liked)

Bevy

231 readers
1 users here now

A community for discussion around the bevy game engine! https://bevyengine.org/

founded 11 months ago
MODERATORS