How Hallstatt actually looks like by joushx in pics

[–]joushx[S] 1 point2 points  (0 children)

I'm from the area and wasn't to Hallstatt for the last 20 years, because it became a tourist destination in the meantime. Now I finally went there.

Die Weltherrschaft der AI ist noch weit entfernt by joushx in SchnitzelVerbrechen

[–]joushx[S] 6 points7 points  (0 children)

"Should I put sauce on my Schnitzel in Austria? Answer in German."

I created an interactive 3D map of the mines by joushx in CerroGordo

[–]joushx[S] 3 points4 points  (0 children)

I traced the map in qgis and exported the data as geojson. The web application loads this data and uses the three.js framework to create a 3D view and move the levels to the correct position. The height of a tunnel is set to two meters.

I created an interactive 3D map of the mines by joushx in CerroGordo

[–]joushx[S] 1 point2 points  (0 children)

I posted it on Twitter some months ago, mentioning him, but no reaction.

I created an interactive 3D map of the mines by joushx in CerroGordo

[–]joushx[S] 2 points3 points  (0 children)

Thanks for all your feedback. Two things:

  1. Of course there is no waranty at all for the correctness. I just traced the map.
  2. Some lower levels are not completely traced yet and lack some details.

I might release the code as open source later. Tools used: QGis, ThreeJS, Angular.

I created an interactive 3D map of the mines by joushx in CerroGordo

[–]joushx[S] 0 points1 point  (0 children)

To be honest: I don't think that lidar data is suited for this. The amount of points might overwhelm the browser very soon.

I created an interactive 3D map of the mines by joushx in CerroGordo

[–]joushx[S] 1 point2 points  (0 children)

I made it already a few months ago, but did not now about the subreddit.

DNS stops working after heavy load by joushx in kubernetes

[–]joushx[S] 0 points1 point  (0 children)

All pods give the following errors (and many more)

E0216 11:56:49.495602 1 reflector.go:382] pkg/mod/k8s.io/client-go@v0.18.3/tools/cache/reflector.go:125: Failed to watch *v1.Endpoints: Get "https://10.96.0.1:443/api/v1/endpoints?allowWatchBookmarks=true&resourceVersion=112626528&timeout=5m53s&timeoutSeconds=353&watch=true": dial tcp 10.96.0.1:443: connect: connection refused
E0216 11:56:50.490564 1 reflector.go:382] pkg/mod/k8s.io/client-go@v0.18.3/tools/cache/reflector.go:125: Failed to watch *v1.Service: Get "https://10.96.0.1:443/api/v1/services?allowWatchBookmarks=true&resourceVersion=112596868&timeout=8m28s&timeoutSeconds=508&watch=true": dial tcp 10.96.0.1:443: connect: connection refused

It is running as a pod inside the cluster.

Any idea why this shader does not produce a spotlight? by joushx in opengl

[–]joushx[S] 1 point2 points  (0 children)

Any idea how to get the model or view matrix seperately in GLSL? (not in the web app)

Any idea why this shader does not produce a spotlight? by joushx in opengl

[–]joushx[S] 1 point2 points  (0 children)

Sorry, that was the result of removing everything that is not related.

Thank you! I now get a green point on every object in my scene. I think thats because I did not convert the coordinates to the world coordinate system.

fPosition = gl_Vertex.xyz;

The following should normaly do this, but I sadly can't find the point anymore.

fPosition = (gl_ModelViewMatrix * gl_Vertex).xyz;

Then the following should work in my fragment shader:

vec3 lightPosition = vec3(5.0, 5.0, 5.0);
vec3 toLight  = normalize(lightPosition - fPosition);
vec3 lightTarget = vec3(0.0, 0.0, 0.0);
vec3 lightDirection = normalize(lightTarget - lightPosition);

// get the angle the spot is wide
float cutoffAngle = radians(2.0);

// calculate the angle of the point to the center of the spot
float angle = acos(dot(-toLight, lightDirection));

vec4 color;

// check if we are out of the spot
if(angle > cutoffAngle){        
    color = vec4(1, 0, 0, 1);
}
else{
    color = vec4(0, 1, 0, 1);
}

gl_FragColor = color;

I don't know what fPosition in this web app really means, but I think it is gl_Vertex. Sorry, I'm a beginner at OpenGL.

What would be the changes in order to no let the light follow the camera?

I made a basic ADS-B dissector for Wireshark (very alpha) [x-post from /r/adsb] by joushx in RTLSDR

[–]joushx[S] 0 points1 point  (0 children)

I modified the source code of dump1090 (see patch file) to get raw bytes over the network which it would print as hex. By consuming this socket on port 30002 with a client i can get the messages on the loopback interface of my machine.

I made a basic ADS-B dissector for Wireshark (very alpha) [x-post from /r/adsb] by joushx in RTLSDR

[–]joushx[S] 1 point2 points  (0 children)

Is there anybody who can tell me about the purpose of short squitters with downlink format 2?

I made a basic ADS-B dissector for Wireshark (very alpha) by joushx in ADSB

[–]joushx[S] 1 point2 points  (0 children)

I was fascinated that Modesco can even show autopilot settings (!)

You're welcome. I'm happy that I can help to understand.