Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hvidevold
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
hvidevold
8y ago
The models have about 1k triangles each. The code is optimized to scale to many units (racers), but the initial rendering cost of instancing with pre-rendered animation skeleton may be high I suspect, so it may be slow for few units on old
32.
▲
by
hvidevold
8y ago
Maybe it's a problem with mesh instancing as it is used for the racers but not the giant ones in the middle. Do you get any errors?
33.
▲
by
hvidevold
8y ago
Hehe.. Any errors in JS console?
34.
▲
by
hvidevold
8y ago
Now you can try http://emh.lart.no/publish/csb/csb3d/vWreckingBall/ it's a slightly interactive version with a wrecking ball you can move with the mouse to mess with the racers :)
35.
▲
by
hvidevold
8y ago
Ok try http://emh.lart.no/publish/csb/csb3d/vWreckingBall/ it's a quick hack to give you at least a wrecking ball to mess with the racers :)
36.
▲
by
hvidevold
8y ago
Okay sorry to disappoint but there are no controls (not yet at least). It's automatic as it says in the title. Maybe I should have called it a "demo" instead of a "game" :) . It started as a model viewer and then I
37.
▲
by
hvidevold
8y ago
Ah hahaha they are just two types of racing pods :) . There is no car/rider classification. For my personal version I can use all Starcraft 2 units as racing pods, the dragon and the binocular pod are just a couple of free ones I found
38.
▲
by
hvidevold
8y ago
Well the transparent blue spheres are checkpoints and the units have to pass through them. There is physics for collisions and the pods turn and accelerate towards the checkpoints. They go from one to the next. The race is infinite though i
39.
▲
by
hvidevold
8y ago
Thanks :)
40.
▲
by
hvidevold
8y ago
You don't. It's automatic :)
41.
▲
by
hvidevold
8y ago
Should work at 6 FPS even on iPhone 5C, but if you are on a RTX 2080 Ti try http://emh.lart.no/publish/csb/csb3d/v1/?dupCount=1000&swarm... for 20k units, or more if you're adventurous. I'm
42.
▲
Show HN: Little Automatic Racing Game in WebGL with Three.js and Oimo.js
(emh.lart.no)
37 points
by
hvidevold
8y ago
|
27 comments
43.
▲
Show HN: 144Hz 2560x1440 Video Sample (Starcraft 2 Rain)
(emh.lart.no)
1 points
by
hvidevold
8y ago
|
0 comments
44.
▲
Show HN: WebGL Imperial March
(emh.lart.no)
2 points
by
hvidevold
8y ago
|
0 comments
45.
▲
by
hvidevold
8y ago
Version 2 with caustics: http://emh.lart.no/publish/tda-wasm/v2/
46.
▲
Show HN: WebAssembly WebGL2 Underwater Lights in C++
(emh.lart.no)
4 points
by
hvidevold
8y ago
|
1 comments
47.
▲
Show HN: WebGL Walk the Dinosaur
(output.jsbin.com)
5 points
by
hvidevold
8y ago
|
0 comments
48.
▲
Show HN: JavaScript to ReasonML transpiler hack
(github.com)
12 points
by
hvidevold
9y ago
|
0 comments
49.
▲
by
hvidevold
9y ago
No that's not expected. Probably a bug.
50.
▲
by
hvidevold
9y ago
Not all the controls do something. I have an issue on the repository to remove unused ones.
51.
▲
by
hvidevold
9y ago
That's definitely a bug. Hmm.. I don't know why it would be. Which OS? I would be happy if you could profile the javascript to see what is up with that, but should be on a dev build. Open an issue at https://github.com&
52.
▲
by
hvidevold
9y ago
This is true. I forgot about it. I added an issue on the repository. Thanks!
53.
▲
by
hvidevold
9y ago
No I haven't tested on any mobile platforms. It's targeted at desktop.
54.
▲
by
hvidevold
9y ago
I checked the specs comparison at ( https://www.videocardbenchmark.net/compare.php?cmp%5B%5D=262... ) and it says my card is about 4 times beefier than yours even if it is a year older, so maybe 30 FPS is expected. Thanks for
55.
▲
by
hvidevold
9y ago
Author here. Are you getting any warnings? Does it say it is using WebGL 1 or 2 on the left side? I am getting 60 FPS on Windows Chrome 64 with WebGL 2 on a 5 year old Radeon 7870 and it's mostly idle. I have implemented fallback to We
56.
▲
Show HN: WebGL Demo in ReasonML
(emnh.github.io)
74 points
by
hvidevold
9y ago
|
40 comments
57.
▲
Show HN: Blog about Real-Time Strategy Game in ClojureScript and WebGL
(emnh.github.io)
7 points
by
hvidevold
9y ago
|
0 comments
58.
▲
by
hvidevold
10y ago
Thanks! :)
59.
▲
Show HN: Animated Tree in ClojureScript and WebGL
(youtube.com)
5 points
by
hvidevold
10y ago
|
2 comments
60.
▲
Show HN: WebGL Voxel Explosions
(emnh.github.io)
1 points
by
hvidevold
10y ago
|
0 comments
More ›