Better HN
topnewbestaskshowjobs
Log inSign up

bhouston

21,227 karma · joined Apr 15, 2013 (13y ago) · 5,056 submissions

https://ben3d.ca/about
Submissions

1.

Enhancing Slop New York's ThreeJS-Based Lighting(ben3d.ca ↗)

1 points · by bhouston · 2h ago · discuss

comment 4d ago · link · parent

> LLMs are integrated into a bunch of software

I should have restricted it to the fields that have been impacted and have seen significant adoption: art for commercial purposes, writing, software development and mathematics primarily, and those adjacent to those fields. It is true that most other fields have not really felt that many effects.

comment 4d ago · link · parent

> I believe it was originally used to describe the sci-fi concept of a human gestalt consciousness,

Huh? The term itself was introduced by Vernor Vinge to refer to the accelerated rate of change as a result of the introduction of super-intelligence. He said it would make things harder to predict in the future. It is part of this article:

https://en.wikipedia.org/wiki/Technological_singularity

It was never about "consciousness".

comment 4d ago · link · parent

> we can't just wait a while and have actual proof

I am not pushing you to do anything. I am not asking you to "believe" or anything. But we are, in my and many other's estimations, in the midst of what was called the "singularity" in AI communities, although it isn't a true mathematical singularity, it is just a strong acceleration.

comment 4d ago · link · parent

> My thoughts remain the same since I've been hearing "months or a year" for the past 5 years.

If you zoom into any curve it tends to look linear. I think that is what you keep doing. But if you look at the world as how it was 5 years ago compared to now, there is no denying there is a massive change.

6.

In historic first, UN top court rules a country [Myanmar] committed genocide(cnn.com ↗)

5 points · by bhouston · 4d ago · 5 comments

7.

Myanmar committed genocide against Rohingya minority, top court rules(theguardian.com ↗)

4 points · by bhouston · 4d ago · discuss

comment 4d ago · link · parent

> Mostly because of SoC designs and dedicated/specialized compute units and versatile instructionsets yadda yadda

Very true.

comment 4d ago · link · parent

> You made the claim and refuse to back it up.

I didn't make this claim that he wants me to prove:

> "Does it, or is that because of the large caches and memory bandwidth?"

He made that claim, not me.

The fact that single core performance has been improving consistently in a compounding fashion in the Apple series of M and A chips is a historical fact.

comment 4d ago · link · parent

> Does it, or is that because of the large caches and memory bandwidth? Honest question.

The burden to prove your "honest question" claim is on you, not me.

CPUs are incredibly complex and many things contribute to sustained improved performance year over year. To simplify it to just one or two things is showing a lack of understanding of the topic.

comment 4d ago · link · parent

> Moreover, single-core CPU performance has largely stalled since the early 2000s, pushing people towards large multicore CPUs such as Intel Xeon, AMD Zen, and NVIDIA Vera.

Huh? Have you tried the Apple's A + M-series of processors? It has dramatically improved performance and tends to increase single core around 15% per year and it compounds.

The drive towards multi-core architectures is real but it isn't because single core performance has stalled, it is that we want to scale faster than single core performance increases.

These are basic facts that this article is getting wrong. How many more basic errors are in this?

comment 6d ago · link · parent

That is a gaussian splat from a real strawberry. Not related.

comment 6d ago · link · parent

I have no clue what the context is.

Is this an interactive strawberry in ThreeJS? Or an add-on to Unity or Blender?

Where is the add-on, or the video or the interactive demo? This skips all of that.

comment 1w ago · link · parent

Or the increased use of AI agent coding.

comment 1w ago · link · parent

There is a lot of things going down.

I think the opportunity right now where we have powerful AI hacking systems but not enough protections is to establish long-term presence in all networks of interest. Not bring them down.

comment 1w ago · link · parent

> this is ai psychosis

That is an unsupported claim. For it to be ai psychosis it would have to be disconnected from reality and not work. But if it does work and it is grounded in reality, then it is just AI-assisted work.

comment 1w ago · link · parent

Or one can view oneself as part of a system: https://en.wikipedia.org/wiki/Extended_mind_thesis / https://en.wikipedia.org/wiki/Intelligence_amplification

comment 1w ago · link · parent

> How do you do translucency?

While a fun technical challenge, in games you just render translucency last and back to front. You can add some distortion when you render it by reading the beauty.

ThreeJS supports OIT but it costs a lot and unless you are doing specialty visualization, it isn't worth it: https://threejs.org/examples/?q=transp#webgpu_oit

> How do are large scenes lit and shadowed without a cost of O(objects x lights)?

I guess you could do clustered forward lighting. That can be added on top of this work. There is some work on that in ThreeJS.

I am proposing in this work to do light baking for GI, and then normal lights at run-time. I am not actually specifying how you do your GI bake (Ray Radiosity is the best engine in ThreeJS right now) or how you do your run-time lights.

Those are orthogonal to the design of this lighting pipeline.

comment 1w ago · link · parent

> If you do not use libraries LLMs will spent extraorbitant amount of tokens

Which is a bit of a perverse incentive for LLMs to avoid library usage unless you tell them to. :)

comment 1w ago · link · parent

WebGPU, which is the main API Three.js runs on, does not expose ray tracing at this time. Trying to emulate raytracing via compute shaders is possible but it is too slow to be usable on the majority of the devices. I am trying to make a solution that works on the majority of devices, see:

https://ben3d.ca/blog/how-aaa-games-light-indoor-scenes

https://ben3d.ca/blog/aaa-quality-on-a-web-budget

comment 1w ago · link · parent

Many of the ThreeJS PRs linked usually have live demos in them:

https://github.com/mrdoob/three.js/pull/34944 https://github.com/mrdoob/three.js/pull/34991 https://github.com/mrdoob/three.js/pull/35480 https://github.com/mrdoob/three.js/pull/35052 https://github.com/mrdoob/three.js/pull/35174 https://github.com/mrdoob/three.js/pull/35430 https://github.com/mrdoob/three.js/pull/35429 https://github.com/bhouston/three.js/pull/171

But the full payoff will be in a couple weeks time as everything lands and some of the more complex ones that tie everything together land.

comment 1w ago · link · parent

> ...then why post it to HN?

It was upvoted, thus I guess it was accepted by HN none the less. Most posts are not.

comment 1w ago · link · parent

I think that some people value their "voice", and others just "get things done." And by "get things done" I mean I am an engineer and create things. That is what I value. Everyone is different and I am not going to argue your values are wrong.

comment 1w ago · link · parent

My answer to this is simple. Libraries are stores of knowledge / optimization in the end. Yes, an LLM could write everything from the OS up to the application, but that is wasteful in terms of tokens. If you want something be done fast that is not trivial, it makes sense to lean on a library that already does the basics well. And just built your unique aspect on top.

Who wants to re-write a glTF importer, a SSR algorithm, a UV unwrapped, a proper BRDF, etc. That can cost a lot of tokens. Might as well just bring that in and built on top of it your differentiator.

That said, inefficiencies in ThreeJS can come back to bite it long-term. It should aim to get simpler and faster.

I've written about this here: https://ben3d.ca/blog/coding-agents-underestimate-the-cost-o...

comment 1w ago · link · parent

> how do you think it compares to babylon? i am finding its support with stuff like babylon-react more robust than plain three.js

Babylon is great! If you like Babylon-react you may also like React three fiber, which is what Babylon-react was inspired by. I especially like the approach used by Babylon-lite. I would think a three-lite in the future would be amazing, but it is API breaking of course.

comment 1w ago · link · parent

> That's great. We'd like to hear what you have to say. Not your thoughts shredded by the woodchipper teeth of an LLM.

I have written introductions to new features when they have landed, such as this https://ben3d.ca/blog/how-to-use-threejs-native-gaussian-spl..., but this current project is more of a technical justification, tracker, and guide for a major reworking of how ThreeJS does interior rendering that is in-progress. It is more for 3D nerds and ThreeJS contributors/maintainers so that they can understand the larger perspective behind the PRs I am submitting.

comment 1w ago · link · parent

> If you intend no-one to use what you built except for LLMs, this is fine.

This is a plan for moving ThreeJS towards this new pipeline. It isn't intended for teaching new people how to use ThreeJS in this area, rather it is a detailed and specific implementation plan, intended to be read by fellow computer graphics people, with justifications, that is half way towards being realized. It isn't intended for ThreeJS users to actually use this plan. It is intended to talk to other ThreeJS contributors/maintainers and other 3D experts so they can understand what is being done, and why. So that people can make sense of the stream of PRs I have been submitting.

comment 1w ago · link · parent

I replied to his claim I wasn't improving ThreeJS. But you mean this part:

> this is almost pure slop and you may as well have just posted the prompt you used to generate it instead

The blog posts references dozens of PRs that I have made, many of which are accepted. It isn't just a random plan created by a single prompt but over 400 hrs of focused work. It was distilled by AI true, but it is a large project that is hard to keep track otherwise for one person. I have to jump from the high level plan down to specific implementation details, profiling, and memory usage while maintain backwards compatibility in each of these PRs to get them accepted.

comment 1w ago · link · parent

> trying to achieve AAA graphics in a javascript ecosystem seems a little odd to me

It is quite possible in the way I outline in the post. I have everything prototyped and working, it is mostly just about getting it into ThreeJS in an incremental way that also respects maintainers wishes. It really isn't that much code, mostly reworking what ThreeJS has and replacing the parts that are problematic.

comment 1w ago · link · parent

> there are outstanding requests for just examples, documentation, and/or test coverage of SSR, GI, reflection,

I am redoing SSR in fashion - my full analysis has identified that it is pretty broken:

https://ben3d.ca/series/fixing-threejs-ssr

To be clear this AAA quest project is to fix GI, SSR and integrate it with reflection and diffuse probes along with light baking - that is what I am doing. It is a large task but I've made a lot of progress already and nearly every feature is prototyped and working.

12345
169