Better HN
topnewbestaskshowjobs
Log inSign up

tehsauce

1,636 karma · joined Dec 10, 2016 (9y ago) · 422 submissions

https//github.com/PWhiddy
Submissions

comment 7y ago · link · parent

There are two-pass approaches that do this, such as photon mapping. In the first stage, light is emitted from light sources and allowed to to scatter throughout the scene, and each "hit" of a photon on a medium is stored in a large data structure. Then in the second pass rays are traced out from the camera, and on each medium the ray intersects, nearby "hits" are used to estimate the light coming from that spot. This produces effects like caustics efficiently.

comment 7y ago · link · parent

Ray-tracing does not necessarily mean rays are cast from the light source.

comment 7y ago · link · parent

Rocket lab's Rutherford engine uses a closed cycle with battery powered fuel pumps. They were actually to fly an engine like this in their "electron" rocket, as early as 2017. https://en.m.wikipedia.org/wiki/Rutherford_(rocket_engine)

comment 7y ago · link · parent

Pretty cool! Excited for the day GANs produce something more meaningful though. I hope that after enough misfires like this eventually someone will produce art that is compelling on its own, without being carried by the "ai" label.

comment 7y ago · link · parent

Thanks for sharing!

comment 7y ago · link · parent

Integrated gpus are almost exactly that, minus the x86 part. A very high number of x86 cores would take a ton of chips space and generate a lot of heat.

comment 7y ago · link · parent

That's true and it's terrible. But they are not building actual weapons that kill people. That's worth something.

comment 7y ago · link · parent

Love the use of compute shaders and interactivity! If anyone's interested, here's a very concise high-fidelity (3D with a volumetric renderer) fluid simulation I implemented in cuda. No frills (600 LOC), but pretty pictures! https://github.com/PWhiddy/Fat-Clouds/blob/master/README.md

comment 7y ago · link · parent

A couple years ago I made very minimal game engine that allowed simple objects to be intersected with SDFs for physics, a bit similar to this. It also had some other cool ideas in it like 3d portals and gravity-bent rays of light. This is the old version with pictures in the readme https://github.com/PWhiddy/Raymarch-Engine And here is a version with no pictures in the readme but an actual build system (if you want to try it out) https://github.com/PWhiddy/time

comment 8y ago · link · parent

This looks awesome, and makes me wonder if anyone done any real-time graphics experiments with Julia? With this great AD and gpu support, I would love to try using this on some graphics applications!

comment 8y ago · link · parent

Isn't paying for popularity the basis of advertising?

comment 8y ago · link · parent

What is the state of expanding GPU programming APIs in the browser? Seems that one of the biggest factors holding back the development of media applications for photo/video editing, games is a lack of a modern graphics api and first class GPGPU support. A while ago there was momentum towards webGPU and webVulcan but these projects seemed to have quieted down. We did get Webgl 2.0 but there is still tons of room for improvement and much to be gained!

comment 8y ago · link · parent

Learning to write raymarchers on shadertoy.com! It's a wonderful platform for gpu programming because you'll spend 100% of your time writing gpu code and 0% on installation, drivers, and build systems.

comment 8y ago · link · parent

It's wrong but how is it the company's fault? It is the government's responsibility to set a minimum wage. How come the blame doesn't fall on the policy makers and lobbyists?

comment 8y ago · link · parent

Does anyone know how these things actually learn? I saw something in the article like "data passes over the network and creates reinforcement" but how well does this work, and how?

comment 8y ago · link · parent

Thanks for this explanation, always wondered this!

comment 8y ago · link · parent

I think calling this "equivalent to a palm pilot" is a stretch. The palm pilot was an successful consumer product that was obviously useful and easily improved on. Current AR offerings like magic leap and hololens are super cool, but nothing close to useful. The fact they are labeled as "development kits" makes this pretty clear. AR/VR is going to have a much rockier road to usefulness than smartphones, which are really hard to beat.

comment 8y ago · link · parent

Make sure to try commenting out the first two lines to see if your computer can compile the atmospheric scattering!

349.

[SH18] Humanity(shadertoy.com ↗)

1 points · by tehsauce · 8y ago · 1 comment

comment 8y ago · link · parent

For a research organization openai sure seems to be putting a lot of effort into PR. Beating players using a subset of the game is impressive but there is no mention whatsoever of the fact that only a subset of the game is allowed. The research is cool by itself, why do they feel the need to promote so heavily that the AI is beating human players "in the first 17 minutes of" rather than giving a realistic picture of their progress. This is how you create an AI winter.

comment 8y ago · link · parent

If anyone wants to play with a 4D toy right now in their web browser, here is an interactive tesseract (4d cube) that I built. http://transdimensional.xyz It doesn't have physics but features a novel interface that I designed to help build an intuition about different rotations. (There are six axes of rotation in 4 dimensions)

comment 8y ago · link · parent

Really cool project! This is a wonderful way to approach a problem. Before thinking too hard about it, cleverly applying the brute strength of the machine and saving a lot of work. I'd read more posts like this

comment 8y ago · link · parent

These DSLs for high performance parallel computing based on purely functional algorithm descriptions are very exciting- halide and accelerate are similar projects. I can see as the demand for writing parallel, portable code increases technology like these becoming essential tools.

comment 8y ago · link · parent

Those are the competitors in spaces that facebook is currently invading, not its core

355.

Migrate from GitHub to GitLab(docs.gitlab.com ↗)

111 points · by tehsauce · 8y ago · 10 comments

comment 8y ago · link · parent

A really nice video with animations of various scheduling approaches for these types of linear algebra algorithms: https://youtu.be/3uiEyEKji0M

comment 8y ago · link · parent

The spooky thing that this made me realize, is that if anyone did find a vulnerability in bitcoin (or any cryptocurrency) is that they would have a greater incentive to only slowly leech off the system, because they will be able to siphon out much more over time than if everyone panics over security. The weapon is no good unless it's secret.

comment 8y ago · link · parent

Taking a moment here to ponder the design of the webpage. If that style was the result of an amateur at an unsexy company, I'd imagine this would be considered "ugly" or "uninspired". Knowing its the product of a hip young company however one might label it "bold" or even "innovative". Reminds me of fashion, where the only difference between a person wearing goofy clothes and a model is everything besides the clothes themselves.

comment 8y ago · link · parent

There are some nice real-time implementations of smoothlife on shadertoy as well! https://www.shadertoy.com/view/Msy3RD
1
1112131415