Archive
Archive / 3D

Stenen i 3D

Nerd facts

How it loads

Stenen i 3D

How the 3D model, point cloud, image and video on this page load.

3D models

Most models here come from photogrammetry: overlapping photos solved into a textured mesh. The browser gets GLB files, rendered posters, lighter and fuller model choices, saved camera framing, and source-format notes where they matter.

Texture compression is treated as real delivery proof, not a label. If a model has ordinary WebP textures, it is described that way until an actual KTX2/BasisU asset exists and is served correctly.

Point clouds

A point cloud is a 3D scene made from many individual points, often with colour, rather than a solid surface. It is closer to a floating swarm of measured dots than a normal 3D model.

PLY is one common source file format for that kind of data. Public viewing works better when the cloud is converted into streamable tiles, because the browser can load nearby detail instead of swallowing one huge raw file.

Photos

Photos are not just one resized JPEG. A good source can become AVIF, WebP, and JPEG fallbacks across several widths, with a tiny placeholder so the layout is stable before the real image arrives.

Some images also keep richer variants such as wide-gamut or deep-colour AVIF. Those stay separate from the everyday fallback path, because a phone screen, a desktop display, and an old browser do not deserve the same file.

Video

Video keeps a plain MP4 path because that is still the boring thing that works. Some posts also ship a DASH package, but it stays behind the media settings player switch instead of becoming the default public browse path.

The page treats a video poster as browse material and the player as an inspect step. That keeps a grid of clips from behaving like every card secretly wants to download a movie, while leaving room for adaptive segment playback when you ask for it.

Why the variants exist

Browsers, screens, networks, and media types do not agree on one perfect file. The page stays simple, while the saved asset details keep source kind, quality level, preview confidence, dimensions, format, and fallback intent.

Each asset gets the special handling it needs. The goal is not to show off file formats; it is to make the page choose the right thing quietly, then explain the machinery only when you ask.

Mer fotogrammetri. Med mystisk matematik och en massa foton.

Mer fotogrammetri.

Med hjälp av mystisk matematik och en massa foton så kan man återskapa föremål digitalt i 3D. Stenen nedan är ganska simpel och var ett av mina första försök. En gammal maskin med väldigt komplexa former och geometrier blev ett senare projekt.

Genom att analysera detaljer från foton med olika vinklar så kan man räkna ut var punkter befinner sig i relation till varandra och kameran i tre dimensioner. Man bygger upp ett så kallat punktmoln och kan därefter skapa en mesh och med hjälp av bilderna generera en realistisk textur. Genom att mata in koordinater från t. ex GPS, sensordata (lutning, rotation osv) från kamera, fysiska mått och annat så kan man öka precisionen och utöka användningsområdena från ensiffrigt coola till tresiffrigt episka.

Uppdatering: de nyare stenvarianterna och punktmolnet bor här nu. Gravstenen fick en egen jämförelse, eftersom sten och Stone uppenbarligen var en usel namngivningsstrategi.

3D quality · Light · 1.9 MB · Base color
3D quality · Light · 1.9 MB · Base color

Related

Similar thread
Different angle
From the archive