Тёмный

Godot Marching Cube Triplanar Mapping Demo 

jupiterbjy
Подписаться 179
Просмотров 185
50% 1

Took some time to learn Triplanar, and gosh it took quite a time due to me not finding that I multiplied 3x3 INV_VIEW_MATRIX to VERTEX, loosing position data.
Just used noise texture to make it dirt-looking for my another hobby game project - but for tutorial stripped version will have simple R/G/B colored texture instead.
---
Some Rambles 1
So far as shown on FPS indicator, it's only using single core and it's intended - will have each chunk done by separate thread rather than dividing single chunk into multiple thread task, as:
A. Thread spawning is costly in windows, so we have to keep it like some kind of pool.
B. such pool structure makes intuitive understanding of algorithm and debugging hard.
C. Mesh / Collision shape requires entire verts, so then it induces overhead waiting for other thread being unable to feeding SurfaceTool already generated vertices in order unless having even more complex logic.
D. I'm thinking about digging game which terrain deform is frequent. In such case large chunks are way too costly to regenerate entire mesh every time.
E. Large Chunk also means larger AABB, so view frustrum ain't having fun time with it, drawing entire section despite majority of section not visible.
F. Compute shaders are decent but gpu not rendering but calculating while way more CPU cores we have not utilized sounds bad.
So TL;DR I choose to utilize high core count of modern CPUs and avoid Issue B, C, D, E by having slightly more optimized single threaded chunk generations solely for height-width tied small chunks.
---
Some Rambles 2
Previous project with realistic RCS and Thrust vectoring space thing is in stall right now, as I couldn't find way to make it fun in plan-level. Will reuse it's stuff in this mining oriented game first, and will see if I can improve upon that.
Honestly I was partially making that game so I can let user 'save' their ship AI once game's complete, so you can have her as not-so-useful LLM assistant in desktop. Yup kinda like Cortana thing. Wonder if I can squeeze that concept in this other game before others do it..
---
Soundtrack: Karl Casey, White Bat XII - Dimensions

Игры

Опубликовано:

 

5 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@SpaceGuyFalcon
@SpaceGuyFalcon Месяц назад
This stuff is always so cool
@jupiterbjy
@jupiterbjy Месяц назад
Actually normal implementation there is wrong, but Idk how to fix that lmao Asked on reddit but nothing yet
Далее
Giving Personality to Procedural Animations using Math
15:30
ЭТО мне КУПИЛИ ПОДПИСЧИКИ 📦
22:33
Making an atomic trampoline
58:01
Просмотров 5 млн
Why Doom is Awesome: Binary Space Partitioning
26:25
Просмотров 1,1 млн
Godot 4 - My Showcase
5:22
Просмотров 244 тыс.
Godot Marching Cube Demo
1:32
Просмотров 306