KDC1 in KDC2
A few highlights riding through the old map and exploring the church.
Still lots to fix, but pretty cool seeing it running in KDC2.
SamG retweeted
t=0;h=.01;f=210
draw=_=>{t++||createCanvas(W=800,W,WEBGL)+noStroke()
rotate(t/30,[0,x=y=z=1,0]);background(0)
for(k=1e4;k--;){[x,y,z]=[x+((z-.7)*x-3.5*y)*h,y+(3.5*x+(z-.7)*y)*h,z+(.6+.95*z-z**3/3-(x*x+y*y)*(1+.25*z)+.1*z*x**3)*h];
push();translate(f*x,f*z-90,f*y);pop(box(2))}}
Spent pretty much all day trying to optimise the rendering and get rid of the hitches when moving around the world. 😂
Ended up changing how vegetation is streamed, reusing GPU resources, reducing shader compilation and even patching parts of Three.js to cut down unnecessary allocations.
Also changed how the world is generated, with proper watersheds, rivers and more natural forests.
Still getting some frame spikes, so not quite there yet haha.
All running in the browser using WebGPU.
github.com/SamG-Coder/BakedV…
Replying to @josephofiowa
Literally just screenshotted.
Using the Web Chat?
What more do you want
Replying to @BreezeOg1
@grok go through the code to find out where the remaining hitches are from
KCD1 -> KCD2
Decided to take a ride around Rattay at night. 😄
Actually, quite nice just riding through the empty streets with the torches lighting everything up haha.
Replying to @elonmusk @zephyr_z9
I think Robots RAM on Mars will exceed everything on earth.
Replying to @BenCarrollMP
@grok under labour has hospital beds kept up with immigration since 1993
Replying to @BenCarrollMP
@grok how many beds per person in 1993 compared to now. In Victoria
Been working on this. 16km² in the browser: Three.js/WebGPU, voxel baking, cached HLOD, paged GPU uploads + stale-job cancellation.
Live day/night walk. Still sorting streaming hitches.
Try it: samg-coder.github.io/BakedVo…
Code: github.com/SamG-Coder/BakedV…
SamG retweeted
Dragon Ball game update coming along well. Bulma is here with capsule no. 9! Also, Dragon Ball: Beerus is looking insane rn.
Play here: app.usecrayon.ai/play/3a9001…
Replying to @catalinstoian78 @Jorgel8v4
I think I am only using the Modding Tools for Compiling the new shaders as it is required when loading the Retail version of the Game.
I can have a look at a way to compile without it. but not sure what is involved.




