Загрузка видео...

Не удалось загрузить видео

На главную

making my threejs / webgpu star renderer (planetarium?) more of a real thing. renders 44 million stars from the gaia star catalog at 120 fps. there's no LOD/culling. every star in frame is drawn. next is adding a nice API for agents to write "tours" that play automatically

40,775 просмотров • 5 месяцев назад •via X (Twitter)

Комментарии: 44

Фото профиля 𝑫𝒂𝒏𝒊𝒆𝒍 𝑺𝒄𝒐𝒕𝒕 𝑴𝒂𝒕𝒕𝒉𝒆𝒘𝒔 🇦🇺
𝑫𝒂𝒏𝒊𝒆𝒍 𝑺𝒄𝒐𝒕𝒕 𝑴𝒂𝒕𝒕𝒉𝒆𝒘𝒔 🇦🇺5 месяцев назад

Have you ever played this game?

Фото профиля Codetaur
Codetaur5 месяцев назад

hmm it looks pretty familiar but I'm not sure. I've played a lot of these escape-velocity-likes

Фото профиля Aaron Green
Aaron Green5 месяцев назад

could a ceiling projector be made?? for sleeping at night

Фото профиля Codetaur
Codetaur5 месяцев назад

I do think this would work pretty well for that.

Фото профиля Aaron Green
Aaron Green5 месяцев назад

its just so cool... im imagining a phone linked to a projector that points at ceiling. limitless fun basically

Фото профиля Jonathan 🇺🇲
Jonathan 🇺🇲5 месяцев назад

I don't understand how 44m stars can be rendered in, even as dots lol. Hmm. Maybe mine is slow because of origin shifting causing performance to dip, idk.

Фото профиля Paulo Samurai
Paulo Samurai5 месяцев назад

Crazy stuff Maybe this is what astral projection feels like

Фото профиля Pasheko
Pasheko5 месяцев назад

Why does mine run at 30 fps with minimum star quantity

Фото профиля Codetaur
Codetaur5 месяцев назад

smol gpu?

Фото профиля Pasheko
Pasheko5 месяцев назад

🥲

Фото профиля Chandler Powell
Chandler Powell5 месяцев назад

At this point, just make a port of star citizen. Very cool work!

Фото профиля Shadriarty
Shadriarty5 месяцев назад

It gets oversaturated when zoomed out. Are you familiar with datashader? It's Python's lib but worth checking out. It also supports interactive rendering of large datasets (hundreds of millions to billions)

Фото профиля Peter McNeeley
Peter McNeeley5 месяцев назад

It would be more impressive if there was LOD or culling.

Фото профиля Codetaur
Codetaur5 месяцев назад

well that's definitely not true. it would be trivial to add. it's even already there in the form of a slider. but tying it to zoom level would defeat the point of the entire project

Фото профиля Tiger Abrodi
Tiger Abrodi5 месяцев назад

wow

Фото профиля McMeddon🌻
McMeddon🌻5 месяцев назад

woa OoO

Фото профиля Charmhole
Charmhole5 месяцев назад

dyson sphere program.......

Фото профиля Starteller 🍵🎧🔧🐔
Starteller 🍵🎧🔧🐔5 месяцев назад

Jesus, nice

Фото профиля 180 treehouse
180 treehouse5 месяцев назад

javascript users discover gpu instancing

Фото профиля ᚢᛁᚦᛋᛏᛁᚴᚱ
ᚢᛁᚦᛋᛏᛁᚴᚱ5 месяцев назад

Very cool! You should add the extinction maps as well.

Фото профиля Codetaur
Codetaur5 месяцев назад

this kind of has them built in. the gaia luminosity is based on how they look from earth, so the dust is basically baked into the gaia data

Фото профиля Aaron Green
Aaron Green5 месяцев назад

wow

Фото профиля Jero
Jero5 месяцев назад

bro amazing

Фото профиля get to the point
get to the point5 месяцев назад

that's a whole lotta stars O _ O

Фото профиля Calliagh
Calliagh5 месяцев назад

very like, thank you

Фото профиля twituje1
twituje15 месяцев назад

are there aliens?

Фото профиля Henry Ventura
Henry Ventura5 месяцев назад

holy shit dude WHAT

Фото профиля BoogerCheeseOnRye DeepFried
BoogerCheeseOnRye DeepFried5 месяцев назад

The fuck? No culling? O.O Okay....actually...hold on...that sounds like a great concept. I'm gonna go read up on how to just avoid culling now...thanks...I needed something to do.

Фото профиля Frog of Future Past
Frog of Future Past5 месяцев назад

This is very cool

Фото профиля Erick Holz
Erick Holz5 месяцев назад

Incredible.

Фото профиля A Pale Blue Dot
A Pale Blue Dot5 месяцев назад

is the luminosity varied by the zoom out distance?

Фото профиля Codetaur
Codetaur5 месяцев назад

there's an attempt to automatically keep brightness "good" based on number of stars and fov but it's hard to do perfectly

Фото профиля A Pale Blue Dot
A Pale Blue Dot5 месяцев назад

cool! is it one of the approximations/hacks that lets you run this with very minimal hardware?

Фото профиля Codetaur
Codetaur5 месяцев назад

it doesn't really reduce the cost, since it just lowers the brightness for each star. I'm not even sure how this runs on minimal hardware, I've only tested it on a 4090 and mobile 3070. the efficiency mostly comes from splatting

Фото профиля A Pale Blue Dot
A Pale Blue Dot5 месяцев назад

just ran it on my old laptop with 1050Ti wouldn't go higher than 7-8 fps

Фото профиля Codetaur
Codetaur5 месяцев назад

how does something like this run on the 1050?

Фото профиля A Pale Blue Dot
A Pale Blue Dot5 месяцев назад

i see nothing. am i doing something wrong?

Фото профиля Codetaur
Codetaur5 месяцев назад

na I think it's just an old gpu that probably lacks support for some data type used in the example. I was just curious how it performed on an official example for comparison

Фото профиля Pasheko
Pasheko5 месяцев назад

this doesnt look good

Фото профиля Leo Dutra
Leo Dutra5 месяцев назад

Why do some quadrants look like Elite Dangerous' galaxy map?

Фото профиля Pasheko
Pasheko5 месяцев назад

were all so worthless

Фото профиля Furheir Purrdolf Mewtler
Furheir Purrdolf Mewtler5 месяцев назад

So cool

Фото профиля Basil Jackson
Basil Jackson5 месяцев назад

Cool!

Фото профиля Gabriele Berselli
Gabriele Berselli5 месяцев назад

"there is no LOD/culling" is not something I will brag about, not even in a bar

Похожие видео